Do we have some ready made batch files available
Do we have some ready made batch files available on EV server or download location
which can be used to put it in backup mode and second to remove it from backup mode.
Here's another example of how you can do it. Modify the paths and variables to suit your environment:
To Set Backup Mode:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell -PSConsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {Set-IndexLocationBackupMode -EVServerName EVSERVER -EVSiteName EVSITE}"
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell -PSConsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {Set-VaultStoreBackupMode -Name EVSITE -EVServerName EVSERVER -EVObjectType site}"
To Clear Backup Mode:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell -PSConsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {Clear-IndexLocationBackupMode -EVServerName EVSERVER -EVSiteName EVSITE}"
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell -PSConsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {Clear-VaultStoreBackupMode -Name EVSITE -EVServerName EVSERVER -EVObjectType site}"