03-21-2011 08:09 PM
Hi,
Can anyone share here your pre and post backup powershell script to securely and successfully backup Enterprise Vault server v8.0 SP4 and above using 3rd party backup application ?
from my understanding I just need to backup the EV server VM using any 3rd party VSS aware backup application, but then it is not enough.
Any kind of help would be greatly appreciated.
Thanks,
DGomez
Solved! Go to Solution.
03-24-2011 06:19 AM
As Andrew states it doesn't matter which version of EV or OS you're using, you have to turn EV into RO-mode to make sure you have a consistant backup.
The tech note you refer to is just to generate the scripts to be used as pre/post commands.
The only option you have to not use the scripts is to use Netbackup or Backup Exec with the EV Agent, as the agent will deal with backupmode through the agent.
03-21-2011 11:19 PM
Refer the following document
http://www.symantec.com/docs/TECH66742
Also refer the related documents in the above techote.
Hopefully this answers your queries
03-22-2011 07:01 AM
Here are some simple examples for a 32 bit OS server (check the .doc for the path difference).
These are just the EV specific parts, e.g. you may want to add a sql backup command to the pre-script.
You need to replace whatever is surrounded by <> including the <> characters, if you want to do it on a site level, refer to the docs for the syntax.
If you're going to do snapshot backups you can't use the Archive Bit as trigger for replacing original items with a shortcut, you have to use a trigger file.
So in the post script add a line like (in the root for each partition that you backup, obviously you need to edit the path :) )
echo >> "F:\EVStorage\Mail Store Ptn1\IgnoreArchiveBitTrigger.txt"
Pre-Script:
PowerShell -psconsolefile "C:\Program Files\Enterprise Vault\EVShell.psc1" -command "& {set-vaultstorebackupmode '<VAULT STORE GROUP NAME>' <EV SERVER NAME> vaultstoregroup; set-indexlocationbackupmode <EV SERVER NAME>}"
Post-Script:
PowerShell -psconsolefile "C:\Program Files\Enterprise Vault\EVShell.psc1" -command "& {clear-vaultstorebackupmode '<VAULT STORE GROUP NAME>' <EV SERVER NAME> vaultstoregroup; clear-indexlocationbackupmode <EV SERVER NAME>}"
Br,
Fredrik
03-22-2011 05:08 PM
ok, on second thought, I thought this requirement was removed by our most recent version of EV? We used to have these scripts in place yet removed them once a particular service pack for EV went in.
I'm using EV 8.0 SP4 so just wondering if this is still required ?
03-22-2011 06:05 PM
The requirement will be for all versions of EV going forward.
Previously it was done via registry keys (such as EnableArchive etc) and whilst those still can be used today, you will get a warning saying that they are legacy and will be removed in future versions of the product.
A requirement for going in to read only/backup mode however will never go away, and for now powershell will be the programattic method of putting EV in to backup mode....the only other way to do it is through the VAC but for a backup routine it is not viable at all
03-22-2011 07:45 PM
Thanks Jesus,
I was just under the impression that it is no longer required, but then the article from: http://www.symantec.com/business/support/index?page=content&id=TECH66742
Enterprise Vault for Microsoft Exchange -> 8.0 -> 8.0 SP4 (still needed) but.....
Environment
but mine is Enterprise ?
how about EV 9 does it still needs to do this ? or if the underlying OS is Windows Server 2008 does it needs this powershell script as well ?
03-22-2011 10:47 PM
dushan, you need to put EV into backup mode regardless of the EV version and regardless of the OS.
03-24-2011 06:19 AM
As Andrew states it doesn't matter which version of EV or OS you're using, you have to turn EV into RO-mode to make sure you have a consistant backup.
The tech note you refer to is just to generate the scripts to be used as pre/post commands.
The only option you have to not use the scripts is to use Netbackup or Backup Exec with the EV Agent, as the agent will deal with backupmode through the agent.
03-24-2011 07:52 AM
Just a quick note if you go the backup agent route - You'll want to check the compatibility list with Netbackup or Backup Exec with the EV Agent to make sure your version of backup software will work with your version of EV.
03-24-2011 05:21 PM
No Dushan, it will still be required even until SP5
03-27-2011 07:29 PM
@James, Well let's hope that you are right james, because I prefer installing SP5 rather than implementing pre/post backup script.
from the article that Rahul sent: http://www.symantec.com/business/support/index?page=content&id=TECH66742
it doesn't say anything about EV 8.0 SP5 so I take that up until SP4 the script is needed, cmiiw I better upgrade to Sp5 rather than creating some script which could break the system or the backup process.
03-28-2011 12:26 AM
There were changes made in the backup procedure from Ev 8.0 onwards and it had remain same for all the versions of Ev 8.0 and also it is same for version 9.0 as well... So if youa re upgrading to Ev 8.0 sp5 the backup procedure would remain the same which would be using the powershell scripts.