1

I'm using migrate upgrade drush command to generate migrations from a live DB of website. So content is created during my migrations. How can I do an update of these migrations to import new content when re-run migrations ?

Thanks

2
  • You can use property high_water_property.
    – MrD
    Oct 5, 2018 at 9:43
  • thanks, do exist an explanation to use it ?
    – user8753
    Oct 16, 2018 at 13:08

1 Answer 1

0

You could use the track_changes option, ex.

source:
   plugin: d7_node
   node_type: article
   # Allows to import changed as well as new records from the source.
   track_changes: true

https://www.drupal.org/docs/8/api/migrate-api/migrate-source-plugins/overview-of-migrate-source-plugins#track_changes

1
  • do I need to add it in my custom migration yml files ? What about default migrations created by migrate module ?
    – user8753
    Jul 17, 2019 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.