PowerShell script exchange
Post Reply
Posts: 60
Liked: never
Joined: Sep 25, 2010 2:09 pm
Full Name: Doug Dockter

Start Veeam backup jobs via Powershell from Backup Exec

Post by ddockter »

I'm currently evaluating Veeam Backup (using vRanger now). My off-site retention policy is to keep M-F backups for 4 weeks and month-end backups (1st Friday of each month) for 12 months. To accomplish this I have two Backup Exec jobs (one that runs M-F and the other at month-end). Two jobs are required because of the different retention periods. Each of these jobs starts the same vRanger backup via Powershell in a pre-command step. Upon completion of the vRanger job, the backup copies the savepoints to tape. Backup Exec and vRanger are on different servers. I noticed that Veeam backup has the capability to run commands after the backup has completed. Initially I thought this would be much better. With the help of this forum, I have been able to start Backup Exec jobs using this function. This however doesn't meet my requirements of different retention periods as I'd always be running the same Veeam post activity job (starting the same Backup Exec job).

All that being said, what do I need to do to start a Veeam backup job from my Backup Exec server via Powershell? Or maybe someone has addressed the same issue in a more elegant manner?

SVP, Product Management
Posts: 29891
Liked: 5840 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: Start Veeam backup jobs via Powershell from Backup Exec

Post by Gostev »

To start a Veeam backup job, you can use the Start-VBRJob PowerShell cmdlet, or command line from the Summary page of the job's wizard.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests