How do you resume a Magento 2 order history import without replaying records?

1 min read

A paper ledger with coloured tabs beside two wooden card trays

On a restorable copy of the destination database, record the source system, entity_id, customer-facing increment_id, store_id and corresponding destination record. Verify items, addresses and supported documents before marking an order complete.

Choose the range after reconciling the ledger

Kowal Import Orders 1.0.29 preserves the source IDs. Without --single, it reads every order from the specified entity_id inclusive. On the local sample, replaying from 410 failed on the occupied ID. When an item write for 411 failed, its header remained and the import stopped before 413. Kowal Import Orders. Module documentation.

Record the outcome for each order

The ledger after the interrupted run distinguishes complete 410, partial 411 and missing 413. Check the line items as well as the order number in the grid.

Ledger after a local item write failure
AssessmentSource IDOrder numberStore view IDDestination ID
Complete410R-4102410
Partial411R-4112411
Missing413R-4132—

Resolve collisions before retrying. After the local copy was restored with just the verified 410, importing from 411 added 411 and 413. Use a range when every source order from that point needs importing. Test isolated gaps among previously copied records with --single. Compare the command output, log and order data. Adobe Commerce order fields.

For the first transfer, see the earlier order migration guide.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)