Backup and restore (snapshot)

You can back up and restore an environment at any time using a snapshot. Creating a snapshot backs up the environment and because an environment is deployed as a read-only file system, restoring a snapshot is very fast.

A snapshot is a complete backup of an environment. It includes all persistent data from all running services (for example, your MySQL database, Redis, and so on) and any files stored on the mounted volumes.

You can restore a snapshot up to 14 days after the snapshot was created.

Create a snapshot (back up)

To back up an environment by creating a snapshot:

  1. Log in to your project.
  2. In the left pane, click the name of the environment to back up.
  3. In the top pane, click Take a snapshot of an environment (snapshots).
  4. You are required to confirm the action.

Restore a snapshot

To restore an environment’s snapshot:

  1. Log in to your project.
  2. In the left pane, click the name of the environment to restore.
  3. In the environment’s history, click the restore link next to the snapshot to restore.

    The following figure shows an example.

    Take a snapshot of an environment

  4. You are required to confirm the action.