cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise Vault using NTbackup

imrul2001
Level 3

Hello everyone!! i'm new to this forum, so if ive posted in the wrong section, apologies. i have a question and woundering if anyone can help/advice...

We currenty have Enterprise Vault setup in our company and we run Microsoft Exchange 2000, we will really like to backup Enterprise Vault and all the emails that it contains, however i am not sure if it is possible to do this using NTBackup? i have searched the internet without much look and have read through the white papers for EV, which talks about Backup Exec and NetBackup and unfortunetly we dont have the budget to purchase additional software. Any advice will be greatly appreciated...

Many thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Wayne_Humphrey
Level 6
Partner Accredited Certified
imrul,

No offense, but its all over the show. There is no need to split it up like you did.

Stop EV
Place into Read only
Start EV

NOTHING CAN CHANGE NOW......

Backup indexing
C:\EVStorage\Index
Backup Vault Stores
C:\Enterprise Vault Stores
Backup SQL Databases. (Enterprise Vault Directory & EVMailboxVaultStore & EVJournalVaultStore)

Stop EV
Place into Read Write mode
Start EV

If you backup as above I guarantee you I can have that system up and running once the data is restored within 5 min......

regkeys is a nice to have, msdb and master is not necessary in my opinion, unless you worried about restoring permissions ect.

Also I really don't see the benefits of backing up the shopping basket location.

View solution in original post

10 REPLIES 10

Wayne_Humphrey
Level 6
Partner Accredited Certified
Here are some batch files to help you place Enterprise Vault into read-only mode if you on 8 or bellow:

Sample registry file C:\readonly.reg to set the Enterprise Vault server into Read Only mode:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\KVS\Enterprise Vault\Storage]
"EnableArchive"=dword:00000000
"EnableCrawler"=dword:00000000
"EnableExpiry"=dword:00000000
"EnableFileWatch"=dword:00000000
"EnablePSTMigrations"=dword:00000000
"EnableReplayIndex"=dword:00000000

Sample registry file C:\normalmode.reg to set the Enterprise Vault server into Normal (Run) mode:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\KVS\Enterprise Vault\Storage]
"EnableArchive"=dword:00000001
"EnableCrawler"=dword:00000001
"EnableExpiry"=dword:00000001
"EnableFileWatch"=dword:00000001
"EnablePSTMigrations"=dword:00000001
"EnableReplayIndex"=dword:00000001

batch file 'C:\Windows\system32\readonly.bat' to place the Enterprise Vault server into Read Only mode:


REM ---------------------------------------
REM readonly.bat
REM --------------------------------------
REM Stop the appropriate Enterprise Vault services
REM --------------------------------------
net stop /y "Enterprise Vault Task Controller Service"
net stop /y "Enterprise Vault Storage Service"
net stop /y "Enterprise Vault Indexing Service"
net stop /y "Enterprise Vault Shopping Service"

REM --------------------------------------
REM Change the appropriate 'HKEY_LOCAL_MACHINE\SOFTWARE\KVS\Enterprise Vault\Storage' registry keys to 0 for Read Only mode
REM --------------------------------------
regedit /s C:\readonly.reg

REM --------------------------------------
REM Start the appropriate Enterprise Vault services
REM --------------------------------------
net start "Enterprise Vault Shopping Service"
net start "Enterprise Vault Indexing Service"
net start "Enterprise Vault Storage Service"
net start "Enterprise Vault Task Controller Service"

REM --------------------------------------
REM The Enterprise Vault server is now running in Read Only mode
REM --------------------------------------

batch file 'C:\Windows\system32\normalmode.bat' to place the Enterprise Vault server into Normal (Run) Only mode:

REM ---------------------------------------
REM normalmode.bat
REM --------------------------------------
REM Stop the appropriate Enterprise Vault services
REM --------------------------------------
net stop /y "Enterprise Vault Task Controller Service"
net stop /y "Enterprise Vault Storage Service"
net stop /y "Enterprise Vault Indexing Service"
net stop /y "Enterprise Vault Shopping Service"

REM --------------------------------------
REM Change the appropriate 'HKEY_LOCAL_MACHINE\SOFTWARE\KVS\Enterprise Vault\Storage' registry keys to 1 for Normal (Run) mode
REM --------------------------------------
regedit /s C:\normal.reg

REM --------------------------------------
REM Start the appropriate Enterprise Vault services
REM --------------------------------------
net start "Enterprise Vault Shopping Service"
net start "Enterprise Vault Indexing Service"
net start "Enterprise Vault Storage Service"
net start "Enterprise Vault Task Controller Service"

