ServerAvatarDocs
Backups

Backups

How backups work in Central, where the screens are, what to set up first, and who may do what.

A backup is a copy of an application's files and database, kept in a storage you own. If the server is lost, or someone breaks the application, a backup puts it back. Central shows and controls the backups. The panel running on each server takes them, uploads them, downloads them and restores them.

How backups work

Four things work together:

  1. A storage account. You connect S3, FTP, SFTP or Google Drive once for the organization. See Backup storage.
  2. The storage on a server. You add the account to each server that should keep backups there.
  3. A backup plan for each application (and each database that has no application): what to copy, how often, how many copies to keep and where. See Application backups.
  4. The backups themselves. Each run makes one. You browse them, download them, delete them and restore from them. See The server's Backups screen, Restore a backup and Download a backup.

A plan can copy Files and database, only the Files, or only the Database.

Where to find the screens

  • Storage in the Integrations group of the organization's sidebar: the storage accounts of the whole organization.

  • Backups under Data in a server's sidebar: that server's backups. It has the tabs Overview, History, Restores, Archived and Storage.

    A server's Backups screen on the Overview tab, listing the applications and whether each one is protected

  • Backups under Backups & copies in an application's sidebar: that application's plan and its newest backups.

  • The Backups tab of a database: the database's own plan. See Databases and users.

  • The organization's Backups page: the backups and restores of one server at a time. See The server's Backups screen.

A server's Backups item shows only if your role may view it.

Set up your first backup

  1. Connect a storage account in Storage. See Backup storage.
  2. Open the server, then Backups, then Storage, and add the account to the server. See Add storage to a server.
  3. Select Set up backups on the server's Overview tab, or Set up backups on the application's Backups screen. Choose what to copy, how often and how many to keep. See Set up backups.
  4. Select Back up now to check that it works. Wait for the status Complete.
  5. Open History once to see the backup, and try a Restore on something you can afford to overwrite. See Restore a backup.

What a backup contains

  • Files and database: the application's files and its database. This is the safest choice, because it restores everything.
  • Files: the application's files without the database.
  • Database: the database without the files.
  • You can leave files, folders and databases out of a plan. Anything left out is not restored later.
  • An application that runs in containers can offer other types, such as volumes and Compose configuration. Those backups can be downloaded, but they don't have Restore in Central.

Restoring always starts with a safety copy of what is there now, unless you turn that off. So a restore can be undone.

Limits

  • How many to keep: 1 to 365 backups for each plan. Older backups are deleted from the storage.
  • You can delete up to 100 backups at once.
  • A restore puts a backup back on the same server it was taken on.

Who can do this

Backups use three permissions. See Roles and permissions.

PermissionViewManage
Storage on the organization (organization.integrations.storage)See the storage accounts and which servers use them.Connect, edit, test and disconnect storage accounts.
Backups on the server (server.backup)See the Backups screen, the storage on the server, the history and the restores.Add storage to a server and test it, download, restore, delete and clear stuck backups, turn off a plan.
Backups on the application (application.backup)See an application's plan and its recent backups.Set up and edit the plan, Back up now, Retry.

A database's own plan uses Databases (server.database) in place of the application's Backups. A restore needs Manage on the server's Backups as well as on the application or database.

A Control Panel customer uses their own storage on their one server.

Common errors

  • No storage is added to this server yet. Add one on the Storage tab first. A plan needs a storage on the server. See Backup storage.
  • You don't have permission to set up backups on this server. Ask the organization owner or an admin for Manage on Backups.
  • Backup storage isn't included in your access. Ask your provider for it. A Control Panel customer whose owner didn't allow storage sees this.

On this page