vxsnap reattach
Reattaches and resynchronizes the snapshot volumes in the snapshot set to the original database volumes.
Syntax
The vxsnap reattach command has the following syntax:
vxsnap -x Filename [-f] [-b] reattach writer=WriterName
Attributes
The vxsnap reattach command has the following attributes:
-x Filename |
The file created by the vxsnap create command. Each snapshot set must have a unique name for the metadata file. |
|---|---|
| Note: This file is deleted after the reattach operation has completed successfully. | |
-f |
Forces the reattach. Make sure the volume is not in use by another application before using this command. Use this option with care. |
-b |
Resynchronizes the volume in the background. A new snapshot cannot be made until the resynchronization is complete. |
writer=WriterName |
Unique ID of the VSS writer, for example, SQLServerWriter or the GUID for the writer. |
Note: Make sure that the snapshot volumes are not in use before using this command.
Example
The following is an example of the vxsnap reattach command:
vxsnap -x billing_DB.xml reattach
writer=SQLServerWriter
This command uses the information in the snapdata.xml file to reattach and resynchronize all the volumes in the snapshot set. This xml file is deleted after the reattach operation has completed successfully. The snapshot volumes remain synchronized with the original volumes until the
vxsnap create command is issued.
Note: Any text string that contains spaces must be enclosed in quotation marks.
Related information