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 in Data replication overview.

Learn more in Business Central on-premises to online migration: 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

Prepare for data replication

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 diagnostic run, if the action is available for your migration source.

  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 > Yes. In the legacy interface, select Run Migration Now.

    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 in Cloud migration troubleshooting documentation for Business Central.

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

Pause or abandon cloud migration

You can't use Pause migration or Abandon migration to stop an in-progress replication. Wait for all in-progress migrations to finish before using either action. Data that was migrated remains in the online database.

Select Pause migration if you intend to continue migration later, or Abandon migration if you don't. Enter any additional details, select Finish, and confirm Yes. Both actions disable cloud migration. To migrate again, run cloud migration setup again.

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