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?
-
- Influencer
- Posts: 15
- Liked: never
- Joined: May 28, 2012 10:44 am
- Full Name: Christian van Haut
- Contact:
-
- Chief Product Officer
- Posts: 31809
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Show active backup tasks in PowerShell
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!
-
- Influencer
- Posts: 15
- Liked: never
- Joined: May 28, 2012 10:44 am
- Full Name: Christian van Haut
- Contact:
Re: Show active backup tasks in PowerShell
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?
-
- VP, Product Management
- Posts: 27378
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Show active backup tasks in PowerShell
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!
For more details on how it works, please take a look at our User Guide (page 19). Thanks!
-
- Influencer
- Posts: 15
- Liked: never
- Joined: May 28, 2012 10:44 am
- Full Name: Christian van Haut
- Contact:
Re: Show active backup tasks in PowerShell
Thanks Vitaliy, I'll do it this way then!
Who is online
Users browsing this forum: No registered users and 14 guests