-
- Enthusiast
- Posts: 43
- Liked: 3 times
- Joined: Jan 17, 2016 6:18 pm
- Full Name: Ryan Strecker
- Contact:
Tape job stopped by backup job
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.
-
- 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
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.
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.
-
- 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
Thanks, I don't see that as an option...do you mean using pre and post scripts for the tape job?
-
- 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
You are right, I meant the scripts.
-
- 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
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.
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.
-
- 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
Ryan,
Try to trigger pre and post job commands as batch files containing the PS scripts.
Try to trigger pre and post job commands as batch files containing the PS scripts.
-
- Product Manager
- Posts: 20406
- Liked: 2299 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Tape job stopped by backup job
I'm wondering how you pre-job command looks like. Is it similar to the following?
Thanks.
Code: Select all
Powershell.exe -File C:\YourScript.ps1
Who is online
Users browsing this forum: saschak and 17 guests