SFW provides support for creating snapshots for the Enterprise Vault farm, sites, Vault StoreGroups, Vault Stores, or any component level. You can create snapshots of all volumes associated with the EV components without taking the databases offline and disrupting the database operations.
Creating a one-time snapshot or snapshot set is a two-step process:
Prepare the snapshot mirrors for the database volume or volumes. If you are creating a snapshot set after a snapback to refresh existing snapshot mirrors, you can skip this step.
Use either the Enterprise Vault Snapshot Wizard or the vxsnap create command to create the snapshot set by detaching the snapshot mirrors from the original volumes. This step creates separate on-host snapshot volumes as well as a snapshot set XML file to store the application and snapshot volume metadata.
Note: |
The Enterprise Vault Snapshot Wizard and the vxsnap utility can be invoked from any node that has the Enterprise Vault Admin service running in the Enterprise Vault Configuration. |
When you right-click an EV object and select Enterprise Vault Snapshot from the context menu, the EV objects and components within (subordinate to) the selected EV object are all included in the snapshot. You can also add more Enterprise Vault objects from the objects shown in Enterprise Vault Snapshot wizard.
Please note the following:
When an EV site is snapshotted, the Directory database is also snapshotted implicitly by the system.
When an Vault Store database is snapshotted, the Open Partition is also snapshotted implicitly by the system.
When an Open Partition is snapshotted, the Vault Store database is also snapshotted implicitly by the system.
Review the configuration prerequisites before proceeding with the create snapshot operation for EV.
See Configuration requirements for snapshots.
To create snapshots using the Enterprise Vault Snapshot Wizard
The menu option is also available at the EV site and any component level.
Complete the information on this page as follows:
Click Next.
Review the specifications of the snapshot set and click Finish to complete the snapshot operation for the selected components.
To create the snapshot set from the command line
> vxsnap -x test.xml create writer=EnterpriseVault site=site1/vsg=vsg1/vs=vs1 site=site2 /component=(Index Locations (V:))
This example creates a snapshot of vault store "vs1" of site1/vsg1, "Index Location (V:)" of site2 and component "Directory DB". The XML file, test.xml, is used to store the VSS metadata that identifies the snapshot. This file is used in the command to reattach the snapshot to resynchronize it and in the command to recover the database using the snapshot.
> vxsnap -x test.xml create writer=EnterpriseVault site=site1
This example makes a complete snapshot of site1 (including the directory database).
The complete syntax of the vxsnap create command is:
vxsnap -x <filename> create writer=<WriterName> [site=<SiteName>[/VSG=<VSGName>[VS=<VSName>]]] [[/]component=<ComponentName>][backuptype=FULL|COPY] [-o]
The WriterName and ComponentName are required. The component name is the name of the Enterprise Vault component. You can use either a Full backup or Copy backup for restoring from a snapshot (recovery). However, if you want to replay logs as part of restoring a database, a Full backup needs to have been created earlier. When replaying logs, you can replay from the time of the last Full backup. A Copy backup does not affect this sequence of log replay and therefore is often used as an "out of band" copy for purposes such as testing or data mining.