cancel
Showing results for 
Search instead for 
Did you mean: 
Wayne_Humphrey
Level 6
Partner Accredited Certified

 

Script to place Enterprise Vault Indexes into Backup Mode 

This is quite a nice set of cmd & ps1 scripts to place Enterprise Vault Indexes into R/O mode. This is used for index snapshots as storage is on centera.
 
These scripts will return status codes and write entries into the Event Log. 
 
Launch Syntax: 
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\PowerShell -PSConsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" "C:\evbackup\BeginBackupScript.ps1" SERVERNAME
Where SERVERNAME is the name of the server the script will be executed from. 
 
Return Status [0] is Success 
Return Status [1] is Failed 
 
Other Information: 
If the server does not have internet access you may notice that it takes a long time to open. 
The reason for this is powershell tries to download the CRL to check the authenticode signature on the Symantec Enterprise Vault snapin.
 
To work around this create a file called powershell.exe.config in 
Windows x86 - Windows\System32\WindowsPowerShell\v1.0\ 
Windows x64 - Windows\SysWOW64\WindowsPowerShell\v1.0\ 
<configuration> 
  <runtime> 
   <generatePublisherEvidence enabled="false"/> 
  </runtime> 
</configuration> 
 
The powershell.exe.config file should contain the following: 
 
You could also disable this in IE- 
TOOLS/INTERNET OPTIONS --> ADVANCED --> scroll down to SECURITY --> uncheck "check for publishers certificate revocation"
 
If you recive the following error when trying to exicute the ps1: 
File C:\evbackup\ReadOnly.ps1 cannot be loaded because the execution of scripts is disabled on this system. 
 
Open Windows Power Shell and use one of the follwoing options for an execution policy 
Set-ExecutionPolicy Unrestricted 
Set-ExecutionPolicy RemoteSigned 
 
Comments
Rob_Wilcox1
Level 6
Partner

Good info Wayne, thanks for sharing.

John_Santana
Level 6

Thank you !

can this script called by another backup software ?

Version history
Last update:
‎05-09-2011 08:21 AM
Updated by: