Recover missing product during delta migration

Hi, 
we missed some products in delta migration, maybe for a wrong M1 DB Dump. We choose to keep magento product ID.
So our situation is that we have a range of M1 id in the middle of m2 catalog_product_entity that are not migrated (to be clearer, we jump product id in M2 from 1000 to 1500 and need to migrate 1001 to 1499 but we already have 1501 product id in magento2
Is there a way to recover missing M1 product and migrate?
 

  1. Hi, I'm Giuliais it possible to have the last plugin release (3.2.6)?Many thanks

4 answers

Profile photo of Mall Staff 184060.00 $tone October 13, 2021
Public

Hi Michele,

Is there a way to recover missing M1 product and migrate?

You can try these steps:

1. First, you make sure that all products you want to migrate are ready in the current source database (M1 database)
2. Then, you run delta migration in step #5 of our module with the ‘update’ mode using this CLI command:

php -f bin/ubdatamigration run --step=5 --mode=update;

Regards,
Mall.
 

#1
Profile photo of Michele D'Alonzo 20.00 $tone October 13, 2021
Public

Command launched, situation sadly is the same, missing M1 product are not imported in M2
Maybe migration source check last id created in its map tables and skip everything lower the last product_id migrated? Map table ub_migrate_map_step_5 doesn’t have too the missing product
Note that we are missing products id lower than last id migrated
Thanks for your help
best
 
 

#2
Profile photo of Mall Staff 184060.00 $tone October 14, 2021
Public

Hi Michele,

Command launched, situation sadly is the same, missing M1 product are not imported in M2

1. First, you make sure that all products you want to migrate are ready in the current source database (M1 database)
2. And then, you make sure that you installed the latest version of our module v3.2.6
3. Then, you run delta migration in step #5 of our module with the ‘update’ mode using this CLI command:

php -f bin/ubdatamigration run --step=5 --mode=update;

What if I delete m2 product created with last migration run, …?

You can do that in the backend of M2.

and delete same ids in ub_migrate_map_step_5

You shouldn’t do that, you can run the CLI command below to delete the migration log in step #5:

php -f bin/ubdatamigration clean --step=5;

Regards,
Mall.
 
 
 

#4

Please login or Register to Submit Answer

Written By

Comments