PowerShell backup procedure to place the services in read-only mode
| Article:TECH66742 | | | Created: 2009-01-14 | | | Updated: 2012-06-18 | | | Article URL http://www.symantec.com/docs/TECH66742 |
Problem
PowerShell backup procedure to place the services in read-only mode
Solution
A new PowerShell script (Program Files/Enterprise Vault/Reports/Templates/Transform-Backup.ps1) generates the PowerShell backup commands which you can use to place your Enterprise Vault environment in backup mode. The PowerShell commands are specific to your environment, and you can use them directly in your backup scripts.
The technical note TECH75694 describes how to use the script and the commands it generates.
Prior to EV 8.0 SP3
Create a batch file and add the following PowerShell scripts:
Powershell.exe -psconsolefile "C:\Program Files\Enterprise Vault\evshell.psc1" set-IndexLocationBackupMode EV_Server_Name
Powershell.exe -psconsolefile "C:\Program Files\Enterprise Vault\evshell.psc1" set-vaultstorebackupmode -name 'Vault_Store_Group_Name' -evservername EV_Server_Name -evobjecttype 'vaultstoregroup'
To take out of read-only mode, create a batch file and add the following PowerShell scripts:
Powershell.exe -psconsolefile "C:\Program Files\Enterprise Vault\evshell.psc1" clear-vaultstorebackupmode -name 'Vault_Store_Group_Name' -evservername EV_Server_Name -evobjecttype 'vaultstoregroup'
Windows Server 2008 64-bit
"Symantec.EnterpriseVault.PowerShell.Snapin.dll" is a 32-bit PowerShell Snap-In, and the default Powershell.exe is the 64-bit version. Attempting to run the previous commands would produce a warning.
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\PowerShell.exe -psconsolefile "C:\Program Files\Enterprise Vault\evshell.psc1" clear-vaultstorebackupmode -name 'Vault_Store_Group_Name' -evservername EV_Server_Name -evobjecttype 'vaultstoregroup'
Note:
Replace the following attributes with the appropriate names.
EV_Server_Name - replace with the Enterprise Vault server name.
Vault_Store_Group_Name - with the Vault Store Group name.
For additional information on the PowerShell cmdlets refer to the Backup Procedures in the Related Documents section.
Additional Note:
PowerShell scripts are meant to be used with file level backup software (Example:BackupExec and NetBackup). PowerShell scripts are not for use with sector level backup software (Example: BackupExec System Recovery).
|
|
Related Articles
Legacy ID
317560
Article URL http://www.symantec.com/docs/TECH66742
Terms of use for this information are found in Legal Notices









Thank you.