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
- 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
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Drush, Import/Export, Utility
- Reported installs: 14871 sites currently report using this module. View usage statistics.
- Last modified: January 31, 2012