I've read some very complex posts on writing drush code to do various migrations etc. All I want to do is import nodes, given I have the same content type structure on my new and old site.

Is there really no export to say CSV and import from CSV that one can use?

Comments

sprite’s picture

Yes there are multiple tools available to export nodes from D7 and then import then into D8.
All the following tools can be found easily by using the drupal.org module search tool, or via google search targeting drupal.org using site:drupal.org in the query.

D7
https://www.drupal.org/project/node_export

D8

https://www.drupal.org/project/migrate_plus

https://www.drupal.org/project/migrate_tools

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

wcndave’s picture

Thanks for the reply. This is what I meant by horribly complex.

I did google quite significantly for this.

I have enabled the 3 migrate options under experimental, installed migrate plus, migrate tools, and migrate example.

Yet nowhere can I find any simple details on how to look at the example, or use the migrate plus/tools...

There ought to be simple how-to's or videos out there, at least to get people started.

sprite’s picture

In an open source universe, where modules are developed by people in the drupal community, one way to handle omissions is to volunteer to create the needed documentation and usage examples. The Drupal documentation can be edited more easily than wikipedia, by anyone with a drupal.org account.

There are also how to videos on this topic available on youtube.

https://www.youtube.com/watch?v=_z2FH0efd_g

https://www.youtube.com/watch?v=YGiae2pGuc0

https://www.youtube.com/results?search_query=%22drupal+8%22+migrate

As an example of the volunteering mentioned above, the information you are getting from me is part of that volunteering that helps drupal operate. Imagine what the drupal forums would be like if experienced drupal people never helped out.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

wcndave’s picture

Yes, sorry, don't get me wrong, I greatly appreciate the support and input of the community. Just a little harder to transfer D7 data to D8 than I had envisaged. Thanks again!

Edit: failed at the first hurdle :-(

wimbled3@uk33 [~/public_html]# drush en migrate_upgrade
migrate_upgrade was not found.                                                                                   [warning]
The following projects provide some or all of the extensions not found:                                          [ok]
migrate_upgrade
Would you like to download them? (y/n): y
Install location /home/wimbled3/.drush/migrate_upgrade already exists. Do you want to overwrite it? (y/n): y
Project migrate_upgrade (8.x-3.0-rc1) downloaded to /home/wimbled3/.drush/migrate_upgrade.                       [success]
migrate_upgrade was not found.                                                                                   [warning]
The following projects provide some or all of the extensions not found:                                          [ok]
migrate_upgrade
Would you like to download them? (y/n): ^C
wimbled3@uk33 [~/public_html]# drush en migrate_upgrade
migrate_upgrade was not found.                                                                                   [warning]
The following projects provide some or all of the extensions not found:                                          [ok]
migrate_upgrade
Would you like to download them? (y/n): y
Install location /home/wimbled3/.drush/migrate_upgrade already exists. Do you want to overwrite it? (y/n): y
Project migrate_upgrade (8.x-3.0-rc1) downloaded to /home/wimbled3/.drush/migrate_upgrade.                       [success]
migrate_upgrade was not found.                                                                                   [warning]
The following projects provide some or all of the extensions not found:                                          [ok]
migrate_upgrade
Would you like to download them? (y/n):
camerongreen’s picture

I'm in exactly the same place as the OP.  Weirdly your response has been said to me too.  How am I or the OP meant to write documentation for something we can't figure out the basics of?

It is very worrying when Drupal 8 came out in 2015 for the migrate documentation to still say "Refer to the Drupal 7" documentation.  Or that the module info page says "incomplete", or the entity pages say "Deprecated" and "Out of date".

I understand Drupal is a volunteer community, I appreciate the efforts of everyone involved, but this is making it really hard for that community to grow.

quietone’s picture

Ah, the joys of finding the documentation you want. I know it well.

To get started on migrating data to Drupal 8 Upgrade from Drupal 6 or Drupal 7 to Drupal 8 is a the place to begin.Migrate is now on core and stable. Migrate Drupal is an experimental module in core and only needs to finish migrating translations to be stable.

There are also Drupal 8 migrate modules in contrib as well offering drush command, plugins etc. That includes, migrate_source_csv to import data from csv.