We have a drupal site written in drupal 6. We know we will have to rewrite it for drupal 7 (mostly)
But the big part is migrating the data. CCK migrate was only able to migrate about 90% of the fields.
I am looking for a clean way to migrate the drupal 6 data to drupal 7.
We used content_multigroup as a module which is basically like a field collection...How would that be migrated?
I am looking for some general strategies...I am thinking of bootstrapping drupal 7 and just write queries against the drupal 6 database and save nodes.
Upgrade Drupal6 to Drupal7
Make a full backup of all files, directories, and your database(s)
*Notes: It is wise to try an update or upgrade on a test copy of your site before applying it to your live site. Even minor updates can cause your site's behavior to change.
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:
Step 8:
Step 9:
Step 10:
Step 11:
Step 12:
*Refer this:
https://drupal.org/update/themes/6/7
Have you looked at http://drupal.org/project/feeds (which, because of its name, often flies under the radar for its very good use as a data migration tool) ?
What kind of fields are you dealing with?
If that fails, and since you are looking for general strategies, I'll say the following: I would encourage you to use the API, rather than direct queries, as much as possible.
From my own experience, in choosing between the two options:
a) having a script run under D6 and push via SQL to the D7 DB or b) having a script run under D7 and pull via SQL to the D6 DB
I would choose b) to make sure that node_save ultimately gets to do all it's work.
The Migrate module has evolved a lot since this question was asked. Also the Migrate D2D module is a great starting point for a Drupal 6 to Drupal 7 migration.
Check the documentation and you should get a pretty good idea of how to go about it.
Admittedly, the Migrate module seems to have a steep learning curve but using the Migrate D2D Examples you should get up to speed quickly enough.