Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the rmsnap
command to remove a snapshot.
See Also:
"Snapshot Commands" for related commandsPrerequisites
You must have the right to manage devices and change device state to use the rmsnap
command.
Syntax
rmsnap::=
rmsn•ap [ --host/-h hostname ] [ --fs/-f filesystem-name ] [ --nowait/-n ] snapshot-name ...
Semantics
Specifies the name of the NDMP host that contains the snapshot that you want to remove. If you do not specify a host name, then Oracle Secure Backup uses the value from the host variable.
Specifies the name of the file system included in the snapshot. If you do not specify the --fs
option, then the fs
variable must be set.
Does not wait for the snapshot removal operation to complete.
Specifies the name of the snapshot to remove.
Example
Example 2-141 creates a snapshot called test
and then deletes it.
Example 2-141 Removing a Snapshot
ob> set fs /vol/vol0 ob> mksnap --host lucy ob> lssnap test File system /vol/vol0: Snapshot Of Taken at %Used %Total Snapshot Name /vol/vol0 2005/03/28.21:11 0 0 test ob> rmsnap test ob> lssnap test Warning: snapshot test not found on host lucy, file system /vol/vol0.