Veritas™ File System 5.0.1 Administrator's Guide
The special device name or mount point of the file system to
copy.
source
The name of the special device on which to create the snapshot.destination
The size of the snapshot file system in sectors.size
Location where to mount the snapshot; snap_mount_pointmust
exist before you enter this command.
snap_mount_point
Example of creating and mounting a snapshot of a VxFS file
system
The following example creates a snapshot file system of the file system at /home
on /dev/vx/dsk/fsvol/vol1, and mounts it at /snapmount.
To create and mount a snapshot file system of a file system
◆
Create a snapshot file system of the file system at /home on
/dev/vx/dsk/fsvol/vol1 and mount it at /snapmount:
# mount -F vxfs -o snapof=/home, \
snapsize=32768 /dev/vx/dsk/fsvol/vol1 /snapmount
You can now back up the file system.
Backing up a file system
After creating a snapshot file system, you can use vxdump to back it up.
To back up a VxFS snapshot file system
◆
Use the vxdump command to back up a VxFS snapshot file system:
vxdump [-c] [-f backupdev] snap_mount_point
Specifies using a cartridge tape device.-c
The device on which to back up the file system.backupdev
The snapshot file system's mount point.snap_mount_point
Example of backing up a file system
The following example backs up the VxFS snapshot file system mounted at
/snapmount to the tape drive with device name /dev/rmt.
203Quick Reference
Backing up and restoring a file system