Enterprise Vault™ Backing Up Enterprise Vault: Medium Environment
- Backing up Enterprise Vault: Medium environment
- About this document
- About Enterprise Vault backup functionality
- About Enterprise Vault safety copies
- Choosing when to remove Enterprise Vault safety copies
- Checking that the partition has been backed up before Enterprise Vault removes safety copies
- Using the archive attribute to determine whether a partition has been backed up
- Using the trigger file mechanism to determine whether a partition has been backed up
- About Enterprise Vault backup mode
- About Enterprise Vault safety copies
- Backup tools and supporting components
- Medium-sized Enterprise Vault environment
- Enterprise Vault backup schedules
- Component backups
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)
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, and the command to set backup mode on the site's index 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, and the command to clear backup mode from the site's index 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\Templatesfolder 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.