{% extends "baseTemplate/index.html" %} {% load static %} {% comment %} Staging, push-to-production and full-site cloning. All three are long operations driven through cpPoll. The push panel is deliberately the loudest thing on the page: it replaces a live database and there is no undo. {% endcomment %} {% block title %}Staging and cloning{% endblock %} {% block content %}

Staging and cloning

Make a working copy of a site at its own subdomain, or clone it onto a brand new domain.

Websites

Create a staging copy

The document root is copied, the database is cloned under a new name with its own user, and for WordPress the site URL is rewritten with wp search-replace. The copy is also marked as "discourage search engines".

Staging sites

No staging sites yet.

copy of · WordPress · database
last pushed to production

This replaces the live site

  • The production document root is overwritten with the staging copy. wp-config.php is kept so production keeps its own database credentials.
  • The production database is replaced by the staging database. Anything written on the live site since the copy was made — orders, comments, new posts — is gone.
  • A full backup of production is taken first. If that backup fails, the push is refused and nothing is changed.

Clone a website

The new domain counts against the owner's package quota.

{% endblock %} {% block scripts %} {% endblock %}