topic hubAdministration & Setupofficial - Microsoftreviewed - checked by Opus

Replicate data

Data replication in cloud migration from Business Central on-premises to Business Central online. It covers how the replication pipeline works, and how to run, monitor, pause, abandon and rerun replication. It answers questions about flows for large and small tables, company initialization and troubleshooting.

Path: Administration > Migrate to Business Central online > Migrate from Business Central on-premises > Replicate data · tier official · system administration · narrative reviewed (checked by Opus)

Overview

This section covers the replication step of a cloud migration, after setup is done. It explains how on-premises data is copied to Business Central online and how to operate the process.

The overview page describes the replication pipeline: table-based copying with separate flows for large and small tables, use of Azure Blob Storage and a self-hosted integration runtime, company initialization, and change tracking for later runs. The run and manage page is the practical guide. It covers starting replication, running diagnostics, watching progress in the migration log, and handling problems.

Start with the overview to understand what happens during a run. Then use the run and manage page when you start replication or need to pause, abandon or rerun it.

Key points

  • Replication runs after cloud migration setup is complete.
  • The pipeline copies data table by table, with separate flows for large tables and small tables.
  • Azure Blob Storage and a self-hosted integration runtime are part of the replication flow.
  • Company initialization is part of the process, and change tracking is used for subsequent runs.
  • You can do a diagnostics run as well as a full data replication run.
  • Progress is monitored through the migration log.
  • You can pause a migration, abandon it, or rerun data replication.
  • The section has two pages and no subtopics.

Learn pages

  • Cloud Migration Data Replication Overview: Learn how cloud migration data replication moves on-premises data to Business Central online, initializes companies, and handles subsequent replication runs.
    • Step: Select Run data replication on Cloud Migration Management page to start data replication.
    • Large tables are copied via self-hosted runtime to Azure Blob Storage then to online database; smaller tables are serialized into JSON first.
    • Azure Blob Storage acts as temporary regional store so data does not move outside the region.
    • When replication completes, you are prompted to initialize noninitialized companies to ensure they are accessible and functional.
    • Prerequisite: Do not use a company until it is initialized, as setup data could be missing.
    • Subsequent replication runs use SQL change tracking to replicate only data that changed since last replication.
    • If change tracking retention period expires, the entire table is fully replicated again.
    • In the observatory: Page 40015 “Hybrid Companies List”, Page 40063 “Cloud Migration Management”
  • Run and Manage Cloud Migration Data Replication: Learn how to run and monitor cloud migration data replication from an on-premises database to Business Central online and resolve replication errors.
    • Prerequisite: Cloud migration must be set up before running data replication.
    • Prerequisite: User must have SUPER permission set in online environment.
    • Step: Before replication, run a diagnostic run to identify and fix issues without migrating data.
    • Step: Open Cloud Migration Management page and select Run data replication to start replicating data.
    • Generally only changed data is replicated on reruns; this makes subsequent replications faster than initial migration.
    • Pause migration or Abandon migration cannot stop in-progress replication; must wait for completion first.
    • Migrated data remains in online database after pausing or abandoning migration.
    • In the observatory: Page 40063 “Cloud Migration Management”

Key facts from Microsoft Learn (CC BY 4.0), in our own words (D106); open the page for the full text.

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 2 Learn pages