#mkdir -p /virtual-rmt/0/
#mkdir /backingstore
#mkdir /export/home/filetobackup
#cd /export/home/filetobackup
#mkfile -nv 100k file1.test file2.test file3.test file4.test
2. Take a snapshot of the file
#fssnap -F ufs -o bs=/backingstore /filetobackup
3. Backup the file#ufsdump 0uf /virtual-rmt/0 /dev/fssnap/0
------------------------------------------------------------
to check the status of a snapshot:
#fssnap -i
to delete snapshot:
#fssnap -d /dev/fssnap/0
-----------------------------------------------------------
to restore:
#rm -rf /export/home/filetobackup
#ls
#ufsrestore rvf /virtual-rmt/0/dump0
done
No comments:
Post a Comment