Menù

Keep Data IDs During The Migration Process

Preserving data IDs, such as product IDs and customer IDs, ensures data integrity and consistency between the source and target sites. Keeping IDs is particularly useful when migrating data between PrestaShop stores or when integrating with third-party systems that rely on specific IDs for data reference. By maintaining original IDs from the source store, you ensure that the migrated data retains its structure and relationships, minimizing disruptions and maintaining database logic.

To configure settings to preserve data IDs during the migration process, follow these steps:

 

Step 1: Access advanced settings

On the “Migration” screen, scroll down and click on the "Advanced settings" option to access and configure additional migration options according to your preferences.

 

Step 2: Enable "Keep IDs" option

  • Within the advanced settings, locate the option labeled "Keep IDs" and toggle it to enable this feature.
  • Enabling the "Keep IDs" option ensures that the IDs of data entities, such as product IDs, customer IDs, etc., from the source store are preserved during the migration process.
  • When you activate the "Keep IDs" option, to avoid ID conflicts, all existing data related to the entities you have chosen at “Data entities to migrate” to migrate, will be deleted from the target site before the new data is transferred.
  • This deletion step is necessary to maintain the integrity and logic of the database, ensuring that the migrated data retains its original IDs from the source store.

 

Step 3: Confirmation and initiation

  • Review your settings to ensure they align with your preferences.
  • Once satisfied, proceed by confirming your selections and initiating the migration process.
Conteggio visualizzazioni articolo: 1242 visualizzazioni