  deblin Dark Side of the Moon Premium,MVM join:2001-09-01 Middletown, DE
| reply to fcisler Re: FreeBSD backup complete system
dump does exactly what you want, and can do incremental updates to the snapshot (so you don't waste space for daily backups).
Just remember to use -L when dump'ing on a mounted/live file system.
To restore, it's as simple as:
- newfs /dev/ad... - mount /dev/ad... /usr - cd /usr && restore -r -f /path/to/dumpfile
You can also use restore's -x option and/or a path to a specific file (this is slow, though, as it has to seek through the entire dump).
dump/restore also work remotely (see the man pages for details).
For me, since I don't have enough disk space to backup the entirety of the file systems, I just use rsnapshot to a local gmirror'd set of disks. Then at least I have my personal data (/usr/home), custom scripts/programs (/global/bin), settings (/etc, /usr/local/etc), web data (/usr/local/www) and mysql databases/logs/etc (/var). -- He who is not contented with what he has, would not be contented with what he would like to have. -Socrates |