alternating backup
I have devised a very simple scheme where i make a backup on partition 1 on my external disk, the next day a make the backup on partition 2 on the external disk, the next on partition 1 again, then partition 2, etc.
[sort of a "very poor man's incremental backup" ;-) ] What i would like SD to do for me is just to remember the last time a made a backup on each partition. Any ideas? Cheers, Gab. |
Remember how, Gab?
|
Sorry, no ....
|
I'm really not sure what you mean.
|
@snoopy67: to semi-automatically backup to alternating volumes, you could e.g.
1. save the SD! settings for each backup volume separately, 2. create a script to start a SD! backup with (and to keep track of) alternating settings, and 3. use this script to start your regular backups to alternating volumes. AppleScript is particularly handy for step 2 -- let me know if you'd like an example based on Dave's "Daily Backup" AppleScript application. @Dave: hope you don't mind me intruding here ;-) |
Ah -- I now see what was confusing here. I meant "How do you mean "remember"", and I think you took it as "Do you remember how"!
So -- hopefully darelon's response is helpful, but if not, could you explain a bit more about how you mean "remember"? Thanks, and sorry for any confusion. |
Quote:
Thanks a lot in advance, Gabriel. |
Gabriel,
I used the script below when I still had an abundance of disk space; now I'm down to just one backup and a sandbox. As said before, it's Dave's "Daily Backup" script with some extra lines to use a sequence of backup settings. It 'remembers' the last backup settings used and will cycle through a list of settings you specify in the script. First and foremost, you'll need to set up SD! with the correct settings for each volume you want to backup to, and save those settings in separate files (see section 6 of the User's Guide for more info on saved settings). Also, you'll need to unlock SD! to be able to run it via AppleScript. Second, open the Scripteditor application (usually resides in the /Applications/AppleScript folder) and copy+paste the code below into the empty script window. You'll need to change the values in the "property allBackupSettings : …" line at the top of the script to reflect the names and required order of your saved backup settings. Then save the script as an application bundle without startup dialog wherever you want. Finally, when you want to execute one of your regular alternating backups, run the Applescript application you just created instead of SD! directly. You can do this manually, or schedule it with e.g. iCal. The script app will determine the next backup settings to be used and start SD! with those settings, and quit SD! when it's done. Code:
(* Rotating Backup - use a cyclic sequence of SuperDuper! backup settings *) Well, that should be it. Let me know if you have any questions or it doesn't quite fit the bill. Of course, all the usual disclaimers apply… ;) Hope this helps, Ciao, Roeland. |
(Thanks for passing this along, Roeland!)
|
Quote:
Since i'm completely new to applescript, i've got one question out of curiosity, which i couldn't get an answer by quickly browsing the Applescript Language Guide: are variables in apple scripts persistent? i.e., when a script exits, are all values of variables saved, and then restored when the script runs the next time? Best regards, Gabriel. |
Properties like this are, Gab.
|
Another approach
[QUOTE=darelon;3169]@snoopy67: to semi-automatically backup to alternating volumes, you could e.g.
How about simply using the scheduler built-in to SuperDuper? That is, schedule one backup for every MWFSun, and the other for TTSat. You would be using the same backup on Sun and Mon but otherwise alternating. Not perfect, but close and very simple to implement.http://www.shirt-pocket.com/forums/i...es/redface.gif |
All times are GMT -4. The time now is 02:02 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.