
74
rollback master-volume
Description Rolls back (reverts) the data on a master volume to the data that exists in a specified snapshot. You
can choose whether to include modified write data from the snapshot in the rollback. You must
unmount the master volume from the host operating system before using this command. The
command will prompt you to ensure the master volume is unmounted before proceeding.
CAUTION: All data that differs between the master volume and the snapshot is lost. Create a
snapshot of the master volume as it currently exists before performing a rollback.
Syntax
rollback master-volume volume snapshot volume [modifiedsnapshot yes|no]
[prompt yes|no]
Parameters volume
Name or serial number of the master volume to roll back. For syntax, type Command syntax.
snapshot volume
Name or serial number of the snapshot containing the data to roll back to. For syntax, type
Command syntax.
modifiedsnapshot yes|no
Optional. Specifies whether to include or exclude modified write data from the snapshot in the
rollback.
• yes: Include modified snapshot.
• no: Exclude modified snapshot data.
If this parameter is omitted, modified snapshot data is excluded.
prompt yes|no
Optional. Specifies an automatic response to the unmount prompt that either enables the rollback to
proceed or prevents the rollback from proceeding.
• yes: Enable the rollback to proceed.
• no: Prevent the rollback from proceeding.
If this parameter is omitted, you must reply to the prompt.
Example Roll back master volume MV1 to snapshot SS1:
# rollback master-volume MV1 snapshot SS1
Leaving the master volume mounted when starting a rollback operation will result
in data corruption. The master volume must be unmounted prior to beginning the
rollback operation. The master volume can be remounted once the rollback has
started. Not unmounting the volume prior to beginning the rollback operation
will result in data corruption.
Is the master volume unmounted from all operating systems? yes
Success: Command completed successfully. - Rollback was started.
See also • show master-volumes
• show snapshots
Komentáře k této Příručce