---
title: "Backing up sites"
date: "2024-02-14T06:18:38+00:00"
summary: "Safeguard your Site Factory websites with comprehensive backup options. Learn to create, download, and restore backups easily using the Management Console or REST API. Ensure data security and quick recovery."
image:
type: "page"
url: "/site-factory/backing-sites"
id: "b6fc32cf-9032-4eb6-ba3e-d95422f2ef07"
---

Cloud Platform provides many different back up options. For information about backups in Cloud Platform, see [Taking backups](/acquia-cloud-platform/manage-apps/back-up). In addition to these back up options, Site Factory hosted-websites can also leverage full site back ups.

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

You can create and download website backups using the Site Factory Management Console, and restore a website from a backup. You can also use the [Site Factory REST API](/site-factory/extend/api) to create, list, and delete backups and to restore a website from a backup.

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

Note

The [acsf-tools](https://github.com/acquia/acsf-tools) repository provides more backup scripts for Site Factory websites running the [current Drupal version](/service-offerings/guide/software-life-cycle#supported-drupal-version). For more information, see [blog post](https://dev.acquia.com/blog/managing-site-factory-sites-drush-using-acsf-tools).

Permissions
-----------

To create and download backups, you must have a [role](/site-factory/manage/users/admin) with the necessary permissions.

*   Users with the [platform admin](/site-factory/manage/users/admin/platform-admin) role have permission to create and download backups of all websites.
*   Users with the [site builder](/site-factory/manage/users/admin/site-builder) role have permission to create backups of their websites and to download backups they have created.

Creating a backup
-----------------

To create a backup of a website:

1.  [Sign in](/site-factory/login) to the Site Factory interface.
2.  Find the website you want to back up, and then open its actions menu.
    
    ![Selecting Back up site from the site actions menu](https://acquia.widen.net/content/sndbxcqbhm/jpeg/site-factory_backup.jpeg?position=c&color=ffffffff&quality=80&u=u1mnox)
    
3.  Click **Back up site**.
4.  In the **Create site backup** page, select the components you want to back up:
    
    ![Selecting components to back up](https://acquia.widen.net/content/l7ceco8gfb/jpeg/site-factory_creating-site-backup.jpeg?position=c&color=ffffffff&quality=80&u=u1mnox)
    
5.  Click **Back up**.

After your backup completes, you will receive an email letting you know 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.

Partial backups
---------------

The site backup process allows partial file transfers. If a partial backup occurs, an email with the missing files is sent to the user who initiated the backup.

In the Site Factory management console, the **Complete** column indicates whether the backup was full or partial. A notification is displayed in the **Complete** column next to the listed backup when a backup is incomplete.

![Partial backup notification](https://acquia.widen.net/content/xx8vbqaaqf/jpeg/site-factory_partial-backup.jpeg?position=c&color=ffffffff&quality=80&u=u1mnox)

In the REST API, a partial backup is displayed as a “complete” field in the return body.

Viewing available backups
-------------------------

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

1.  [Sign in](/site-factory/login) to the 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](/site-factory/stacks) (if you have more than one stack) click the column heading you want to sort by.

Note

Backups that are more than one year old are automatically deleted. However, records of these backups may still appear in the user interface. For more information, see the [Site Factory Product and Services Guide](/service-offerings/products-services-guide/site-factory#site-factory-backup).

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

![Viewing the list of backups](https://acquia.widen.net/content/y3hk84vraa/jpeg/site-factory_restoring-backup.jpeg?position=c&color=ffffffff&quality=80&u=u1mnox)

Note

When you create backups using the Site Factory REST API, you can use the `label` request parameter to modify the backup name.

Downloading backup files
------------------------

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

Restoring from a backup file
----------------------------

Important

Site Factory non-production environments don’t make automated daily backups. Site Factory subscribers must create on-demand backups if necessary for their development process.

For information about using a backup file to restore a website, see [Restoring a site from a backup](/site-factory/manage/website/restore).

More information
----------------

*   Information about the [acsf-tools](/site-factory/help/89736-manage-site-factory-acsf-tools "Manage Site Factory with ACSF Tools") toolkit, and its [GitHub repository](https://github.com/acquia/acsf-tools)
*   [Backing up databases of multiple websites](/site-factory/extend/api/examples#acsf-db-backup-websites) with the Site Factory API
*   [Create a site backup](https://docs.acquia.com/site-factory/site-factory-api#operation/post_Sites_backupSite) API endpoint
*   [Delete a site backup](https://docs.acquia.com/site-factory/site-factory-api#operation/delete_Sites_deleteSiteBackup) API endpoint
*   [List site backups](https://docs.acquia.com/site-factory/site-factory-api#operation/get_Sites_getSiteBackups) API endpoint
*   [Restore a site backup](https://docs.acquia.com/site-factory/site-factory-api#operation/post_Sites_restoreSite) API endpoint