Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
Strecker25
Enthusiast
Posts: 43
Liked: 3 times
Joined: Jan 17, 2016 6:18 pm
Full Name: Ryan Strecker
Contact:

Tape job stopped by backup job

Post by Strecker25 »

This is probably more of a feature request, but I need a way to make it so backup jobs do not have the ability to stop tape jobs. We have 10+ TB backups that run to tape once a month but they run more than 24 hours. When this happens our daily incrementals cancel the tape job and I have to disable the block job and restart the tape job.
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Tape job stopped by backup job

Post by Shestakov »

Hello Ryan,
You may leverage pre- and post-job activity for the tape jobs. For instance as pre-job activity you set to disable mentioned backup jobs and as post-job activity to enable them back.
Strecker25
Enthusiast
Posts: 43
Liked: 3 times
Joined: Jan 17, 2016 6:18 pm
Full Name: Ryan Strecker
Contact:

Re: Tape job stopped by backup job

Post by Strecker25 »

Thanks, I don't see that as an option...do you mean using pre and post scripts for the tape job?
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Tape job stopped by backup job

Post by Shestakov »

You are right, I meant the scripts.
Strecker25
Enthusiast
Posts: 43
Liked: 3 times
Joined: Jan 17, 2016 6:18 pm
Full Name: Ryan Strecker
Contact:

Re: Tape job stopped by backup job

Post by Strecker25 »

I tried to run a pre and post script with the following command saved as a .ps1 file:

Get-VBRjob -name "City File Servers" | Disable-VBRJob

and when i run the tape job the script does not run, we get the following error:

3/17/2016 9:27:09 PM :: Error running pre-job script: The specified executable is not a valid application for this OS platform.
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Tape job stopped by backup job

Post by Shestakov »

Ryan,
Try to trigger pre and post job commands as batch files containing the PS scripts.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Tape job stopped by backup job

Post by veremin »

I'm wondering how you pre-job command looks like. Is it similar to the following?

Code: Select all

Powershell.exe -File C:\YourScript.ps1
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests