Migrate Enterprise Vault Database to New SQL Server

Before beginning of database migration note down below important things

  1. SQL Server Name : –  SQL Server can be confirmed from the EV admin console and registry as below




Fingerprint database  :-  Run the “select *from FingerprintCatalogueDatabase” to check finger print database name


Vault store Database :-  expand directory database –> table –>  Right Click  dbo.vaultstoreGroup –> Select top 1000 Rows


Permission requirement on New sql Server

1. Confirm the Vault Service Account is a member of the local administrators group.

2. Confirm the Vault Service Account is assigned the dbcreator role.

            a. Open SQL Server Management Studio

            b. Expand Security Logins > right-click the Vault Service account and select Properties.

            c. Click Server Roles and confirm dbcreator is checked.

3. Grant the Vault Service account “Select” permissions on the following msdb tables:

  • sysjobs
  • sysjobschedules
  • sysjobservers
  • sysjobsteps.

Note: Use the following script to grant select permissions to the Vault Service Account over the MSDB tables. Replace DOMAIN\VSA by the Vault Service Account:



GRANT SELECT ON dbo.sysjobschedules TO “DOMAIN\VSA”

GRANT SELECT ON dbo.sysjobservers TO “DOMAIN\VSA”


4. Assign the database role “SQLAgentUserRole” to the Vault Service account.

5. Confirm TCP/IP and/or Named Pipes are enabled.

            a. Open SQL Server Configuration Manager

            b. Expand SQL Server Network Configuration and click Protocols for <instance name>.

            c. Confirm Named Pipes and/or TCP/IP is Enabled under the Status

  1. Check all other required permission from Enterprise vault installation and configuration guide

Backup and restore Database to new Server

Stop all the Enterprise Vault Service from all the EV Servers

Engage DBA (Database administrator) and backup and restore database to new sql Server

Now it’s time to update Entry for New SQL Server

Update the Fingerprint Database

Run attached script as mention in following article , https://www.veritas.com/docs/000035817

Update the Monitoring Database

1. Open SQL Server Management Studio

2. Run the following query, substituting the New_SQL_Server value with the hostname of the new SQL server:

USE EnterpriseVaultDirectory

UPDATE MonitoringSettings

SET SQLServer = ‘New_SQL_Server’

Update the Directory Database in the registry

his step is performed on the Enterprise Vault Server.

1. Click Start > Run , type regedit and click OK .

For 32bit systems, HKEY_LOCAL_MACHINE\Software\KVS\Enterprise Vault\Directory\DirectoryService.

For 64bit systems, HKEY_LOCAL_MACHINE\Software\Wow6432Node\KVS\Enterprise Vault\Directory\DirectoryService

2. Double-click the SQLServer Name string value.

3. Enter the name of the new SQL server in the value data field and click OK.

4. Start the Enterprise Vault Directory Service, this will also start the Admin Service.

Update the Vault Store Database

This step is performed on the Enterprise Vault Server.

1. Open the Vault Administration Console (VAC), right-click the name of the Vault Store and select Properties.

2. Select the Database tab.

3. Next to SQL Server, enter the name of the new SQL server and click OK.

4. Repeat steps 1-3 for any remaining Vault Stores.

5. Start the remaining Enterprise Vault services

Update the Audit Database

This step is performed on the Enterprise Vault Server.

Note: No Enterprise Vault services need to be stopped for this step.

The EVAudit System DSN must be updated with the new location of the audit database.

1. For 32bit systems, Open Data Sources (ODBC) from the Administrative Tools panel on the Enterprise Vault Server. For 64bit systems, browse to %systemroot%\syswow64\odbcad32.exe

2. Select the System DSN tab.

3. Select the EVAudit entry.

4. Click the Configure button.

5. On the first page of the wizard, under Which SQL Server do you want to connect to?, enter the name of the new SQL server.

6. Continue through the wizard and click Finish to apply the changes.

Resume EV operations using the New SQL Server

  1. Start all EV Services on check event viewer for any error connecting to database

Base Source :-


Enterprise Vault Installation and configuration guide

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s