Backing up sites

Using the Site Factory Management Console, you can create backups of your Acquia Cloud Site Factory-hosted websites. Each backup may include the website's complete docroot, database, public files, and private files, all in a .tar.gz format that is also suitable for exports.

You can create and download website backups using the Site Factory Management Console, as well as restore a website from a backup and delete unneeded backups. You can also use the Site Factory REST API to create, list, and delete backups and to restore a website from a backup.

For procedures that you can use to exclude from backups stored sensitive credentials, keys, or other private information, see Storing sensitive information outside of your codebase.

Permissions

To create and download backups, you must have a role with the necessary permissions.

  • Users with the platform admin role have permission to create and download backups of all websites.
  • Users with the site builder role have permission to create backups of their websites and to download backups that they have created.

Creating a backup

To create a backup of a website, complete the following steps:

  1. Sign in to the Acquia Cloud Site Factory interface.
  2. Find the website that you want to back up, and then open its actions menu.

    Select "Back up site" from the site actions menu

  3. Click Back up site.
  4. In the Create site backup page, select all of the components you wish to back up:
    Select components to back up
  5. Click Back up.

After your backup is complete, you will receive an email letting you know that the backup is now available on the Site Backups page. Backups can take several minutes to complete for small websites, but larger websites can take much longer to complete.

Viewing available backups

You can view and download your website backups on the Site Backups page:

  1. Sign in to the Acquia Cloud Site Factory interface.
  2. In the administrative menu at the top of the page, click Sites.
  3. At the bottom of the left-hand column, click All my site backups.

The backups are created with the site name, plus a timestamp from when the backup was created. To sort the table by name, by date, or by stack (if you have more than one stack) click on the column heading you want to sort by.

To restore a backup, identify the desired backup and in the Actions column, click Restore in that backup's row:

Viewing the list of backups

Downloading backup files

If you want to download a website backup file to your local computer, on the Site Backups page find the backup that you want to download, and then click its Download link.

Restoring from a backup file

For information about using a backup file to restore a website, see Restore a site from a backup.

Contact supportStill need assistance? Contact Acquia Support