Run and manage data replication

This article explains how to run data replication to move data from an on-premises database to your online environment. Learn more about data replication mechanics in Data replication overview.

Learn more in Business Central on-premises to Business Central online: End-to-end overview.

Learn more in Dynamics GP migration to Business Central online: End-to-end overview.

Learn more in Dynamics SL migration to Business Central online: End-to-end overview.

Prerequisites

Preparation

Before running data replication, we recommend doing a test, or diagnostics, run. A diagnostic run doesn't migrate data from the on-premises database to the online tenant. It helps identify and fix issues before the actual replication, reducing the risk of failure.

To do a diagnostics run, follow these steps:

  1. Open the Cloud Migration Management page.

  2. Select Create diagnostics run and follow the instructions.

  3. Monitor the progress on the Cloud Migration Management page by checking the Migration Log list and status fields.

Run data replication

Follow these steps to replicate data to the online tenant.

  1. Search for and open the Cloud Migration Management page.

  2. On the Cloud Migration Management page, select Run data replication (or Run Migration Now) > Yes.

    This step starts replicating data to the online tenant.

  3. If the data replication starts, you get a message that the cloud migration was successfully started. Select OK to continue.

  4. Monitor the progress on the Cloud Migration Management page by following entries in the Migration Log list and changes in the status fields at the top of the page.

    Tip

    If telemetry is enabled, view data about the success or failure of cloud migration operations like setup, data replication, and data upgrade. Learn more in Enable environment telemetry and Analyzing cloud migration trace telemetry.

Troubleshoot and fix problems

If errors occur during data replication, fix them then rerun the data replication. Learn more about some common errors at Cloud migration troubleshooting documentation for Business Central in Microsoft troubleshooting documentation.

When you're ready to run the data replication again, select Run data replication. Generally, only data changed since the last replication is replicated. To learn more, go to Rerunning data replication.

Stop data replication

You can stop the data replication before it finishes. When stopped, any data that was migrated remains in the online database.

To stop the currently running data replication, select Abandon migration or Pause migration, enter a reason, then select Finish. The process can't be stopped while replicating a table, so the action waits until the current table is replicated before stopping.

Next steps

For Business Central on-premises migration:

For Dynamics GP migration:

For Dynamics SL migration:

Dynamics GP migration to Business Central online: End-to-end overview
FAQ about migrating to Business Central online from on-premises solutions