I'm using migrate_d2d to migrate my Drupal 6 site to Drupal 7. I've already created several working migration classes to migrate the content of the D6 site into the D7 site. Now I'm working on migrating the organic groups and the related user memberships. I've read that OG (i'm using 7.x-1.19) got a build in migrate routine. When I checked /admin/config/group/group-migrate, I hoped to see some settings where I could insert the data of my legacy database, my User Migration class, click a button and be done with it. :-D Unfortunately, that's not the case.

I have a hard time to find any documentation of how to use the migration functionality which comes with OG. Could anyone please give me a hint how one is supposed to migrate OG groups/memberships from a D6 database to a D7 database?

Many thanks!

2 Answers 2


The migration classes that come with Organic Groups are for doing a full site upgrade only. In other words, if you were to drag Drupal 7 files over top of your Drupal 6 site and run an upgrade, the migrate classes that come with OG would be helpful.

However, in your case (and mine) you are doing a full migration from an old Drupal 6 site to a fresh, empty Drupal 7 site. The classes provided by OG will not be helpful here, nor even show in your migration list.

What I'm currently doing is working on a manual migration path for OG groups using migrate_d2d to pull all the group nodes over. Then I'll write another migration to add users to these groups by injecting them into the right database tables. THEN as each of my other node types are migrated over, they will add themselves to the OG tables that track which content are part of which group.


Documentation on how to use the migration features integrated into OG is available since 2013-06-19 here in the "Administration & Security Guide":

Migrate: Contributed module support: Organic Groups

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.