Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 03-04-2011, 12:30 AM
mmurray mmurray is offline
Registered User
 
Join Date: Jun 2006
Posts: 25
I run the following shell script at the end of a clone:


#! /bin/tcsh -f
#

set target="$4"
set dsfile="$target/DateStamp.txt"
echo "Latest clone was done on `date`" > "${dsfile}"
echo "Latest clone was done on $target on `date`" >> "/Users/xxxxxxx/Documents/CloneLog.txt"

I clone regularly to two different hard disks. One at home and one at work. The idea of this script is that it rights a file at the top level of the clone with the date it was cloned and it keeps a list on my startup disk of all the clones done. The list on my startup disk is saved with DropBox and, of course, on the clones.

So, in theory, if I can't start up I boot from a clone. Go on the web and look at CloneLog.txt on www.dropbox.com and then I know if I have to restore from the work clone or the home clone and how old they are. In principle DropBox or TimeMachine will make up the stuff since the clone.

Luckily I haven't had to test this setup. Just leaning down to touch the wooden floor ...

Michael

PS: My knowledge of shell scripts is definitely in the "a little knowledge is a dangerous thing" range so use at your own risk.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup Disc and Hard Drive Partitioning Questions Paint Guy General 15 10-27-2010 02:25 PM
Feature Request: Last Backup Date bobm General 2 04-24-2008 02:31 AM
Server drive won't mount after backup rhennosy General 1 11-09-2007 03:49 PM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 06:50 PM
(Zero-length) File caused SuperDuper to abort backup alancfrancis General 7 08-31-2005 10:42 AM


All times are GMT -4. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.