Enterprise Vault™ PowerShell Cmdlets
- Introducing the Enterprise Vault PowerShell cmdlets
- Archiving: Exchange
- Archiving: FSA
- Archiving: Skype for Business
- Archiving: SMTP
- Backup
- Classification
- Databases
- IMAP access
- Indexing
- Records management
- Retention plans
- Roles-based administration
- Sites and servers
- Tasks and services
- Vault stores and archives
Import-EVIndexData
Import-EVIndexData imports the Index data exported from one Index server to another.
Import-EVIndexData [-WhatIf <SwitchParameter>] [-Confirm <SwitchParameter>] -RepositoryName <String> -SourceEVServerName <String> [-EVServerName <String>] [<CommonParameters>]
Import-EVIndexData [-WhatIf <SwitchParameter>] [-Confirm <SwitchParameter>] -NonElastic <SwitchParameter> -IndexLocation <String> -SourceEVServerName <String> [-EVServerName <String>] [<CommonParameters>]
Import-EVIndexData imports the index data from one index server to another. This cmdlet assumes that the index data from the source server is already copied to the destination server. For the Elasticsearch index volumes, the snapshot repository created by Export-EVIndexData should be copied at the configured snapshot location of the destination server. For the non-Elasticsearch volumes, the index data folder on the source Enterprise Vault index server should be copied to a folder on the destination Enterprise Vault index server. After the import operation, all the indexing functionality of imported index volumes will be performed by the destination Enterprise Vault index server.
Before executing the Import-EVIndexData cmdlet, ensure the following:
Copy the snapshot repository folder to the destination Enterprise Vault index server's snapshot location path
\<ESVersionFolder>
. For example, <ES snapshot location path>\<7.x>.The snapshot location path is identical for both the source and destination Enterprise Vault Index servers.
The source and destination Enterprise Vault servers must belong to the same Enterprise Vault site. If the source server is part of an index server group, the destination index server must also be in the same group.
After executing the Import-EVIndexData cmdlet, perform the following steps:
If the source Enterprise Vault index server is not a part of an Index server group, the Vaultstores, and Vaultstore partitions within the server must be moved to the destination Enterprise Vault index server. For details about moving the Vaultstore to the destination Enterprise Vault server, see https://www.veritas.com/support/en_US/article.100017529.
If the index volumes are marked offline after the export operation, they can be marked online again after Import-EVIndexData is completed.
Table: Import-EVIndexData parameters
Parameter | Type | Description |
---|---|---|
-WhatIf | SwitchParameter | Instructs the command to simulate its actions on the object. Using the WhatIf switch, you can preview the impending changes without executing them. You do not need to specify a value when using WhatIf. |
-Confirm | String | Suppresses the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax. |
-RepositoryName | String | The name of the repository that contains the exported index data from the source Enterprise Vault index server. |
-SourceEVServerName | String | The source server of the exported index data in the snapshot. You can use the Get-EVComputers command to obtain the Enterprise Vault index server name. For the non-Elasticsearch index volumes, it is the source Enterprise Vault index server from which index data is copied to the destination server. |
-EVServerName | String | The name of the Enterprise Vault index server on which you want to import the index data. If you omit this parameter, Import-EVIndexData uses the hostname of the Enterprise Vault index server where the command is running. You can use the Get-EVComputers command to obtain the Enterprise Vault index server name. |
-NonElastic | SwitchParameter | Non-Elastic switch instructs the cmdlet to perform import index operation for the non-Elasticsearch index volumes. |
-IndexLocation | String | Specifies the path at which the non-Elasticsearch index data is copied on the destination Enterprise Vault index server. |
Import-EVIndexData -RepositoryName MySnapshotRepository -SnapshotServerName myevsourceserver.domain.com
This command imports the index data exported in the snapshot repository MySnapshotRepository from the source server myevsourceserver.domain.com to the server where this command is running. The snapshot repository folder from the source server must be copied to the active snapshot location of the local Enterprise Vault index server before running this command.
Import-EVIndexData -RepositoryName MySnapshotRepository -SnapshotServerName myevsourceserver.domain.com-EVServerName mydestinationev.domain.com
This command imports the index data exported in the snapshot repository MySnapshotRepository from the source server myevsourceserver.domain.com to the server mydestinationev.domain.com.
The snapshot repository folder from the source server must be copied to the active snapshot location of the destination Enterprise Vault server before running this command.
Import-EVIndexData -NonElastic -SourceEVServerName myevsourceserver.domain.com -EVServerName mydestinationserver.domain.com -IndexLocation C:\EVStorage\Index
Imports the non-Elasticsearch Enterprise Vault index data from the Enterprise Vault index server myevsourceserver.domain.com into the server mydestinationserver.domain.com. The index data must be copied to the path
C:\EVStorage\Index
on the destination Enterprise Vault index server before execution of this command.Import-EVIndexData -NonElastic -SourceEVServerName myevsourceserver.domain.com -IndexLocation C:\EVStorage\Index
Imports the non-Elasticsearch Enterprise Vault index data from the Enterprise Vault index server myevsourceserver.domain.com. The index data must be copied at path
C:\EVStorage\Index
on the destination Enterprise Vault index server before executing this command. The destination Enterprise Vault index server is assumed to be the local server where this command is executed.Import-EVIndexData -NonElastic -SourceEVServerName myevsourceserver.domain.com -IndexLocation \\Servername\MyIndexShare
Imports the non-Elasticsearch Enterprise Vault index data from the server myevsourceserver.domain.com. The index data must be present at the path
\\Servername\MyIndexShare
before the execution of this command. The path must be accessible from the destination Enterprise Vault index server. The destination Enterprise Vault index server is assumed to be the local server where this command executes.
To see examples of Import-EVIndexData, type get-help Import-EVIndexData -examples.
For more information about Import-EVIndexData, type get-help Import-EVIndexData -detailed.
For more technical information about Import-EVIndexData, type get-help Import-EVIndexData -full.
See Export-EVIndexData.