-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Nick Smith wrote: | i read up on the man page of rsync and got that this command will backup | my server to another external drive i have: | | mail root # rsync -avz / /mnt/backup/ |
If you are looking for a way to make backups and to have incremental backups you should look at dump and restore. You have the ability to search and restore individual files from the backups. A simple command to make a full backup of your systems / would be:
dump 0uf /mnt/backup/ epoch-`date +%F` /dev/hda3
This will produce a file called: epoch-2005-02-04 It will contain everything on the partition /dev/hda3
To create an incremental of everything has changed since the epoch you would use:
dump 9uf /mnt/backup/ inc-`date +%F` /dev/hda3
To restore a file in interactive mode you would use:
restore -if /mnt/backup/epoch-2005-02-04 or inc-2005-02-04
For more information on dump and restore please refer to your friendly man pages.
Mike
- -- Mike Noble Email: [EMAIL PROTECTED] Key ID: 0xFFDFC13B Key fingerprint: 8204 1297 B9AD 0CED 2FCE 1FB0 9491 5824 FFDF C13B Keyserver: http://pgpkeys.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCA8ualJFYJP/fwTsRArcxAJ48cbDi6RjjtR6g6vyZatdib3Y9zwCfeaxk ApVA+PjK0aEgrCX+ddo1a9o= =oi6H -----END PGP SIGNATURE-----
-- gentoo-user@gentoo.org mailing list