This module allows users to export nodes and then import it into another Drupal installation, or on the same site.

Using this module you can save yourself a lot of time setting up new websites that have similar nodes to websites you've already made, migrating nodes to new Drupal versions, or between development/staging/production sites.

You will need the same content types for the imports to work (unless using Feeds to import), and ideally relevant compatibility with fields, and modules.

How to use Node export

There are several ways to use Node export:

  • Through a tab that appears on the node page.
  • Using update options on the Content page.
  • In a command line using Drush.
  • Using the Features module.

Nodes exported with Node export can be imported:

  • Simple imports
    • Using the form at Node export: import under Create content (Add content in D7).
    • In a command line using Drush.
    • Using the Features module.
  • Advanced imports
    • For advanced importing enable Node export feeds and import via the Feeds interface. (From Drupal 7 onwards)

Node export formats

The format to export with is configurable, and the Node export package comes with the following formats:

  • Node code -A customized PHP array which is similar to var_export(), enabled by default.
  • CSV - RFC4180 compliant CSV code. Ideal for viewing in Windows software, and editing data as spreadsheets.
  • Serialize - Very robust, though not human readable, representation through Serialization using the PHP serialize function.
  • XML - XML 1.0 representation which is good for machine-readability and human-readability.

Migrating nodes between Drupal versions

To migrate nodes from Drupal 5 to Drupal 6 use versions 5.x-2.5 and 6.x-2.24.

To migrate nodes from Drupal 6 to Drupal 7 use latest versions of 6.x-3.x and 7.x-3.x. To import; you must enable Node export feeds and import via the Feeds interface. This is not a very easy/automatic process, and it is recommended to avoid doing this. Instead upgrade a copy of the D6 site to D7 before exporting, this will allow you to use the simple import functionality.

Images and files

Node export comes with a module from James Andres to assist with exporting files/images.

References, relationships, structures, hierarchies, etc...

Node reference, taxonomy, and organic groups relationships can be maintained by enabling Node export relation.
Other relationships (such as authors, menu structures, and book hierarchy) are not yet supported.

UUID

Node export requires the Universally Unique IDentifier module.
(This is currently only a dependency in node_export's submodules, rather than the main module, since there is no full release for UUID yet).

Downloads

Recommended releases

Version Downloads Date Links
7.x-3.0-rc1 tar.gz (39.4 KB) | zip (54.12 KB) 2012-Jan-31 Notes
6.x-3.2 tar.gz (36.27 KB) | zip (49.09 KB) 2012-Jan-31 Notes

Development releases

Version Downloads Date Links
7.x-3.x-dev tar.gz (39.42 KB) | zip (54.16 KB) 2012-Feb-03 Notes
6.x-3.x-dev tar.gz (36.38 KB) | zip (49.13 KB) 2012-Feb-03 Notes

Project Information


Maintainers for Node export

  • danielb - 257 commits
    last: 1 week ago, first: 3 years ago
  • chia - 1 commit
    last: 1 year ago, first: 1 year ago
  • James Andres - 5 commits
    last: 1 year ago, first: 2 years ago

Issues for Node export

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 9 Oct 09