Show active backup tasks in PowerShell

PowerShell script exchange

Show active backup tasks in PowerShell

Veeam Logoby ChrisVH1982 » Mon May 28, 2012 10:53 am

Hey folks,

I have been using PowerShell to run backup jobs. The script first queries for a list of backup jobs and executes them one by one. But this is not efficient anymore since we have a large mount of servers and data. I'd like to run 3 backups in paralell using a Powershell script. Is there a command in Powershell to get a list or number of backups tasks running?
ChrisVH1982
Influencer
 
Posts: 14
Liked: never
Joined: Mon May 28, 2012 10:44 am
Full Name: Christian van Haut

Re: Show active backup tasks in PowerShell

Veeam Logoby Gostev » Mon May 28, 2012 3:16 pm

Hi Christian, so why do you need a PowerShell script when B&R v6 is designed to do this natively (that is, ensure the desired concurrency of 3 backup jobs is maintained at all times)? Thanks!
Gostev
Veeam Software
 
Posts: 21396
Liked: 2350 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: Show active backup tasks in PowerShell

Veeam Logoby ChrisVH1982 » Tue May 29, 2012 6:55 am

Thanks for the quick reply! Well bevore v6 a colleague of mine created a very simple script to run the backups using PowerShell. I don't want to configure a schedule for each backup job. Instead, I want Veeam to start backing up all my servers at 20:00 o'clock. Is that feasible with Veeam without console commands?
ChrisVH1982
Influencer
 
Posts: 14
Liked: never
Joined: Mon May 28, 2012 10:44 am
Full Name: Christian van Haut

Re: Show active backup tasks in PowerShell

Veeam Logoby Vitaliy S. » Tue May 29, 2012 9:13 am

Yes, you can configure all your jobs to start daily at 20:00 and set the maximum number of concurrent jobs to 3 (should be done in backup proxy settings). While the first 3 jobs will be executing, others will be put into a queue and will wait for the available slot on the proxy server. This will allow you execute all your jobs one by one and ensure that you do not have more than 3 jobs running at the same time.

For more details on how it works, please take a look at our User Guide (page 19). Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19570
Liked: 1104 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Show active backup tasks in PowerShell

Veeam Logoby ChrisVH1982 » Fri Jun 08, 2012 9:39 am

Thanks Vitaliy, I'll do it this way then!
ChrisVH1982
Influencer
 
Posts: 14
Liked: never
Joined: Mon May 28, 2012 10:44 am
Full Name: Christian van Haut


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 9 guests