---
title: "Using Migrate (custom configuration)"
description: "Migrate large, active workspaces with the Files first workflow, copying repository files ahead of time to reduce workspace downtime, then track and validate."
feature: "Data migration"
audience: ["end user", "developer", "system analyst", "system administrator", "system engineer"]
version: "Relativity aiR"
type: ["User Guide", "Tutorial"]
tocPath: "Features|Data transfer"
url: "https://help.relativity.com/RelativityaiR/Content/Data_migration/Migrate/Migrate_custom_configuration.htm"
lastModified: "2026-11-12"
---

# Using Migrate (custom configuration)

You can use Files first workflow through a custom configuration in Migrate. This workflow is primarily intended for large, active workspaces. It is designed to give you the flexibility to schedule workspace downtime for an active case. At a high level, the first step in the Files first workflow requires copying the workspace repository files from the server instance to Relativity aiR. This can help reduce the size of the archive, transfer, and restoration. This in turn can help reduce workspace downtime. After the files are transferred, you can start the migration job. The workspace remains inactive until restoration is complete.

For instructions on Migrate setup and configuration, go to [Migrate setup](https://help.relativity.com/RelativityaiR/Content/Data_migration/Migrate/Migrate_setup.md) page.

If you are registering your Relativity Server instance with Relativity aiR for the first time or want to mange the migration source, refer to [Registering your Relativity Server instance with Relativity aiR for the first time](https://help.relativity.com/RelativityaiR/Content/Data_migration/Migrate/Migrate_workflow.md#Registering%20your%20Relativity%20Server%20instance%20with%20RelativityOne%20for%20the%20first%20time).

## Preparing server instance for migration

Follow these instructions to prepare your server instance for migration.

### Step 1 - Pre-migration file validation

Check if any files are missing using the File Validation application. For details, see [File validation](https://help.relativity.com/RelativityaiR/Content/Advice_Hub_Solutions/File_validation.md).

### Step 2 - Installing and launching Staging Explorer on the server instance

For detailed instructions, go to [Installing, launching, and updating Staging Explorer](https://help.relativity.com/RelativityaiR/Content/Relativity/RelativityOne_Staging_Explorer/Installing__launching__and_updating.md).

### Step 3 - Copying workspace files to the Relativity aiR environment

Complete the following steps:

1. On a server that has direct access to the file share for the Relativity on-premise instance, install the Staging Explorer or other file copy tool that has permissions to write in the Relativity aiR environment. If using Staging Explorer:
   - Appropriate ports need to be opened for the appropriate endpoint.
   - You need to have the most recent version installed on this server.
   - Ensure that the file share is mapped on your machine.
2. Move the EDDSXXXXXXX folder that is located inside the Files directory into the ARM folder in the Relativity aiR file share. For example, *\\\\files.TXXX.xxxxXXXXXX.relativity.one\\TXXX\\ARM\\FilesFirst\\*. If the EDDSXXXXXXX folder is split across multiple file servers, you can combine the files into one EDDSXXXXXX folder because the files have unique identifiers.  
   ![Moving EDDSXXXXXXX folder in Staging Explorer](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/SCR_MigrateFilesFirstMovingEDDSXXXXXXXFolder.png)
3. Verify that the folder is transferred to the Relativity aiR instance. You can check the file count in your on-premise instance by checking the count on the File table in the workspace.

## Preparing Relativity aiR instance for migration

> **Note:** If you are still using the old ARM UI, take the following additional step to configure ARM archive locations. Skip this step if you switched to the new ARM UI.

Complete the following instructions to configure ARM archive locations in the old ARM UI:

1. Use tabs, search, or the quick nav bar to navigate to the ARM Jobs page.
2. Select the Configuration tab and click **Edit**.
3. In the ARM Archive Locations section, click **Add** for a new ARM archive location.
4. Enter the parent directory under which you place your Repository files folder. For example, if your workspace repository files were copied to *\\\\files.TXXX.xxxxXXXXXX.relativity.one\\T001\\ARM\\FilesFirst\\EDDSXXXXXXX*, you need an ARM Archive Location to be created for *\\\\files.TXXX.xxxxXXXXXX.relativity.one\\T001\\ARM\\FilesFirst*.  
   ![An ARM Archive Location for files first workflow](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/SCR_MigrateFilesFirstARMArchiveLocation.png)

Follow these instructions to prepare your Relativity aiR instance for migration.

### Step 1 - Configuring migration

> **Note:** If you use the **New Migration (Custom Configuration)** button and want to go through Files first workflow, the migration only succeeds if the workspace is migrated with Include Repository Files and Include Processing Files options unchecked and Include Database Backup option checked.

Complete the following steps:

1. Use tabs, search, or the quick nav bar to navigate to the Migrate page.
2. Click **New Migration (Custom Configuration)** if you are planning to use Migrate custom configurations.  
   ![Adding a new custom migration](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/SCR_MigrateNewMigrationCustomConfiguration_1200x972.png)
3. Enter name for the migration in Migration Name field.
4. Select Migration Source from the drop-down list.
5. (Optional) In Recipients section, enter email address of a person that will be notified of the migration status.
6. Complete the following fields:
   - **Source Instance Identifier (GUID)**—populate this field with the server instance identifier.
   - **Source Workspace Artifact ID**—populate this field with the source workspace artifact ID.
7. Complete options in the Archive Configuration section. For more information, go to [Archive Configuration options](#Archive).

   > **Note:** If you are going through Files first workflow, check Database Backup option and uncheck Include Processing Files and Include Repository Files options.
8. If you are going through Files first workflow, toggle **Files First Workflow** option on. Note that the files must have been transferred and have landed in the workspace's ARM archive directory. If the toggle is on, Additional Files Directory drop-down list is auto populated with the file directory for the selected workspace going through the files first workflow. This will be the file location where the workspace files need to be already transferred before restoring the case.

   > **Note:** You need to add the EDDS\[CaseArtifactID\] folder directly under the \[stagingarea\]\\ARM\\ folder. That way, if the source case artifact ID matches the EDDS folder's case artifactID, you see that folder in the Additional Files Directory drop-down list.
9. If you want to add other workspaces to the migration, click **Add Another Workspace**.
10. When ready, click **Start Migration**.

To check the migration status, navigate to the Migrate page and select the desired migration. For more information on tracking the ongoing migrations, see [Step 3 - Tracking migrations](#Step).

#### Archive Configuration options

<details>
<summary>The following options are available in the **Archive Configuration** section:</summary>

- **Include Analytics Indexes**—select this checkbox to include Analytics indexes in the archive directory.

  > **Notes:**
  > - You cannot archive a workspace from Relativity aiR to Relativity Server.
  > - If Analytics indexes or Structured Analytics sets exist in the workspace, but you do not select the option to include them, when the workspace is restored, these will cease to function and will need to be removed and recreated. It is very important to archive these if you want to keep them.
- **Include Data Grid**—select this checkbox to include Data Grid application data if present. If you are using any of the Data Grid features such as Audit or storing long text, we recommend selecting this checkbox.

  > **Note:** When Include Data Grid is unselected, a warning will appear alerting you that this action may create an incomplete archive of Relativity audits or long text document fields. It is recommended this option be selected if Data Grid or Audit is included in the workspace.
- **Include Database Backup**—select this checkbox. Selecting this option includes the workspace database in the archive. The database will be backed up, compressed, and placed in the archive directory. This option must be checked if you are going through Files first workflow.
- **Include DtSearch**—select this checkbox to include dtSearch indexes in the archive directory. If dtSearch indexes exist in the workspace, but you do not select the option to include them, when the workspace is restored, those indexes will cease to function and will need to be removed and recreated from scratch. It is very important to archive dtSearch indexes if you want to keep them.
- **Include Structured Analytics**—select this checkbox to include structured analytics sets such as email threading, language identification, etc.
- **Include Repository Files**—select this checkbox to include all files in the workspace file repository in the migration. Deselect it if you are going through Files First workflow.
- **Include Linked Files**—select this checkbox to include files that are linked to the workspace, but that are not located in the workspace file repository, in the archive directory.

  > **Notes:**
  > - Linked files included in the archive will be placed into the restored workspace repository after a successful restore.
  > - Linked files will be any files marked as InRepository=0 in the File table which include files loaded with pointers.
- **Include Processing**—select this checkbox to include Invariant/Processing data in the archive directory.
  - When you enable this, ARM takes all information from both the Store database and the primary Invariant database relevant to the jobs in the Store. It also packages all discovered files, including non-repository files, from the Invariant data source location.
  - You must have the Processing Migration Agent installed and enabled in order to use this option. If that agent is disabled, you will receive an error when you attempt to archive.
  - You should not have any processing jobs, such as inventory, discovery, or publish, running in the workspace you are archiving while performing the processing archive job.
  - If you receive an authentication error during the archive job, verify that the IdentityServerURL entry in the Invariant AppSettings table contains a valid address with a fully qualified domain name.

  > **Note:** When Include Processing is not selected, be aware that ARM will not archive Invariant database or discovered files, and published files will be treated as Linked files. Also, you will not be able to process any data, such as documents, sets, profiles, from the source workspace in the restored workspace because it was not included when archived. Additionally, if you do not plan to use Processing after restoring, but you need a copy of published files, then do not select Include Processing and select Include Linked Files under the Options section.
- **Include Processing Files**—select this checkbox to include all the files and containers that have been discovered by Processing in the migration. Deselect it if you are going through Files First workflow.
- **Include Extended Workspace Data**—select this checkbox to include all admin scripts, non-core applications, and standalone resource files as exports in the archive directory. This option should be selected to preserve the status of a Repository workspace when restored.

  > **Note:** The [Repository Workspace application](https://help.relativity.com/RelativityaiR/Content/Relativity/RelativityOne_document_repository.md) will be included in the archive created when you select Include Extended Workspace Data.
- **Missing File Behavior**—select from the drop-down menu whether to skip missing repository files and complete the job or to stop the job when a missing file is encountered.
  - **Skip File**—if you select to skip missing files to keep the job running, a CSV file is provided after the job has completed so that you can review the files that were skipped.
  - **Stop Job**—if the job is set to stop on missing files, the first missing file will immediately stop the job, and that file must be placed in the expected location before the job can resume.
- **Application Error Export Behavior**—if Include Extended Workspace Data is selected, this field appears.
  - **Skip Application**—this is the default selection. This option keeps running the job even if it encounters multiple errored applications. After the job has completed, a CSV file is provided so you can review the applications that errored and were skipped.
  - **Stop Job**—select this option to stop the job on the first errored application.
- **Processing Missing File Behavior**—select from the drop-down list whether to skip missing files and complete the job or to stop the job when a missing file is encountered.
  - **Skip File**—if you select to skip file, the job will continue.
  - **Stop Job**—if you select to stop the job, the first missing file will immediately stop the job, and that file must be corrected before the job can resume.

</details>

### Step 3 - Tracking migrations

You can track migrations in the following ways:

- [Viewing all migrations](#Viewing)
- [Viewing migration status](#Viewing2)
- [Viewing migration wave progress information](#Viewing3)
- [Viewing workspace status](#Viewing4)

#### Viewing all migrations

View All Migrations is a list of all in progress or completed, regardless of the status, migrations on Relativity aiR instance.

To view all migrations, during workspace assignment or migration step, click View All Migrations in the upper right corner.

![Progress window with View All Migrations link](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/Migrate_30.png)

> **Note:** When on the Select & Assign step, **View All Migrations** is only available before selecting a workspace. When at least one workspace is selected **View All Migrations** is not available.

#### Viewing migration status

Migration statuses include the following:

- **Scheduled**—the first migration status right after clicking **Migrate Workspaces**.
- **In Progress**—when migration is in progress.
- **Completed**—all the workspaces are successfully migrated or some workspaces are canceled.
- **Completed With Warnings**—failed workspaces are abandoned. For more information, see [Abandon Failed Workspace Migrations](#_Abandon_Failed_Workspace).
- **Completed With Errors**—at least one workspace is in any failed status and all the others are in *Migrated* status.
- **Canceled**—all the workspaces are canceled.

#### Viewing migration wave progress information

Migration wave progress information includes the following:

- **Total Workspaces**—presents current migrated workspaces count out of the total workspaces count
- **Total Data Size**—presents current migrated data size out of the total data size
  - MDF File Size
  - LDF File Size
  - Image File Size
  - Native File Size
  - Production File Size
- **Total Files**—presents current migrated files count out of the total files count
  - Processing Files
  - Repository Files
- **Failed Workspaces**—presents failed workspaces count
- **Abandon Workspaces**—presents abandon workspaces count

#### Viewing workspace status

Workspace status properties include the following:

- **In Queue**—workspace is scheduled and waiting to be archived.
- **Cancel Requested**—workspace was requested to be cancel.
- **Cancel Request Failed**—workspace failed on cancel request.
- **Canceling**—workspace is being canceled.
- **Canceling Failed**—workspace failed on cancel.
- **Canceled**—workspace is successfully canceled.
- **Archive Requested**—workspace was requested to be archived.
- **Archive Request Failed**—workspace failed on archive request.
- **Archiving**—workspace is being archived.
- **Archiving Failed**—workspace failed on archive.
- **Archive Created**—workspace has been archived.
- **Transfer Requested**—workspace was requested to be transferred.
- **Transfer Request Failed**—workspace failed on transfer request.
- **Transferring**—workspace is being transferred.
- **Transfer Failed**—workspace failed on transfer.
- **Transfer Completed**—workspace has been transferred.
- **Restore Requested**—workspace was requested to be restored.
- **Restore Request Failed**—workspace failed on restore request.
- **Restoring**—workspace is being restored.
- **Restoring Failed**—workspace failed on restore.
- **Migrated**—workspace is successfully migrated.
- **Abandon Requested**—failed workspace was requested to be abandoned.
- **Abandoned**—failed workspace has been abandoned.
- **Abandon Failed**—failed workspace failed on abandon.

#### Viewing workspace progress details

To see detailed information about workspace progress:

1. Click the details icon (within Details column). The following Workspace Progress Details modal opens.  
   ![Graphical user interface, application Description automatically generated](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/Migrate_33.png)  
   You can track migration progress on each step of its migration workflow, for example, archiving, transferring, restoring.  
   Move between the tabs to learn more detailed information about a step. The content of the tabs can vary workspace by workspace.
2. Click Download Report to download a detailed report of Workspace Progress details.

   > **Note:** Currently this report is a JSON format. The report file will be in the following format: **\<workspace name>\_details\_\<timestamp>.json**. For example, Sample Workspace_details_2020-12-01-10-28-27.json.

### Step 4 - Post-migration file validation

Check if any files are missing after the migration using the File Validation application. For details, see [File validation](https://help.relativity.com/RelativityaiR/Content/Advice_Hub_Solutions/File_validation.md).

## Other available actions

### Changing the migration name

You can change the migration name on Preview, Migrate and View All Migrations page.

1. To edit the migration name, click the Edit icon (pencil) next to Migration.  
   ![Graphical user interface, application Description automatically generated](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/Migrate_40.png)
2. Edit the name as needed, then click Save. The default migration name is “**Migration\[migration consecutive number\]**”, for example Migration, Migration1, Migration2, etc.

### Canceling migration setup

You can cancel a migration setup at Select & Assign and Preview step.

1. To cancel migration setup, click **Cancel** at the Select & Assign or Preview step.
2. On the confirmation modal that appears, click Yes, Cancel Setup.You will start over from the assigning workspaces step.

### Canceling workspace migration

You can cancel a migration of a workspace at *In Queue*, *Archiving*, and *Transferring* status.

1. Click the circled X ![X icon](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/migrate_cancel_icon.png)icon next to the workspace status on the Migrate step.  
   ![Sample workspace list with circled X icon.](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/migrate_cancel_step.png)
2. On the confirmation modal that appears, click **Confirm**. The status of the workspace will change to Canceled and the workspace will not be migrated.

### Managing email notifications

You can use email notifications to keep your team informed about ongoing migrations. To manage email notifications:

1. Click **Manage Notifications** during the Preview step. The following modal will appear.  
   ![Email notifications box on modal.](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/SCR_MigrateEmail.png)
2. Insert the necessary email addresses separating them with comma, then click **Save**.The Migration creator is added to notifications for the migration by default. A maximum of 25 email addresses can be added.

The following statuses will trigger the email notifications:

- Migration Status: In Progress; right after the start of migration
- Migration Status: Completed
- Workspace Status: Failed
- Migration Status: Completed With Errors
- Migration Status: Completed With Warnings

<details>
<summary>Email data sent for Migration Status: In Progress</summary>

**Subject**
- \[Migrate\] - \<RelativityOne instance>; \<Migration Name>: In Progress

**Message**

MIGRATION DETAILS

- Migration Name
- Migration Source
- Migration Created By
- Start Time
- Migration Status In Progress
- Total Workspaces
- Total Data Size
- Total Files

</details>

<details>
<summary>Email data sent for Migration Status: Completed</summary>

<details>
<summary>Completed</summary>

**Subject**
- \[Migrate\] - \<RelativityOne instance>; \<Migration Name>: Completed

**Message**

MIGRATION DETAILS

- Migration Name
- Migration Source
- Migration Created By
- Start Time
- Migration Status Completed
- Total Workspaces
- Total Data Size
- Total Files

</details>

<details>
<summary>Completed after Abandon</summary>

**Subject**
- \[Migrate\] - \<RelativityOne instance>; \<Migration Name>: Completed after Abandon

**Message**

MIGRATION DETAILS

- Migration Name
- Migration Source
- Migration Created By
- Start Time
- Migration Status Completed
- Abandoned Workspaces

</details>

</details>

<details>
<summary>Email data sent for Workspace Status: Failed</summary>

**Subject**

- \[Migrate\] - \<RelativityOne instance>; \<Migration Name>; Failed Workspace: \<Workspace Name>

**Message**

MIGRATION DETAILS

- Migration Name
- Migration Source
- Migration Created By
- Start Time
- Workspace Name
- Workspace Migration Status
- Error message

</details>

<details>
<summary>Email data sent for Migration Status: Completed With Errors</summary>

**Subject**

\[Migrate\] - \<RelativityOne instance>; \<Migration Name>: Completed With Errors

**Message**

MIGRATION DETAILS

- Migration Name
- Migration Source
- Migration Created By
- Start Time
- Migration Status Completed With Errors
- Total Workspaces
- Total Data Size
- Total Files

</details>

## Verifying instance settings when restoring to client domains

When you use Migrate to restore workspaces into client domains, you must verify that certain instance settings are correctly configured before you start the restore. Confirm that the following instance settings in the Relativity.Migrate section align with the client domain you are restoring to:

- **FileRepositoryID**—determines where files are stored during the restore.
- **ResourcePoolID**—determines which resource pool is used during the restore.

If either setting points to a different client domain, the restore fails.

To verify the instance settings before restoring a workspace:

1. Navigate to Instance Settings.
2. Locate the Relativity.Migrate section.
3. Confirm that both the FileRepositoryID and ResourcePoolID values correspond to the target client domain.

> **Note:** Migrate validates instance settings at restore time. When you migrate workspaces across multiple client domains, incorrect values cause the restore to fail until you correct those instance settings.

## Troubleshooting errored workspace migrations

When migration is in Completed With Errors status and there are workspaces in Failed status, you cannot start a new migration. In addition, a warning message will be displayed in a notification bar.

There are two options to solve this issue:

- **Retry failed workspace migrations** to retry migration of selected workspaces, one at a time. See [Retrying failed workspace migrations](#Retrying).
- **Abandon failed workspace migrations** to complete the migration without workspaces with errors. All the workspaces in any failed status will be changed into Abandoned and migration will be completed without errors with status *Completed With Warnings*. This will allow to set up another migration if needed. See [Abandoning failed workspace migrations](#Abandoni).

### Retrying failed workspace migrations

You can retry failed workspace migration after migration has completed with errors. You can only run one retry at a time. To retry other failed workspace migrations, you must wait for the retry of the previous workspace to complete.

1. To retry a workspace migration, click the Retry icon next to workspace Status.  
   ![Sample of workspace with Retry icon](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/Migrate_34.png)
2. On the confirmation modal that appears, click **Yes, Retry Workspace**.The migration status will change from *Completed With Errors* to *In Progress*, and workspace migration will resume from the place it has failed.

> **Note:** When retrying a workspace migration, Retry icons for other failed workspaces will not be available until the retry of the migration is completed.

### Abandoning failed workspace migrations

1. Click **Abandon (#) Failed Workspace Migrations**.  
   ![Progress dialog with Abandon Failed Workspace Migrations button](https://help.relativity.com/RelativityaiR/Content/Resources/Images/Migrate/Migrate_36.png)
2. On the confirmation modal that appears, click **Yes, Abandon all**. All the workspaces in any Failed status will be requested to be abandoned. When successful, their status will be changed into Abandoned , and the migration will be completed without errors and with a status of *Completed With Warnings*.

## Workspace migrations during Relativity aiR maintenance window

Migrate carries out a few actions during a workspace migration. The response during a maintenance window will depend on the step of the process Migrate is in:

| Migration step | Maintenance window effect |
| --- | --- |
| Archiving on Relativity Server | The maintenance window will have no effect on the archive process. |
| Transferring to Relativity aiR | If the maintenance window starts during the transfer, it may stop or fail the transfer, and this step will need to be restarted from the Migrate tab. |
| Restoring in Relativity aiR | If the maintenance window starts during the restore phase, this may stop the current restore step. You will be able to restart it from the Migrate tab or the ARM tab within the Relativity aiR instance. |
