Enterprise Vault 14.2 onwards, Elasticsearch is the new indexing engine.
The Elasticsearch engine does not support backing up index data through a filesystem backup. Instead, it recommends taking snapshots of index data stored in the Elasticsearch index location. There may be an instance where you must restore the snapshot of indexing data taken on one index server on a different index server.
To restore the indexing data snapshot on a different index server, perform the following actions:
Get-EVIndexSnapshot.
Set-EVIndexSnapshotLocation.Get-EVIndexSnapshotLocation.
Restore-EVIndexSnapshot command on that server.USE EnterpriseVaultDirectory
SELECT CE.ComputerName, CE.ComputerNameAlternate, IRP.IndexRootPathEntryID, IRP.IndexRootPath, ISE.ServiceEntryID, ISE.Description
FROM ComputerEntry CE, IndexingServiceEntry ISE, IndexRootPathEntry IRP
WHERE CE.ComputerEntryID = ISE.ComputerEntryID AND ISE.ServiceEntryID = IRP.IndexServiceEntryID
ORDER BY CE.ComputerName
Note: Take note of the IndexRootPathEntryIDs for the old index root path and the new index root path.
USE EnterpriseVaultDirectory
DECLARE @OrigIndexRootPathEntryId EVGUID
DECLARE @NewIndexRootPathEntryId EVGUID
SET @OrigIndexRootPathEntryId = 'old IndexRootPathEntryId'
SET @NewIndexRootPathEntryId = 'new IndexRootPathEntryId'
-- Update the index volumes to point at the new location
UPDATE IndexVolume
SET IndexRootPathEntryId = @NewIndexRootPathEntryId
WHERE (IndexRootPathEntryId = @OrigIndexRootPathEntryId)
ndexRootPathEntryId should be replaced with the IndexRootPathEntryId the value returned for the old index root path in step 9-1 above. The new IndexRootPathEntryId should be replaced with the IndexRootPathEntryId the value returned for the new index root path in step 9-1.UPDATE IndexingServiceEntry
SET IVSyncNeeded = 2
WHERE ServiceEntryId IN (SELECT IndexServiceEntryId FROM IndexRootPathEntry WHERE
IndexRootPathEntryId IN(@OrigIndexRootPathEntryId, @NewIndexRootPathEntryId))Note: When the Indexing Services start up, they will synchronize their respective index volume metadata, depending on the number of index volumes associated with the index root path relocation, this may take some time. The progress can be monitored in the Event Log.
From Enterprise Vault 14.5 onwards, Elasticsearch index snapshots save the State.dat index metadata to the snapshot location. Upon restoring the snapshot, the index metadata in the State.dat files is also restored. This enables the indexing engine to synchronize the index data automatically.
Note:
The snapshot and restore operation is limited only to the Elasticsearch index. If you want the Elasticsearch index and the archived items in storage to be backed up and restored at the same point in time, you must take a snapshot of the entire Enterprise Vault machine and its related machines (such as SQL server, domain controller (DC), storage server, and so on).