-
- Novice
- Posts: 6
- Liked: never
- Joined: Jul 14, 2023 12:00 pm
- Contact:
Need script to Start the Specific Backup Job
Hi,
I am looking for the PS script which can start the Backup job.
As Veeam scheduler only allow to run an incremental backup Once a day, and my requirement is to run the same Job "FILES to TAPE" for incremental backup twice a day. So if I can start the job from the command prompt without connecting the console it will help a lot.
I search the forum and found the below code but it is not working. If anybody have tested script please share.
$job = Get-VBOJob -Name "HANA-PRD to TAPE"
Start-VBOJob -Job $job
Above code not working in my Windows Powershell enviroment.
I am looking for the PS script which can start the Backup job.
As Veeam scheduler only allow to run an incremental backup Once a day, and my requirement is to run the same Job "FILES to TAPE" for incremental backup twice a day. So if I can start the job from the command prompt without connecting the console it will help a lot.
I search the forum and found the below code but it is not working. If anybody have tested script please share.
$job = Get-VBOJob -Name "HANA-PRD to TAPE"
Start-VBOJob -Job $job
Above code not working in my Windows Powershell enviroment.
-
- Veeam Software
- Posts: 2011
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Need script to Start the Specific Backup Job
Hi,
Is it about VBR or VBO product? As per your description, I'm assuming you're talking about VBR, but cmdlets have VBO prefixes, so need to clarify.
Best regards,
Oleg
Is it about VBR or VBO product? As per your description, I'm assuming you're talking about VBR, but cmdlets have VBO prefixes, so need to clarify.
Best regards,
Oleg
-
- Novice
- Posts: 6
- Liked: never
- Joined: Jul 14, 2023 12:00 pm
- Contact:
Re: Need script to Start the Specific Backup Job
Hi Oleg,
Its related to VBR. version 12
Its related to VBR. version 12
-
- Veeam Software
- Posts: 2011
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Need script to Start the Specific Backup Job
Then it should be the cmdlets with VBR prefix:
Code: Select all
$job = Get-VBRJob -Name "HANA-PRD to TAPE"
Start-VBRJob -Job $job
-
- Novice
- Posts: 6
- Liked: never
- Joined: Jul 14, 2023 12:00 pm
- Contact:
Re: Need script to Start the Specific Backup Job
Dear Oleg,
Thanks for helping. It works.
Thanks for helping. It works.
Who is online
Users browsing this forum: No registered users and 6 guests