REM --------------------------------------
REM The Enterprise Vault server is now running in Normal (Run) mode
REM --------------------------------------

Wayne_Humphrey
Level 6
Partner Accredited Certified
Hiya,

Ouch, you not backing up Enterprise Vault? Sure you can use NTBackup., how large is your Vault Stores?
  • You will need to place enterprise Vault into read-only mode (regkeys, if you are using a version of Enterprise Vault before v8)
  • Backup SQL (there is a stored procedure - "aspa_BackupEVDatabases", you can use to dump the SQL databases to a flat file)
  • Backup Vault Stores
  • Backup Indexes
  • Take Enterprise Vault out of read-only more.
Dependent on what version of Enterprise Vault you are using will depend on if you can use powershell or not.

Please see this section "SQL stored procedure for backing up Enterprise Vault databases" in the administration guide, all the info you need is in there for the other stuff too: ftp://exftpp.symantec.com/pub/support/products/Exchange_Mailbox_Archiving_Unit/289858.pdf

--wayne

imrul2001
Level 3
wow!! thanks for the quick replies guys!!
Sorry i only got introduced to EV a couple of days ago, so i am not an expert.
I am still on the learning curve.... Is there a step-by-step guide anywhere on how to backup EV using NTbackup or can some be kind enough to talk me through this. I was reading through the below .pdf and it looks like its quite complicated, and i'm a little scared to get it wrong.

http://www.symantec.com/connect/articles/enterprise-vault-best-practiceev-backups

We are using version V6.0.

journal store size is: 3102MB
got 866MB free space

mailbox store size is: 1215MB
got 1094MB free space

Damn looking that the properties it looks like it was created in 2004, so looks like it hasnt been backed up for 4years!!!

Thanks guys your help i really appreciated!





TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
No, there is not a step by step guide for NT backup.  But Wayne has provdided some good information for you and there is also information in the Administrators_Guide.pdf/ chm that will be in the Enterprise Vault installation directory.  There is a section called Enterprise Vault backup procedures that should help you as well.

Regards,

imrul2001
Level 3
No probs thanks for the link Wayne, ive read through it and starting to make sense.
i will let you guys know how it goes, many thanks

Wayne_Humphrey
Level 6
Partner Accredited Certified
No problem, please mark this as resolved once its done.

imrul2001
Level 3
Hi again, i have summarized  the backup procedure for backing up EV, please can someone have a look and see if i am on the right track, will i be able to implement the below using MS NTBackup?


1) Backup database: (Stop the “Enterprise Vault Admin Service” this should stop all EV services and tasks)

1. Enterprise Vault Directory
2. master (for application) (databases located on 2SFG-KVSSQL)
3. msdb (for application)


2) Backup Indexing service: (Stop the “Enterprise Vault Indexing Service”)

1. C:\EVStorage\Index


3) Backup Shopping service: (Stop the “Enterprise Vault Shopping Service”)

1. C:\EVStorage\Shopping


4) Backup Vault Store file: (Stop the “Enterprise Vault Storage Service”)

1. C:\Enterprise Vault Stores


5) Backup Vault Store SQL databases: (Do this only after Step 4 has completed)

1. EVJournalVaultStore
2. EVMailboxVaultStore
3. master (for application) (databases located on 2SFG-KVSSQL)
4. msdb (for application)


6) Backup Enterprise Vault registry entries:
1. HKEY_LOCAL_MACHINE\software\KVS\Enterprise Vault
2. HKEY_CURRENT_USER\software\KVS\Enterprise Vault

Wayne_Humphrey
Level 6
Partner Accredited Certified
imrul,

No offense, but its all over the show. There is no need to split it up like you did.

Stop EV
Place into Read only
Start EV

NOTHING CAN CHANGE NOW......

Backup indexing
C:\EVStorage\Index
Backup Vault Stores
C:\Enterprise Vault Stores
Backup SQL Databases. (Enterprise Vault Directory & EVMailboxVaultStore & EVJournalVaultStore)

Stop EV
Place into Read Write mode
Start EV

If you backup as above I guarantee you I can have that system up and running once the data is restored within 5 min......

regkeys is a nice to have, msdb and master is not necessary in my opinion, unless you worried about restoring permissions ect.

Also I really don't see the benefits of backing up the shopping basket location.

imrul2001
Level 3
Hi again Wayne thanks for the help again, i think im just being a bit stupid, however this is now resolved.

many thanks

HKP11
Level 4
Hi Wayne,

Do you registry scripts (setting backup mode and setting to normal mode) apply to EV 8.0.2?  I don't see these keys under HKLM\Software\KVS\Enterprise Vault\Storage on my EV server.

Thanks,
HKP