Automating backups to mediamax
Wednesday, February 14th, 2007 I was duly impressed with the 25GB of free storage mentioned in this lifehacker post, http://lifehacker.com/software/online-st
So the first thing to figure out is what’s the really important stuff. I googled around a bit to see what others thought was worthy of backing up. It seems like this is the sort of stuff people worry about the most:
- original content I created
- pictures
- financial documents
- system configuration files
- saved games
- system drivers(or I would if I could figure out a way to do it from the command line)
- registry AKA System State
- system keys/licenses
- bookmarks from browsers
- scripts
Things I’m NOT backing up:
- my .pst file. I only use Outlook at work and I have a different backup solution there.
- my calendar or address book. Those are again generally work related and the data is backed up via syncing to my Palm and another backup solution.
Then it’s time to set up a mediamax account at http://www.mediamax.com. Answer their confirmation email. And also use a command line interface to log into the FTP interface and create your backup directory. Basically that comes down to the following:
Start->Run->cmd->ftp ftp.mediamax.com -> username->password->mkdir backup->quit
Then it’s time to set up your backup scripts. I based mine off of the efforts of Adam Pash and BostonMark ala http://lifehacker.com/software/version-c
You’ll need to modify these files. Modify the version control script with textpad and alter the section that is to be downloaded, AKA %HOMEPATH%\My Documents\Simple Version Control. And you’ll need to set your own username and password in the ftp-backup.ftp configuration file.
If you want to backup your IE bookmarks I advise you to use autohotkey, http://lifehacker.com/software/software/d
CAVEAT: I’m an avid Firefox user and IETab user. Don’t bash on me backing up IE stuff. I work with developers who are instructed to code only to IE. It’s easier to use IE for these internal web pages than to argue with every developer in the department about how Firefox is different. I’m usually having a hard enough time convincing them that there’s a problem with the app.
Now run a test run. It’s best to do that from a command window as you will be able to scroll back and see if there is a problem somewhere in the processing. If it looks good, then log into mediamax. Under the File Manager section you will see a folder titled Uploaded File. Expand it out and you will see your backup files.
Finally schedule that backup in your windows scheduled tasks ala http://lifehacker.com/software/feature/h
CAVEAT: I’ve heard awful reviews of mediamax’s customer service. So you may want to choose another webhost for this sort of thing. Since I’m not paying for their service, nor do I intend to use more than 1GB ever, I don’t think I’ll worry about it too much.
THINGS LEFT TO DO: I should add some code to delete the original backup folders and not delete the zipped file and also to add some limits. For instance, only keep local copies of the backups for so long. Also to delete remote copies after some time. Maybe tomorrow.
Also need this thing to clean up after itself.