It's easy to deploy configuration of content types, views and so on...

What are the options for deployment of content (nodes) between different environments?

4 Answers 4


The Default Content module uses cores REST/HAL/Serialisation API's to export content to JSON. You put the content into you_module/content/[entity_type]/anything.json and the content is automatically imported when you enable your module.


Historically you had options such as leveraging the Migrate module or Feeds to achieve this (Migrate introduced the idea of continuous migration of content). While this would still be viable options (once contrib is ready), it seems the common preferred approach nowadays would be to have a 'content hub' from which you can pull content to various sites over RESTful web services. By leveraging Drupal 8's RESTful capabilities, you can totally define a deployment strategy over JSON/HAL+JSON, granted you'd lock down authentication/permissions enough to not expose your content to unprivileged resources.


Also see the Deploy module:

The Deploy module is designed to allow users to easily stage and preview content for a Drupal site. Deploy automatically manages dependencies between entities (like node references).

This screencast shows it's amazing capabilities.


For continuous content deployment not using Deploy's Web services, there's Content Synchronization.

The content synchronization module provides a mechanism to export single content items, or all content items, from an environment, and move them to another, effortlessly.

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.