Problem
This article describes how to move a vault store partition or vault store on the same Enterprise Vault server from one location to another.
Note: This article discusses the procedures to move a vault store partition from NTFS or Network location and does not perform migrations of the data from one platform to another such as Streamer to S3.
Solution
Step | Summary of Step |
Step 1 | Confirm all archived items have been backed up (SQL Server) |
Step 2 | Set backup mode, stop services, and copy vault stores or vault store partition to new location (Enterprise Vault Server) |
Step 3 | Update the Vault Store location in SQL (SQL Server) |
Step 4 | Start services, confirm archived items can be opened, and clear backup mode (Enterprise Vault Server) |
Note: Run a full backup on the EV SQL databases and vault store partitions before proceeding. Review the Best Practices for Enterprise Vault Backup for more information.
Step 1
Confirm all archived items have been backed up (SQL Server)- Open SQL Server Management Studio.
- Run the following query:
USE [Vault Store Database Name]
SELECT COUNT(*)
FROM WatchFile
- If the count is 0, proceed to step 2. If the count is greater than 0, there are items left waiting either backup or indexing.
Step 2
Set backup mode, stop services, and copy vault stores or vault store partition to new location (Enterprise Vault Server)
- Set Backup Mode:
- In the left pane of the administration console, expand the Vault Store Group container.
- Right-click the vault store group whose vault stores need to be placed in backup mode, and click Set State > Set Backup Mode on all Vault Store
Note: More information about Enterprise Vault backup mode.
- Stop all Enterprise Vault services.
- Copy the Vault Store data from the old location to the new location.
Open SQL Server Management Studio
- Expand Databases
- Expand EnterpriseVaultDirectory
- Expand Tables
- Right-click the VaultStoreEntry and select Open Table or Select Top 1000 Rows
- Search the VaultStoreName column for the VaultStore that contains the partition that is being moved and take note of the corresponding VaultStoreEntryId
- Close the VaultStoreEntry table
- Right-click the PartitionEntry and select Open Table or Edit Top 200 Rows.
- In the VaultStoreEntryId column, locate the VaultStoreEntryId from step 5 that corresponds to the Partition that is being moved
- Modify the PartitionRootPath column with the updated location of the moved Partition
- Repeat for each Partition that is being moved
Note: If the location is a NAS device and not a local drive, simply update the PartitionRootPath to the new UNC path rather than using a local file path.
Step 4
Start services, confirm archived items can be opened, and clear backup mode (Enterprise Vault Server)- Start all Enterprise Vault services
- Confirm archived items can be opened
- Clear backup mode
- In the left pane of the administration console, expand the Vault Store Group container.
- Right-click the vault store group whose vault stores need to have backup mode cleared, and click Set State > Clear Backup Mode on all Vault Stores