Jump to content

One script interrupts another


Recommended Posts

I am running Retrospect 9.0.1 and I backup a SAN to a Tandberg 448 tape library.  We have multiple scripts that are scheduled and they may take a different amount of time to run depending on whether or not the media is recycled.  If I have a script that runs to recycle a media set and it is backing up multiple hard drives in a JBOD, the script can get interrupted when one of the drives has been backed up and another script is launched according to a schedule.

 

For example, I have 15 drives in a JBOD that get backed up daily as an incremental backup which may only take an hour.  On Friday night however, the media set is recycled and the backup may take more than 12 hours to complete.  There are other scripts to incrementally backup a couple of RAID arrays that also run nightly.  If the JBOD backup task is running and it finishes backing up a drive, but has not completed the entire 15 drive set, the task will pause if one of the RAID backup tasks starts according to its schedule.

 

How can I force the original JBOD task to finish before the scheduled RAID task is allowed to interrupt the JBOD task?  If the JBOD task is allowed to interrupt, the tape that was being used has to unload, and the library has to load the tape for the RAID task, run that task, and then swap tapes again and resume the JBOD task.

 

Is there some sort of setting or preference that wouldn't allow a script to be interrupted by a new scheduled task???

Link to comment
Share on other sites

That sounds very odd. A script should not be interrupted like that.

 

Try set them to the same activity thread. That will keep the second script postponed until the first is finished.

post-8868-0-42632100-1441983758_thumb.png

 

TIP:

Don't recycle the media sets. If something happens to the original between the time of the recycle and the first backup of the source (some hours later), you don't have a backup of that source.

Or do you have multiple media sets?

 

Link to comment
Share on other sites

I agree about being careful about recycling the media sets.  We run four copies, so when we do the recycle, the data is actually three weeks old and there are three other newer copies.  The newest one is stored in a bank vault for safe keeping.

 

I will look at the activity thread setting when I get a chance.

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...