Congs Gerald! Your scripts really come in handy for what most sysadmins need -configuration management. Ever wished you could take your machine back to "the way things used to be" before you messed up all those config files and now only a fresh install can sort you out?
> On Wed, 15 Mar 2006, Hari Kurup wrote: > > But for a network backup, I don't you think rsync would do the job > > better (faster) than tar? > > Probably, yes, it would since it copies only what has changed *inside* the > file and not the entire file when it determines that a file has changed. > But Kurup, rsync -z and tar -z both invoke some compression routines, you know! Run without the -z and you might want to pull some zzzzzeds yourself. Faster.... not quite! The rolling checksums that rsync uses consume additional CPU cycles as compared to tar which does mainly I/O ops. I bet Kurup was thinking of something like rsnapshot (www.rsnapshot.org) for incremental backups and versioning (uses Perl, cp, ssh and rsync). Disk space usage is that of the original files plus the changes in the backup set, and you have hourly, daily, weekly, etc versions automated with network-based backups! > Well, what I was focused on was the following: > > 1. Maintaining snapshots of your system at different times e.g "last-week" > or "last-week-but-one" or "last month" etc... > Nasbackup is a graphical rsync client for Windows that can do snapshots for those stubborn Windows users that keep losing their files. Wonderful OSS backup solution for Windows users when coupled with Samba (map the user's rsync share back to her machine as a read-only drive). Check it out at www.nasbackup.com Put together, rsnapshot on the backup server (and its backups), nasbackup on the Win32 client and Samba for the neighborhood make a formidable backup solution. But as they always say, YMMV. > 2. Being able to restore your system to a particular point in time by > running a couple of commands i.e something like: > > # cd / > # tar -zxvf full-backup-file.tar.gz > # tar -zxvf incremental-backup-file-1.tar.gz > # tar -zxvf incremental-backup-file-2.tar.gz > # ... > > > Cheers! > Gerald. Gerald has given us something we can all use to be on top of things as sysadmins, and I think he has done well. Kind regards, Bernard Wanyama Linux Solutions UGANDA Cell: +256 712 193979 Skype: bwanyama _______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
