-
- Service Provider
- Posts: 26
- Liked: 7 times
- Joined: May 25, 2022 12:37 am
- Full Name: Lee Mackie
- Contact:
[Powershell] On-demand backup scheduling
Can anyone advise if there is a way to create and/or set backup jobs to not have the Run Automatically scheduling enabled?
I have tested creating jobs with the -SchedulePolicy setting, and have also tested setting a schedule without the -EnabledSchedule switch and both result in the Run Automatically checkbox set in the backup job and the Daily - 9:00AM schedule being configured.
I have tested creating jobs with the -SchedulePolicy setting, and have also tested setting a schedule without the -EnabledSchedule switch and both result in the Run Automatically checkbox set in the backup job and the Daily - 9:00AM schedule being configured.
-
- Product Manager
- Posts: 10276
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: [Powershell] On-demand backup scheduling
Hi Lee
I checked in in my lab. Looks like the -EnabledSchedule is missing an option to provide a $False parameter.
And if not provided, it's still sets the Scheduled to enabled. This behavior is different as documented in the user guide.
Let me discuss it with the team.
Best,
Fabian
I checked in in my lab. Looks like the -EnabledSchedule is missing an option to provide a $False parameter.
And if not provided, it's still sets the Scheduled to enabled. This behavior is different as documented in the user guide.
Let me discuss it with the team.
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Service Provider
- Posts: 26
- Liked: 7 times
- Joined: May 25, 2022 12:37 am
- Full Name: Lee Mackie
- Contact:
Re: [Powershell] On-demand backup scheduling
Thanks Fabian, I honestly thought I was going crazy that it wasn't working as designed 
I'll await your further response.
I'll await your further response.
-
- Product Manager
- Posts: 10276
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: [Powershell] On-demand backup scheduling
You‘re welcome.
While I wait for confirmation from our QA team, you could try to disable the scheduler over our RestAPI.
Those endpoints can be called by powershell commands:
Create a Job:
https://helpcenter.veeam.com/docs/vbm36 ... on/Job_Add
Update a Job:
https://helpcenter.veeam.com/docs/vbm36 ... Job_Update
Best,
Fabian
While I wait for confirmation from our QA team, you could try to disable the scheduler over our RestAPI.
Those endpoints can be called by powershell commands:
Create a Job:
https://helpcenter.veeam.com/docs/vbm36 ... on/Job_Add
Update a Job:
https://helpcenter.veeam.com/docs/vbm36 ... Job_Update
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Product Manager
- Posts: 10276
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: [Powershell] On-demand backup scheduling
Hi Lee
Please try:
We will update the user guide to make it more clear.
Best,
Fabian
Please try:
Code: Select all
New-VBOJobSchedulePolicy -EnableSchedule:$false
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Service Provider
- Posts: 26
- Liked: 7 times
- Joined: May 25, 2022 12:37 am
- Full Name: Lee Mackie
- Contact:
Re: [Powershell] On-demand backup scheduling
Thanks Fabian - confirmed this works correctly.
Who is online
Users browsing this forum: No registered users and 10 guests