# backup a filesystem
# the number refers to the backup level - i.e. 0 for full to 9 for incremental
root@server:# ufsdump 0uf /path/to/save/ufsdump-output /dev/dsk/c?t?d?s?
# make a new filesystem to restore to
root@server:# newfs /dev/rdsk/c?t?d?s?
# restore the complete backup to the CURRENT DIRECTORY
root@server:# ufsrestore rf /path/to/save/ufsdump-output
root@server:# rm restoresymtable
# unmount and check the new filesystem
root@server:# umount /mountpoint
root@server:# fsck /dev/dsk/c?t?d?s?
Tuesday, May 26, 2009
ufsdump and ufsrestore
Labels:
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment