On Thu, 06 Jan 2005 10:38:08 -0700, Michael L Torrie <[EMAIL PROTECTED]> wrote: > On Thu, 2005-01-06 at 09:55 -0700, Lars Rasmussen wrote: > > I second the rsync approach. No need to use compression that way. > > I also use rsync. Ed Schaller once showed me a way to use rysnc (to > another hard disk) to create hard links which make incremental backups > where each day's backup would appear to be a complete, coherent image > (ie full backup) while actually taking up only space for new or changed > files. Perhaps he'd be willing to share this with the list again. From > what I can tell, you can even fake hard links on DVDs and CDROMs, so you > could have what appears to be several copies of multi-gigabyte folders > on one 4.5 gb disk.
I looked into the rsync hardlinks thing once. I don't recall where the websites I used were, but they were very good. I even wrote a script to manage my backups (you shell-schrifters won't be too impressed so don't make fun). It involved having a list of what to backup in a config file (in awful rsync include format) and a $BACKUP variable for where the backups live. It worked really well and could be run in cron or manually just the same whenever. It was awfully slick. #!/bin/sh if [ ! -n "$BACKUP" ]; then echo "\$BACKUP must be defined." exit 1 fi LATEST=$BACKUP`dir -1rt $BACKUP | tail -n 1` CURRENT=$BACKUP`date +%Y%m%d-%H%M` if [ "$LATEST" == "$CURRENT" ]; then echo "Please wait at least one minute." exit 1 fi #du --summarize $BACKUP if [ "$LATEST" != "$BACKUP" ]; then cp -Rl $LATEST $CURRENT chmod -R u+w $CURRENT fi rsync --recursive --checksum --copy-links --delete --delete-excluded --include-from=$HOME/.syncs $HOME/ $CURRENT chmod -R a-w $CURRENT #du --summarize $BACKUP -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
