I am very happy with the folowing....

Supose that you have mount ANOTHER device on /mnt....

1) mount /dev/xxxx /mnt
2) init 1  (this closes all applications and drop into single user)
3) tar --one-file-system -cvzf /mnt/backup.tar.gz ./ var usr home 
4) umount /mnt
5) exit (reboot from single user to normal operation)
===================================
on restore.......
supose you install a FBSD minimal from the CD/usb.....

1) mount /dev/xxxx /mnt
2) tar -xpvf /mnt/backup.tar.gz -C /
........................   
3) umount /mnt
===========you have restored your system=============

may be some files (sockets...) are not restored but no problem as
they will be created by the time your system boots on.

Sergio

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to