I have a copy of a Drupal 9 website and the original source website has had new users since work began on the copy. Now I need to sync the new users from the original source to the new copy destination.

What would be the best way to accomplish this?

  • Use rest api and expose users as json or export them as CSV and import them in new site. Nov 16 at 3:48
  • Two questions: This method would not retain PWs, correct? I understand exporting them but how would you import the json? Nov 16 at 13:30
  • 2
    Yes, pwds will be invalidated.If you need to preserve passwords you need to overwrite them by sql query after import as D7 and D8 uses same hashes . Use https://www.drupal.org/project/migrate_plus json parser source plugin for json import. Nov 16 at 13:59
  • Got it, thank you. Nov 16 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.