Wrote this today to back up my Entourage data daily. It backs up the data
folder once a day, and keeps yesterday's backup just in case. Copy to
Script Editor, save as application in your Startup Items folder.
Best,
Jeff Porten
tell application "Finder"
activate
--If backup data exists
if folder "Documents:Microsoft User Data backup" of startup disk exists
then
--If age of backup data is over 1 day
if modification date of folder "Documents:Microsoft User Data
backup" of startup disk < ((current date) - 1 * days) then
--If secondary backup exists
if folder "Documents:Microsoft User Data old backup" of startup
disk exists then
--Delete old secondary backup
move folder "Documents:Microsoft User Data old backup" of
startup disk to trash
--Rename old backup to secondary backup
set the name of folder "Documents:Microsoft User Data
backup" of startup disk to "Microsoft User Data old backup"
--Make new backup
set NewBackup to duplicate folder "Documents:Microsoft User
Data" of startup disk
set the name of NewBackup to "Microsoft User Data backup"
end if
end if
else
--Make new backup
set NewBackup to duplicate folder "Documents:Microsoft User Data" of
startup disk
set the name of NewBackup to "Microsoft User Data backup"
end if
end tell
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>