Tape job stopped by backup job

Everything about backing up to tape

Tape job stopped by backup job

Veeam Logoby Strecker25 » Sat Mar 12, 2016 2:58 pm

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.
Strecker25
Enthusiast
 
Posts: 41
Liked: 3 times
Joined: Sun Jan 17, 2016 6:18 pm
Full Name: Ryan Strecker

Re: Tape job stopped by backup job

Veeam Logoby Shestakov » Sat Mar 12, 2016 10:42 pm

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.
Shestakov
Veeam Software
 
Posts: 4856
Liked: 395 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape job stopped by backup job

Veeam Logoby Strecker25 » Mon Mar 14, 2016 2:40 pm

Thanks, I don't see that as an option...do you mean using pre and post scripts for the tape job?
Strecker25
Enthusiast
 
Posts: 41
Liked: 3 times
Joined: Sun Jan 17, 2016 6:18 pm
Full Name: Ryan Strecker

Re: Tape job stopped by backup job

Veeam Logoby Shestakov » Mon Mar 14, 2016 2:57 pm

You are right, I meant the scripts.
Shestakov
Veeam Software
 
Posts: 4856
Liked: 395 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape job stopped by backup job

Veeam Logoby Strecker25 » Fri Mar 18, 2016 1:31 am

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.
Strecker25
Enthusiast
 
Posts: 41
Liked: 3 times
Joined: Sun Jan 17, 2016 6:18 pm
Full Name: Ryan Strecker

Re: Tape job stopped by backup job

Veeam Logoby Shestakov » Fri Mar 18, 2016 11:05 am

Ryan,
Try to trigger pre and post job commands as batch files containing the PS scripts.
Shestakov
Veeam Software
 
Posts: 4856
Liked: 395 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape job stopped by backup job

Veeam Logoby v.Eremin » Mon Mar 21, 2016 12:10 pm

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.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Tape



Who is online

Users browsing this forum: No registered users and 4 guests