Tuesday, May 26, 2009

ufsdump and ufsrestore

# 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?

Readers who read this page, also read:




Bookmark and Share My Zimbio http://www.wikio.com

0 comments: