The fssnap command creates a stable, read-only snapshot of a file system when given either an active mount point or a special device containing a mounted file system, as in the first form of the synopsis. A snapshot is a temporary image of a file system intended for backup operations.
Snapshot creation or deletion requires the
A path to the virtual device that contains this snapshot is printed to standard output when a snapshot is created.
The following options are supported:
Deletes the snapshot associated with the given file system. The fssnap command must have the
sys_devices privilege to delete a snapshot.
Specifies the file system type to be used. The FSType should either be specified here or be determined by matching the block special device with an entry in the /etc/vfstab table, or by consulting /etc/default/fs.
Displays the state of any given FSType snapshot. If a mount-point or device is not given, a list of all snapshots on the system is displayed. When a mount-point or device is specified, detailed information is provided for the specified file system snapshot by default. The format and meaning of this information is file-system dependent. See the FSType-specific fssnap man page for details.
See the FSType-specific man page for fssnap.
Echoes the complete command line, but does not execute the command.
The following operands are supported:
The directory where the file system resides.
The physical device for the system, such as /dev/dsk/c0t0d0s7.
See FSType-specific man pages for examples.
Specifies file system type.
Specifies the default local file system type.
See attributes(5) for descriptions of the following attributes:
The fssnap command requires the
sys_devices privilege to create or delete a snapshot.
This command might not be supported for all FSTypes.