Host-based backup of VMware vSphere VMs.
Post Reply
jp1
Enthusiast
Posts: 31
Liked: 2 times
Joined: Jun 14, 2013 7:40 pm
Full Name: Jonathan Palsi
Contact:

Run backup job twice a day

Post by jp1 »

How do I go about scheduling a backup job for say, 7AM and 5PM everyday?
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Run backup job twice a day

Post by veremin » 1 person likes this post

You can set hourly schedule for it, but prohibit its execution during all hours, but 7AM and 5PM (backup window). Otherwise, you might run the job via PowerShell script (set as a task in Windows Task Scheduler). Thanks!
nitramd
Veteran
Posts: 298
Liked: 85 times
Joined: Feb 16, 2017 8:05 pm
Contact:

Re: Run backup job twice a day

Post by nitramd »

Or you can run your job at 7am and 7pm, if applicable.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Run backup job twice a day

Post by veremin »

Even in this case you will need to configure a backup window, since job execution time is calculated from the midnight.

With 12-hour periodic schedule a job will be executed at 12-00 and 24-00, not at 7 am and 7 pm.

Thanks!
jp1
Enthusiast
Posts: 31
Liked: 2 times
Joined: Jun 14, 2013 7:40 pm
Full Name: Jonathan Palsi
Contact:

Re: Run backup job twice a day

Post by jp1 » 1 person likes this post

veremin wrote: Dec 16, 2019 3:17 pm You can set hourly schedule for it, but prohibit its execution during all hours, but 7AM and 5PM (backup window). Otherwise, you might run the job via PowerShell script (set as a task in Windows Task Scheduler). Thanks!
I was able to get the job to run at 7AM and 9PM by setting the job to run once an hour, but prohibit its execution for all hours EXCEPT 7-8AM and 9-10PM. Works exactly how I want it to.
Thanks!
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Run backup job twice a day

Post by veremin »

Glad to hear that, thanks for confirming that the proposed approach works for you.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 39 guests