Veritas™ File System 5.0.1 Administrator's Guide
To back up a VxFS snapshot file system
◆
Back up the VxFS snapshot file system mounted at /snapmount to the tape
drive with device name /dev/rmt/:
# vxdump -cf /dev/rmt /snapmount
Restoring a file system
After backing up the file system, you can restore it using the vxrestore command.
First, create and mount an empty file system.
To restore a VxFS snapshot file system
◆
Use the vxrestore command to restore a VxFS snapshot file system:
vxrestore [-v] [-x] [filename]
Specifies verbose mode.-v
Extracts the named files from the tape.-x
The file or directory to restore. If filename is omitted, the root
directory, and thus the entire tape, is extracted.
filename
Example of restoring a file system
The following example restores a VxFS snapshot file system from the tape:
To restore a VxFS snapshot file system
◆
Restore a VxFS snapshot file system from the tape /dev/st1 into the mount
point /restore:
# cd /restore
# vxrestore -v -x -f /dev/st1
Using quotas
You can use quotas to allocate per-user quotas on VxFS file systems.
See “Using quotas” on page 110.
See the edquota(1M), quota(1M), quotaon(1M), and quotaoff(1M) manual pages.
Quick Reference
Using quotas
204