Storage Foundation 8.0.2 Quick Recovery Solutions Guide for Enterprise Vault - Windows
- Introducing Quick Recovery for Enterprise Vault
- Preparing to implement Quick Recovery for Enterprise Vault
- Scheduling or creating a snapshot set for Enterprise Vault
- Maintaining or troubleshooting snapshots
- Recovering Enterprise Vault components
- Vxsnap utility command line reference for Enterprise Vault
vxsnap restore
Uses the snapshot volumes in a snapshot set created by the vxsnap create command to recover a corrupted or missing Enterprise Vault component.
Exclusive access to the Enterprise Vault component is required for this operation.
Before using this command verify that the source volumes and the snapshot volumes are not in use.
vxsnap -x <Filename> [-f] [-b] [-r] [-a] restore writer=<WriterName> [site=<SiteName>[/VSG=<VSGName>[/VS=<VSName>]]] [[/]component=<ComponentName>] restoreType={RECOVERY|NO_RECOVERY}
The following attributes apply:
-x Filename | The metadata file created by the vxsnap create command. Each snapshot set must have a unique name for the metadata file. |
-b | Resynchronizes the volume in the background. A new snapshot cannot be made until the resynchronization is complete. |
-f | Forces the operation. Make sure the volume is not in use before using this option. |
-r | Recover even if original volume is not present. If this option is selected and the original volume is not present, the snapshot volume of the missing volume is changed from a read-only volume to a read-write volume. |
-a | Dismount the databases before the restore operation and then mount the database after the restore operation. |
writer=<WriterName> | Unique ID of the VSS writer, for example, EnterpriseVault or the GUID for the writer. |
site=<SiteName> | Name of the Enterprise Vault site. |
VSG=<VSGName> | Name of the Enterprise Vault Store Group. |
VS=<VSName> | Name of the Enterprise Vault Store. |
component=<ComponentName> | Name of the Enterprise vault component. For example, Vault Store database, Fingerprint database, or Volume component, such as index, partitions, etc. |
restoreType={RECOVERY|NO_RECOVERY} | Specifies the type of database recovery, either recovery or no recovery: With RECOVERY database and transaction log files are restored from the snapshot set. No transaction backup logs are applied. The database is left in an operational state. To back up logs so that you can restore the database using log replay, at least one Full backup must have been created earlier. NO_RECOVERY restores from the specified snapshot set to the time of the snapshot. No logs are applied and the database is left in a loading state so that you can manually replay backup logs to a specific point in time. |
vxsnap -x snapdata.xml restore RestoreType=RECOVERY writer=EnterpriseVault site=site1/vsg=vsg1/vs=vs1 component="Directory DB"
The above command restores the vault store "vs1" and "Directory DB" from backup set using the metadata from snapdata.xml.