Hi there,
after searching the forums this thread seemed to fit my concern most. The TO seemed to have a similar approach backing up his data.
I am currently evaluating on how DropDMG could master my aim to securely (double)-backup my files onto an online-backup storage at Mozy. Although the backup data is being encrypted at the Mozy servers, for my peace of mind I'd feel more comfortable with my data being securely encrypted before uploading them.
Similar to the TO I backup my data to an external F/W-drive using SuperDuper!. Additionally I setup SD! to automatically create a sparseimage of my backup using its scheduled backup function.
I would then like to perform DropDMG to create an encrypted DMG from that sparseimage that SD! created. As a last step in that whole procedure, the Mozy UI is then scheduled to update the online storage with that newly created encrypted DMG.
Ideally, the whole process is on an automatic (overnight)schedule, so I won't have to discipline myself for performing the backups manually and can pretty much forget about it.
SD! and the Mozy UI can be scheduled. For DropDMG I will have to use Applescript which I would schedule via an iCal event. Not being very accustomed to Applescript, I just copied the script example from the DropDMG helpviewer (3.2.4) and tried to modify it according to my needs. I didn't get very far :-)
Basic scriot-setup:
- If DropDMG doesn't run, the script should start the application.
- The SuperDuper! sparseimage (named "MozyOnlineBackup.sparseimage") is on an external drive named "Archiv" (same root level as internal Macintosh HD)
- Since the sparseimage is about 1.5 GB in size, I increased the timeout to 4 hrs.
- The DropDMG configuration is called "Mozy_Backup"
Code:
-- create a new image from a folder
tell application "DropDMG"
activate
-- allow 4 hours before AppleScript times out
with timeout of 4 * 60 * 60 seconds
set p to "Archiv/MozyOnlineBackup.dmg" -- POSIX path to source folder
-- Rather than specifying all the options in AppleScript, you
-- can save them as a DropDMG configuration and refer to them
-- that way.
create image from path p configuration name "Mozy_BackUp"
end timeout
end tell
Could someone please support me with modifying the Applescript in order to get it work according to my described needs?
Thank you very much!
Jo*