---
schema_version: "1"
id: 90f8c3ebee145d843d7defda59904edccbce1b6b9597eb81e04cad01e0380761
title: Replication Processes in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_replication_processes.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_replication_processes.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2d47e3655847c2c5344ab56eee8fe52bd37b9b26c67a397197af7fee81181fd9
description: A replication process performs a replication or rolls back a previous replication. You can run a replication process manually, or schedule it to run automatically in B2C Commerce.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Replication Processes in B2C Commerce

A replication process performs a replication or rolls back a previous replication. You can run a replication process manually, or schedule it to run automatically in B2C Commerce.

When using replication, first replicate from your staging instance to a development instance. Then, check the results on the development instance. If changes are needed, make them on your staging instance and repeat the process. When you’ve verified that everything is correct on the development instance, replicate from staging to production.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note Only use replication on instances in your Primary Instance Group (PIG). To move code from a sandbox instance in your Secondary Instance Group (SIG) to a staging instance in your PIG, use code deployment.

## Copying Data or Code

A replication process is a collection of replication tasks that push specified data or code to the target instance.

To manage replication processes in Business Manager, log in to the staging instance, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Replication**. The main data or code replication page displays basic information about each existing process. Select the ID of a process to open its details, or select its replication type to expand a list of its replication tasks. When viewing the details of a process that is in the Waiting state, click **Edit** to edit it.

Don’t make manual edits in Business Manager on either the source or target instance while replication is running. Also, make sure that no jobs are running on the target instance during replication.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note A scheduled replication process replicates the current system state when it runs, not the state from the time when the process was created.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note If a recurring data replication process fails, it stops recurring.

## Rolling Back a Code or Data Transfer

To roll back a replication and restore the target instance to its previous state, run another replication process with the Replication Type set to Undo.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note Only roll back the single most recent data or code replication. For example, you can't undo a code replication and then undo the previous code replication. However, data and code replications don’t affect each other's rollbacks. For example, if you run a data replication and then a code replication, you can still undo the data replication, and vice versa.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note The undo action is no longer available for data replication processes which run prior to a GA Release. For example, a process on 24.7 cannot be undone on 24.8. This does not apply to GA Updates. For example, 24.8.1 to 24.8.2.