Hello,

I have a Drupal 7 website that still uses the Core Profile module (originally from Drupal 6 and later deprecated in Drupal 7).

In Backdrop, it seems that only the Profile2 module is available (although confusingly, it is called "Profile" again).

What is the best way to migrate my existing Drupal 6/7 Core Profile data into the new Profile 2 module in Backdrop? Are there any known experiences with this?

I only found this:

If you have profiles from the Drupal 7 Profile module, you should either convert them to Profile2 profiles in Drupal 7 prior to upgrading to Backdrop, or recreate them in Backdrop after you upgrade.

But no details on how to best convert or recreate them (my website has approximately 3,000 user accounts with profile data).

Most helpful answers

This is a guess, so if you test it make sure it's on a copy of your Drupal 7 site. I would suspect that adding/enabling the Profile2 module in Drupal 7 would provide an upgrade path there. After that completes, you could move forward with the Backdrop upgrade.

Comments

This is a guess, so if you test it make sure it's on a copy of your Drupal 7 site. I would suspect that adding/enabling the Profile2 module in Drupal 7 would provide an upgrade path there. After that completes, you could move forward with the Backdrop upgrade.

I'm not very familiar with the D7 deprecated core Profile module, but from what I read here, the D7 core Profile module is there only for upgrades from D6 to D7, and can be disabled after the upgrade. The D6 Profile fields are (AFAIK) added as part of the User entity in D7.

If the above is the case, then you are all set. Disable the D7 deprecated Profile module, and upgrade to Backdrop. Backdrop will keep all the fields attached to the User entity, and their data.

If this doesn't work, I would try Views Data Export in your D7 to export all your user info as a CSV file, then use Feeds to import all of that into Backdrop.

This is a relatively old website, originally launched with Drupal 5, so it may have some peculiarities.

The Profile module is active on the Drupal 7 site.
User profile data is configured under /admin/config/people/profile.
In the database, the data is located in the tables profile_field and profile_value.
There is no user entity data.

On a first migration test from Drupal 7 to Backdrop CMS, the additional User profile data is missing completely on the user interface (of course the tables profile_field and profile_value are still there).

I found this module:
https://github.com/betarobot/profile_entity
I’ll have to give it a try.

OK, I got this working.

For anyone facing the same issue:

  1. In Backdrop CMS / Drupal 7, recreate the core profile fields as user entity fields.
    The "profile_field" table can help, as it contains all the old core profile fields.
  2. In the SQL database, copy the correct data from the "profile_value" table into the new user entity tables "field_data_field_profile_[user entity field name]".
  3. Disable/uninstall the Core Profile module (if still using Drupal 7).