Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
PDF · Mobi · ePub |
Use the mksnap
command to create a new snapshot. A snapshot is a consistent copy of a volume or a file system. Snapshots are supported only for Network Appliance filers running Data ONTAP 6.4 or later.
See Also:
"Snapshot Commands" for related commandsYou must have the right to manage devices and change device state to use the mksnap
command.
mksn•ap [ --host/-h hostname ] [ --fs/-f filesystem-name ] [ --nowait/-n ] snapshot-name ...
Specifies the name of an NDMP host. If you do not specify a host name, then Oracle Secure Backup uses the value from the host variable.
Specifies the name of an NDMP file system. If you do not specify the --fs
option, then the fs
variable must be set.
Does not wait for the snapshot operation to complete.
Specifies the name to give the new snapshot. Snapshot names must conform to the filename rules in effect where the snapshot is created.
Example 2-93 creates a new snapshot of the file system /vol/vol0
on the NDMP host named lucy
.
Example 2-93 Creating a Snapshot
ob> mksnap --host lucy --fs /vol/vol0 lucy_snap ob> lssnap --long lucy_snap File system /vol/vol0: Max snapshots: 255 Reserved space: 44.8 GB % reserved space: 30 Snapshot: lucy_snap Of: /vol/vol0 Taken at: 2005/03/28.20:52 Used %: 0 Total %: 0 Busy: no Dependency: no