-
- Expert
- Posts: 128
- Liked: 40 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Feature Request - More Scheduling Options
It may be that there is a way to achieve what I want but I haven't found it!
We run backup jobs once a day and tape backups of those jobs once a week. I want the tape job to start after the last backup job on a Saturday but if I set the job to run 'After this job' then it runs every day. What I would like is the option to run 'After this job' with a further option of 'On these days' as you have with some scheduling options.
Am I missing something? Is there already a way to achieve this?
Also, is there any reason you can't schedule a surebackup job as an 'After this job'?
We run backup jobs once a day and tape backups of those jobs once a week. I want the tape job to start after the last backup job on a Saturday but if I set the job to run 'After this job' then it runs every day. What I would like is the option to run 'After this job' with a further option of 'On these days' as you have with some scheduling options.
Am I missing something? Is there already a way to achieve this?
Also, is there any reason you can't schedule a surebackup job as an 'After this job'?
-
- Product Manager
- Posts: 2578
- Liked: 707 times
- Joined: Jun 14, 2013 9:30 am
- Full Name: Egor Yakovlev
- Location: Prague, Czech Republic
- Contact:
Re: Feature Request - More Scheduling Options
You can always disable tape job and add a post-job powershell script to the main backup job(under Storage-Advanced-Scripts) that will check if it is Saturday today and run tape backup if it is so.
$TapeJob = Get-VBRTapeJob -name "Name of your Tape Job"
Start-VBRJob –Job $TapeJob
As for the SureBackup, it can be linked to the backup jobs to run automatically. "After This Job" is there on SureBackup scheduling page.
/Thanks!
$TapeJob = Get-VBRTapeJob -name "Name of your Tape Job"
Start-VBRJob –Job $TapeJob
As for the SureBackup, it can be linked to the backup jobs to run automatically. "After This Job" is there on SureBackup scheduling page.
/Thanks!
-
- Expert
- Posts: 128
- Liked: 40 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Re: Feature Request - More Scheduling Options
I hadn't considered the powershell option as its not something I usually use. Should certainly work and is better than the other options I have considered.
If you run a job via powershell do the linked jobs that follow still run?
If you run a job via powershell do the linked jobs that follow still run?
You've misunderstood my question, I'm not trying to run a SureBackup job after another job. I'm trying to schedule a job to run after a Surebackup job but Surebackup jobs don't appear as selectable options in the 'After this job' drop down. I can't even use powershell as there is no option to run a post-job powershell script.As for the SureBackup, it can be linked to the backup jobs to run automatically. "After This Job" is there on SureBackup scheduling page.
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Feature Request - More Scheduling Options
Speaking about PowerShell, you will only need to run two commands in required order:
* Start-VBRJob (cmdlet that starts backup job)
* Start-VSBJob (cmdlet that starts backup job)
Then, you can schedule this simple script in via Windows Scheduler to run at whatever schedule you'd like to.
Thanks!
* Start-VBRJob (cmdlet that starts backup job)
* Start-VSBJob (cmdlet that starts backup job)
Then, you can schedule this simple script in via Windows Scheduler to run at whatever schedule you'd like to.
Thanks!
-
- Expert
- Posts: 128
- Liked: 40 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Re: Feature Request - More Scheduling Options
Thanks Egor and Veremin.
Well you reluctantly pushed me down the powershell route. It's very simple if you know what you are doing but as I don't it took much longer than it should have done but it does exactly what I want now and I'm in a better position if I want to explore other powershell solutions.
The GUI doesn't really let you chain daily jobs with weekly jobs (hence my feature request) so I used Egor's suggestion and used the facility to run a script 'After the job', set my powershell script to run after the final daily job and selected for it only to run on Saturday.
Doesn't explain why you can't choose a surebackup back when selecting "After this job" but that's a different issue.
Well you reluctantly pushed me down the powershell route. It's very simple if you know what you are doing but as I don't it took much longer than it should have done but it does exactly what I want now and I'm in a better position if I want to explore other powershell solutions.
The GUI doesn't really let you chain daily jobs with weekly jobs (hence my feature request) so I used Egor's suggestion and used the facility to run a script 'After the job', set my powershell script to run after the final daily job and selected for it only to run on Saturday.
Doesn't explain why you can't choose a surebackup back when selecting "After this job" but that's a different issue.
-
- Veeam Software
- Posts: 21138
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Feature Request - More Scheduling Options
There's a dedicated thread regarding that request. Thanks!Doesn't explain why you can't choose a surebackup back when selecting "After this job" but that's a different issue.
-
- Expert
- Posts: 128
- Liked: 40 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Re: Feature Request - More Scheduling Options
Thanks for the heads up foggy. It wasn't the primary subject of my post so I hadn't searched for related posts.
Who is online
Users browsing this forum: Semrush [Bot] and 100 guests