Drupal to Drupal Deployment

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

All documentation for Deploy for Drupal 8 will be moved to: https://www.drupal.org/docs/8/modules/deploy-content-staging

The main use case that people think of when using the Deploy module is Drupal to Drupal deployment. This is when you have one Drupal site and you're deploying content to another Drupal site.

These two Drupal sites could be two different sites that just share the same content, or they could be essentially the same site but separate staging and production environments.

Replicator user

It is recommended that you make use of the "Replicator" role that has been generated to do replication. To do this you can either create a new user with that role, or add that role to an existing user. You will need to do this on both of the Drupal sites.

Configuring local Relaxed settings

On both sites, under /admin/config/relaxed/settings, configure the credentials to the replicator user.

Configuring Relaxed remotes

Under /admin/config/services/relaxed, click Add new remote and configure it with the remote site information.

Relaxed Settings

Configuring the remote Workspace

Under /admin/structure/workspace edit the Workspace that should connect to the remote site to point to the remote site.

Workspace conf

Doing a deployment

Either go to "Structure" then "Deployment" or use the deploy link in the top right of the toolbar to get the to the deployment page.

Visit the external site and you will see all the content from the initial site.

Help improve this page

Page status: Not set

You can: