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
Generating PowerShell backup commands for your environment
Enterprise Vault includes a PowerShell script called Transform-Backup.ps1
, which you can use to generate PowerShell backup mode commands for your environment.
Transform-Backup.ps1
generates an HTML file that contains a set backup mode command, and a clear backup mode command for each of the following entities in your environment:
Enterprise Vault site (all vault stores)
Vault store group
Vault store
Enterprise Vault site (all index locations)
Enterprise Vault site (all index snapshot locations)
Note:
Enterprise Vault version 14.2 onwards, Elasticsearch is the new indexing engine. The index data backup strategy has changed. For all the Elasticsearch index locations, you must now take snapshots of the index data on the Enterprise Vault index server, instead of taking filesystem-level backup of index data.
The backup strategy for all the non-Elasticsearch index locations in your environment continues to be the same as before 14.2 and supports only filesystem-level backup.
To protect your data from accidental loss, it is strongly recommended that you:
Take a snapshot of the index data for all the Elasticsearch index locations. For more information, refer to the following article on how to backup indexes in Enterprise Vault 14.2 and later:
Take a backup of the index snapshot location where index snapshots are stored.
You can use any of the commands from the HTML file that are appropriate to your backup regime.
For example, if you back up all the data associated with an entire Enterprise Vault site in one operation, your pre-backup script should include the command to set backup mode on the site's vault stores, the command to set backup mode on the site's index locations, and the command to set backup mode on the site's index snapshot locations.
When the backup operation is complete, your post-backup script should include the command to clear backup mode from the site's vault stores, the command to clear backup mode from the site's index locations, and the command to clear backup mode from the site's index snapshot locations.
Transform-Backup.ps1
is in the Templates
folder beneath the Enterprise Vault installation folder (for example, C:\Program Files (x86)\Enterprise Vault\Reports\Templates
).
Before you run the script, you must set the PowerShell script execution policy, to allow only signed scripts to run. You only have to do this once.
To set the PowerShell script execution policy
- Start the Enterprise Vault Management Shell.
- Run the following command:
Set-ExecutionPolicy -executionPolicy AllSigned
When you have set the PowerShell script execution policy, you can run Transform-Backup.ps1
to generate the backup mode commands for your environment.
To run the script
- Start the Enterprise Vault Management Shell.
- Change directory to the
Reports\Templates
folder beneath the Enterprise Vault installation folder. - Enter the following command to run the script:
.\Transform-Backup.ps1
- At the following prompt:
Do you want to run software from this untrusted publisher?
Choose R to run the script once.
At the end of the script, the HTML file generated by Transform-Backup.ps1
opens automatically in your default web browser.