Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Using the Data Sync Tool and the Import-Export Tool

Using the Data Sync Tool and the Import-Export Tool

The Data Sync Tool and the Import-Export Tool can both be used to populate Elastic Path Commerce with data. The Import-Export Tool is intended primarily for bulk data population. The Data Sync Tool is intended to synchronize incremental changes from one Elastic Path deployment to another. It's important to use these tools correctly in order to avoid conflicts and ensure that objects can be synchronized.

Note:

Do not use Import-Export to import the same data in two deployments if you are using or planning to use the Data Sync Tool to keep those deployments synchronized. Some objects' GUIDs are generated automatically during the import operation. If the objects are imported into both deployments using the Import-Export Tool, the Data Sync Tool will not be able to synchronize them because they do not have the same GUIDs.

Data Population Scenarios

The following sections describe supported scenarios for moving data between Elastic Path deployments.

Creating a Staging Environment from Production Data

  1. Create a database dump of your production database and use it to perform the initial population of the staging database.
  2. Use the Import-Export Tool to import data into the staging environment.
  3. Make manual changes in the staging environment.
  4. Use the Data Sync Tool to synchronize changes from staging to the production environment.

Creating a Production Environment from Staging Data

  1. Create a database dump of your staging database and use it to perform the initial population of the production database.
  2. Use the Import-Export Tool to import data into the production environment.
  3. Make manual changes in the staging environment.
  4. Use the Data Sync Tool to synchronize changes from staging to the production environment.