August 2, 2010

FreeBSD - dump and restore

freebsd# less /etc/fstab

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
/dev/ad2s1d             /backup         ufs     rw              1       1
 
freebsd# dump -0 -a -f /backup/dump /  или dump -0 -a -f /backup/dump /dev/ad0s1a

freebsd# restore -r -f /backup/dump 

dump
restore

No comments:

Post a Comment