I upgraded from Drupal 7 to Drupal 9 and the core functionality is working as needed but while finalizing the Drupal 9 configuration, the production Drupal 7 version has had new content, users, categories added. 

How do I now update the Drupal 9 site with the new content that was added to the Drupal 7 production site?

Comments

vm’s picture

put D7 site in maintenance mode (no new content will be added) and migrate the data again.

nravens’s picture

Thanks for your reply. I'm currently working on a local setup with the latest version of the production site and the new D9 site that has previously imported content.

Using drush migrate-import <migration ID>, I only managed to import the updated registered users but it fails when I try to import new content per content type or just about everything else.

E.g. 

For the articles I have a Total of 3364 - Processed of 2898 and unprocessed of 766

Trying to get the 766 articles from the production DB to the new Drupal 9 site's DB:

drush migrate-import <migration ID> --update

[error]  Migration upgrade_d7_node_complete_articles did not meet the requirements. Missing migrations upgrade_d7_user. requirements: upgrade_d7_user.

In MigrateToolsCommands.php line 866:

  upgrade_d7_node_complete_articles migration failed.

What am I doing wrong or is there another way?

nravens’s picture

I discovered the reason my imports failed.

There are migration-IDs that start with upgrade_d7_*_* and there are ones that start with upgrade_upgrade_d7_*_*

I'm not sure why I have the upgrade_upgrade migration-IDs but those worked for me.