OSXtreme
  Software - dmg_backup

Overview: The is a command-line perl/shell script suite to create a disk image with data you specify, for backups (or distribution of files)

  1. dmg_backup creates .dmg files and copies (including resource forks) your data to them. (perl script)
  2. dmg_burn burns the .dmg file to your CD or DVD or whatever. (zsh shell script)

An important philosophical note should be made here: no special software is required to read backups. You could use this to distribute your own files to others (dmg_backup created the dmg's you can download, below). If you're restoring to a new OS install, you don't have to install dmg_backup in order to read your CD or DVD; it's just a normal filesystem (or mountable disk-image, if you didn't burn it to media).

dmg_backup is completely automatic (suitable for automatically running via cron, say). dmg_burn pretty much just calls hdiutil burn, which ejects your current optical drive and waits for insert of media, which isn't really good to automate.

For obvious legal reasons, I make no warranties or guarantees. Really, see license.txt. I do offer the following free advice: Do backups (with "real" backup software if there's actual value to your data), and test your backups before you consider them "done".

Quick start:

  • Mount the disk image after un-stuffing it.
  • cd to /Volumes/Install_dmg_backup.2.2.0.20030830.001
  • sudo ./install.sh
    Installs to /usr/local/bin
  • /usr/local/bin/dmg_backup testlabel ~/Sites
    Backs up directory "Sites" in your homedir to /tmp/backup.testlabel.yyyymmdd.001.dmg

Files:

Please note that any readme.txt or license.txt in the Software package take precendence over the information above.

Feedback?

Content Enhanced - Use Any Browser

Home | Contact