• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shutdown backup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shutdown backup


  • Subject: Re: Shutdown backup
  • From: Al Byrne <email@hidden>
  • Date: Wed, 27 Dec 2000 15:17:22 +1100

With thanks to email@hidden, this is how I've now set up my iBook to do
the backup on shutdown thing. I have saved the Compiled Applescript into
'Macintosh HD:System Folder:Scripts:Finder Scripts', and fire it with a
keyboard shortcut using Leonard Rosenthal's OSA Menu (www.lazerware.com)

1. Set Retrospect's preferences to Quit on completion of backup (Special
tab: Preferences: Unattended: Quit)

2. Create and test an appropriate Retrospect Script that does what you need

3. Then, create an Applescript along the following lines:

display dialog "Shut down or restart?" buttons {"Shut Down", "Restart"}
default button 1
if the button returned of the result is "Shut Down" then
with timeout of (90 * 60) seconds
-- Give Retrospect PLENTY of time to do it's stuff
tell application "Retrospect"
back up ,
"Local Desktop:Macintosh HD:" to ,
"Dummy Backup File" using ,
"Dummy Backup" type Normal

-- These steps tell Retrospect to:
-- a.) identify the source volume to be backed up
-- b.) identify the destination
-- c.) identify the Retro Script to use, and
-- d.) identify the type of backup to carry out

end tell

wait application "Pery"

-- Waits for application with creator code of 'Pery' (Retro) to quit
-- Requires the 'Wait Application' OSAX.
-- Should be available at www.scriptweb.com

tell application "Finder"
shut down
end tell
end timeout
else
tell application "Finder"
restart
end tell
end if


References: 
 >Shutdown backup (From: Bernard Azancot <email@hidden>)

  • Prev by Date: Re: running script get name of itself?
  • Next by Date: Re: applescript-users digest, Vol 2 #165 - 4 msgs
  • Previous by thread: Re: Shutdown backup
  • Next by thread: Re: Shutdown backup
  • Index(es):
    • Date
    • Thread