# Take a snapshot of a filesystem so you can back it up. command will return the virtual device to backup
root@server:# fssnap -F ufs -o bs=/path/to/snapshot-storage-file /mountpoint
/dev/fssnap/0
#### NOTE!!! ##########################################
# If you are running ntp you may get the following error
fssnap: ioctl: error 22: Invalid argument
# If you do then stop the ntp server and try again
########################################################
# backup the filesystem using virtual device returned
root@server:# ufsdump 0uf /path/to/save/ufsdump-output /dev/fssnap/0
# remove virtual device
root@server:# fssnap -d /mountpoint
Monday, May 25, 2009
Creating File system snapshots
Labels:
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment