Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
rosmith42
Enthusiast
Posts: 25
Liked: never
Joined: Dec 19, 2014 9:33 pm
Full Name: RobS
Contact:

Schedule tape job to run every 3 weeks on Sun

Post by rosmith42 »

We want to schedule a "File to tape" job to run every 3 weeks but it seems the options are only the following
Everyday
On Weekdays
On these days

Are there any other options?
Any help would be appreciated.
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Schedule tape job to run every 3 weeks on Sun

Post by Dima P. »

Hello rosmith42,

Unfortunately is no possible: you can schedule tape outs once a week and that would give you 4 weeks per month. There might be a possible workaround via PowerShell by starting tape job via script on the demanded days. Thank you!
rosmith42
Enthusiast
Posts: 25
Liked: never
Joined: Dec 19, 2014 9:33 pm
Full Name: RobS
Contact:

Re: Schedule tape job to run every 3 weeks on Sun

Post by rosmith42 »

Would anyone have a sample PowerShell script we could use to create a tape job to run every 3 weeks?
soncscy
Veteran
Posts: 643
Liked: 312 times
Joined: Aug 04, 2019 2:57 pm
Full Name: Harvey
Contact:

Re: Schedule tape job to run every 3 weeks on Sun

Post by soncscy » 1 person likes this post

Hi RobS,

Just use Task Scheduler to handle the schedule:

Image

Your script should look like:

Code: Select all

$job = Get-VBRTapeJob -name 'name of your job here'
Start-VBRJob -Job $job
If you want to make it do a full, then add the -FullBackup flag to the 2nd line
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests