Enterprise Vault™ Backup and Recovery
- About this guide
- Backing up Enterprise Vault
- Enterprise Vault recovery procedures
- Recovering Enterprise Vault using full system backups
- Recovering Enterprise Vault using data-only backups
- Recovery of Enterprise Vault in a VCS cluster
- Recovery of Enterprise Vault in a Windows Server failover cluster
Using PowerShell cmdlets in backup scripts
Enterprise Vault's backup mode PowerShell cmdlets are designed to be used in your backup scripts to control backup mode. For example, you can set backup mode on vault stores and index locations before you take a backup, and clear backup mode again after the backup is complete.
This section describes how to use Enterprise Vault's backup mode PowerShell cmdlets in your backup scripts.
In your backup scripts, you can use a single command to:
Run a new instance of Windows PowerShell
Load the Enterprise Vault PowerShell snap-in
Run the appropriate cmdlet to control backup mode
On 64-bit Windows operating systems, you must run the Enterprise Vault PowerShell snap-in under the 32-bit version of PowerShell. The 32-bit version of PowerShell is installed in %SystemRoot%\SysWow64\WindowsPowerShell\v1.0
.
For example, you can use the following command at the start of your backup script, or in a pre-backup script, to set backup mode before you take a backup. This command runs PowerShell and loads the Enterprise Vault PowerShell snap-in, then runs the set-vaultstorebackupmode cmdlet, to set backup mode on the vault store group called Express Vault Store Group:
%SystemRoot%\SysWow64\WindowsPowerShell\v1.0\powershell -psconsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {set-vaultstorebackupmode -name 'Express Vault Store Group' -evservername EVserver -evobjecttype vaultstoregroup}"
After your backup is complete, you should run a similar command in your script to clear backup mode. For example:
%SystemRoot%\SysWow64\WindowsPowerShell\v1.0\powershell -psconsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {clear-vaultstorebackupmode -name 'Express Vault Store Group' -evservername EVserver -evobjecttype vaultstoregroup}"