Jump to content


Photo

Script priorities and Excluding Dates


  • Please log in to reply
4 replies to this topic

#1 Phaze2

Phaze2

    Occasional Forum Poster

  • Members
  • 2 posts

Posted 17 December 2002 - 02:16 PM

Hi,



I have set up our OS X Server with Retrospect Workgroup Backup and created the following backup schedule, based on the 5 Day Rotation script tutorial on the Dantz site.



5 Day Rotation script doing a Normal backup to Backup Sets; Mon,Tues,Weds,Thur, & Fri on relevant day of the week.

5 Day Recycle script doing a Recycle backup to Backup Sets; Mon, Tues, Weds, Thur & Fri every 4 weeks (staggered by a week) on the relevant day of the week.

12 Month Rotation script doing a Recycle backup to Jan, Feb, mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec on the last friday of each month.



Currently the 5 Day Rotation and Recycle scripts are set to start at the same time. My question is which one of the has a greater priority? I know that if I were to use a New Media backup instead of a Recycle backup only one of the scripts would run but currently both scripts are running, one after the other, which is not what was intended. Is there a way to prioritise them so that only one of the scripts will run?



The next question I have relates to the above problem, in that it could be be answer to the problem. The Monthly backups occur on the same day as the Friday backups. I cannot find any option to exclude specific dates from the Retrospect schedule, other than manually deleting them from the preview window. This means that the Friday Normal/Recycle backup runs before the Monthly and because it takes 8 hours to run, there is no one in the office to change the tapes over for the Monthly backup.



Is there a specific way to configure the 5 Day Rotation script, in particular Friday, to execute on the set days of the week EXCEPT for the last Friday of the month?



Thanks for any help to solve these problems.



Nick
  • eapedDus likes this

#2 AmyJ

AmyJ

    Austin Powers of Backup

  • Members
  • 5,351 posts

Posted 18 December 2002 - 10:58 PM

If you have two scripts performing different actions, using the same backup set at the same time, Retrospect will prioritize in the following order (from highest to lowest):



New Media

Recycle

Normal



For example, if your schedule is listed as:

Normal backup to Set A at 10pm on Monday

Recycle backup to Set A at 10pm on Monday



Only the Recycle Backup will run. If the above example used Recycle and New Media, only the New Media would run. The key is having the same sets at the same time in the schedule.



Currently, it is not possible to exclude certain days in advance - as you've seen. One workaround would be to set Retrospect to "time out" if the correct tape is not in the drive. If Retrospect does not find the correct tape in the drive, the scheduled script will time out and move on to the next script. This is helpful for days when you have a conflict - such as the Monthly schedule. Leave the monthly tape in the drive. When the script does not find the correct tape for the daily backup, it will move on to the next schedule - the monthly backup. Or, if the monthly backup is first, the subsequent daily backup will fail with a media time out. Scripts scheduled at the same time will run in alphabetical order - if you hav ea seperate script for the monthly backup, you should name it so that it comes before the daily backup alphabetically.



Media time out is set in the application preferences for Media Request.



#3 Phaze2

Phaze2

    Occasional Forum Poster

  • Members
  • 2 posts

Posted 19 December 2002 - 09:32 AM

Many thanks for this information. I will set the media timeout to enable the Monthly backups to run once the Daily backups have completed/timed out.





#4 thetrial.de

thetrial.de

    frequent Poster

  • Members
  • 73 posts

Posted 15 May 2017 - 07:05 AM

Years old thread, but I’d like to resume … RS 14.0.0 Mac used here. I usually backup with proactive scripts in a rolling order, A, B and C. There are different Scripts that have to be done in the morning. One of these scripts simply copies the catalogues. I’d like to be able to tell this script to be the last one in chain. Like »wait until all other scripts are done, then go«. Is this possible? To make a run script depending on done script(s) before?



#5 David Hertzberg

David Hertzberg

    Occasional Forum Poster

  • Members
  • 410 posts
  • LocationNew York, NY

Posted 21 May 2017 - 06:53 PM

Ways of accomplishing this discussed in this thread in "Product Suggestions—Mac OS X",  which was also started a few days after the immediately-preceding post by thetrial.de.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users