Solved

Calling Veeam Backup Jobs Remotely


Userlevel 1

We are in the middle of migrating from Rubrik to Veeam. We have some Rubrik backup jobs that are called by our scheduling software, Tidal. The process is as follows:

  • Tidal calls the pre processing backup job for our loan accounting system
  • Tidal is informed of the successful backup, then it moves on to other jobs.
  • These other jobs include all nightly cycle type items for any financial institutions like, sync’ing up general ledger with loan accounting, then with financial reporting systems, etc..  Basically this aligns all core financial systems for a “start of day” state and is a critical restore point for us.
  • Finally, Tidal calls the post processing backups to create that restore point.  Tidal is made aware of that successful backup and our nightly cycle processes are marked as completed successfully.

We’ve been working with our Veeam account rep but we haven’t yet found a way to replicate this process with Veeam. I thought this forum would be a good place to ask for advice and see if anyone has worked through similar problems. I appreciate any help.

icon

Best answer by JonahMay 3 April 2024, 18:33

View original

6 comments

Userlevel 7
Badge +17

Hi @stephmmcgee -

Did you reach out to Veeam Support for assistance? I’m not sure if Veeam can work with a 3rd party scheduling tool, but worth a try. At the very least, you can ping the Product Management Team on the Veeam Forum to see what they say.

Userlevel 6
Badge +10

Veeam can probably natively do a lot of what you’re asking for with job chaining and scheduling. Any custom scripting you want performed at the beginning or end of a job can be ran using pre-freeze and post-thaw scripts.

https://helpcenter.veeam.com/docs/backup/vsphere/backup_job_advanced_scripts_vm.html?ver=120

 

 

If you want Tidal to keep managing all of this, you should be able to use the VBR PowerShell cmdlets or REST API. 

 

For example, to start a job:

https://helpcenter.veeam.com/docs/backup/powershell/start-vbrjob.html?ver=120

 

To get job statuses:

https://helpcenter.veeam.com/docs/backup/powershell/get-vbrjob.html?ver=120

 

 

Finally, I recommend asking questions like this over in the Automation Desk user group here on the hub. I am a leader over there and we have plenty of people experienced with building automations using Veeam’s cmdlets and APIs, including several people who work in Veeam’s Product Strategy and Product Management teams. 
 

 

Userlevel 4
Badge +2

Steph, I don’t think you said what O/S your scheduler is running, but starting a Veeam job from Powershell is pretty easy.

Get-VBRJob -Name "MY_BACKUP_JOB" | Start-VBRJob

You just need to install the Veeam Console on the scheduler server to get access to the Veeam cmdlets.

Rob.

Userlevel 3
Badge

You just need to install the Veeam Console on the scheduler server to get access to the Veeam cmdlets.

Rob.

One option is to run remote powershell commands targeted to backup server, if installing console to external scheduling server is not an option. Security might be concern here..

Userlevel 6
Badge +10

Veeam can probably natively do a lot of what you’re asking for with job chaining and scheduling. Any custom scripting you want performed at the beginning or end of a job can be ran using pre-freeze and post-thaw scripts.

https://helpcenter.veeam.com/docs/backup/vsphere/backup_job_advanced_scripts_vm.html?ver=120

 

 

If you want Tidal to keep managing all of this, you should be able to use the VBR PowerShell cmdlets or REST API. 

 

For example, to start a job:

https://helpcenter.veeam.com/docs/backup/powershell/start-vbrjob.html?ver=120

 

To get job statuses:

https://helpcenter.veeam.com/docs/backup/powershell/get-vbrjob.html?ver=120

 

 

Finally, I recommend asking questions like this over in the Automation Desk user group here on the hub. I am a leader over there and we have plenty of people experienced with building automations using Veeam’s cmdlets and APIs, including several people who work in Veeam’s Product Strategy and Product Management teams. 
 

 

Similar methods also exist in the REST API, if you cannot install the VBR console on the Tidal server (maybe it is Linux) and you do not want remote PowerShell enabled on the VBR for security reasons.

 

https://www.veeam.com/veeam_backup_12_1_rest_api_reference_map_ot.pdf

Userlevel 1

Thanks for all the help everyone. I’m going to test using PowerShell.

Comment