Salesforce B2C Commerce 22.1 > Administering Your Organization > Replication > Data Replication

Data Replication Processes

Each data replication process copies data, metadata, and files or reverts the most recent data replication copy.

Note: You can't use replication to copy data from staging to a developer sandbox. To populate a developer sandbox with data, export the data from staging and then import it to the sandbox.

Data replication functions at two levels:

When you create a PIG, you must run a full global replication to each target instance before running any site replications to it.

Subsequent replication processes can include global data, site-level data, or a combination. Configure which data is included by selecting specific replication tasks. Review the tasks to understand the granularity at which different types of data are replicated. For example, you can replicate a single catalog, but you can't replicate only a specific product. Partial data replication is useful in cases such as the following.

When you replicate data, the data you select replaces the corresponding data on the target instance. For example, your staging and development instances both include catalogs A, B, and C. On your staging instance, you update catalog B, delete catalog C, and add catalog D. Replicating catalogs from staging to development updates your development instance as follows:

Note: Only the data selected for replication is overwritten on the target instance. Other data is not affected. Considering the previous example, replicating data other than catalogs would not affect catalogs A, B, and C, and would not add catalog D.

What Data Replication Does Not Include

You can't replicate the following data. Instead, create or import it in development and production instances.

Data Replication Process Types

Data replication is a two-step process. First, data is transferred from staging to the target instance, then it is published on the target instance. You can run both steps as a single replication process, or run them separately. Running them separately can help you identify the source of any failures that occur.

There are four types of data replication processes.

Note: You run all replication processes on the staging instance, even Publishing and Undo, which only affect the target instance.
Replication Type Description
Transfer The selected data on the source instance is transferred to the target instance, but does not replace or affect the current data on the target. To update data on the target instance, run a replication process of type Publishing after the Transfer replication.
Transfer & Publishing The selected data on the source instance is replicated to the target instance and immediately replaces the existing data.
Publishing This process is available only after a successful Transfer process. Publishing replaces the existing data on the target instance with the previously transferred data. The replication tasks in the Publishing process must exactly match the tasks in the Transfer process. You cannot transfer data and then publish only some of it. If any of the transferred data no longer exists on the target, then the replication process fails.
Note: When you run a Publishing replication process, you must disable incremental indexing when you run a Publishing replication process.
Undo This process is available only after a successful Transfer & Publishing or Publishing replication process. It reverts the target instance to the data that existed there before the last replication process.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.