About backup mode cmdlets
|Article:HOWTO37613|||||Created: 2010-12-24|||||Updated: 2012-06-27|||||Article URL http://www.symantec.com/docs/HOWTO37613|
Vault store groups
You can run these cmdlets directly in the Enterprise Vault Management Shell, and use them in your backup scripts. For example, use the cmdlets in a pre-backup script to set backup mode on index locations and vault stores before the backup is taken. After the backup has completed, use the cmdlets in a post-backup script to clear backup mode.
For each index location and vault store, Enterprise Vault maintains a count of the number of set requests and clear requests, to support the use of concurrent backup scripts. Enterprise Vault increments the count by 1 on each request to set backup mode, and decrements the count by 1 on each request to clear backup mode.
When you use concurrent backup scripts, Enterprise Vault does not clear backup mode from a vault store or an index location until all the scripts that have set backup mode, have also cleared backup mode.
When you use the administration console to clear backup mode from an index location or vault store, Enterprise Vault ignores the backup mode count and forcibly clears backup mode.
To run PowerShell cmdlets directly, first run the Enterprise Vault Management Shell
Click Start > Programs > Enterprise Vault > Enterprise Vault Management Shell.
PowerShell opens and loads the Enterprise Vault snap-in which makes the backup mode cmdlets available in the shell.
The Enterprise Vault Management Shell provides the following backup mode cmdlets:
Help is available for all the cmdlets. For example, the following command shows the detailed help for Clear-VaultStoreBackupMode:
Get-Help Clear-VaultStoreBackupMode -detailed
You can also generate PowerShell backup mode commands that are based on the configuration of your environment and ready for use in your backup scripts.
Article URL http://www.symantec.com/docs/HOWTO37613