InfoScale™ 9.0 Storage Foundation Quick Recovery Solutions Guide for Microsoft SQL Server - Windows
- Introducing Quick Recovery for SQL Server
- Methods of implementing Quick Recovery snapshots for SQL Server
- About the components used in Quick Recovery
- Preparing to implement Quick Recovery for SQL Server
- Implementing Quick Recovery for SQL Server with the configuration wizard
- About the Quick Recovery Configuration Wizard
- Scheduling SQL Server snapshot sets
- Scheduling or creating an individual snapshot set for SQL Server
- Maintaining or troubleshooting snapshots
- Recovering a SQL Server database
- Recovering missing volumes
- Vxsnap utility command line reference for SQL Server
vxsnap reattach
Reattaches and resynchronizes the snapshot volumes in the snapshot set to the original database volumes.
The vxsnap reattach command has the following syntax:
vxsnap -x Filename [-f] [-b] reattach writer=WriterName
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.
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.