Backup storage
Connect S3, FTP, SFTP or Google Drive once for the organization, test it, and add it to the servers that keep their backups there.
Backups need somewhere to go. In Central that place is a storage account. You connect it once for the whole organization, then add it to each server that should keep backups there. The server's panel writes, reads and deletes the backup files itself: Central only sends it the settings.
Storage accounts live under Storage in the Integrations group of the organization's sidebar. The page is called Storage, and its card Storage destinations.
You can connect these types:
- Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, DigitalOcean Spaces and Other S3-compatible.
- FTP / FTPS.
- SFTP.
- Google Drive (you log in with Google).
- Google Drive (service account).
A local folder on the server is not one of them. A storage that exists only in a server's own panel, such as a local folder, shows in Central as This server only. You can use and test it there, but you can't add, edit or delete it in Central.
Connect a storage account
-
Open Storage under Integrations. With nothing connected, the page says "No storage connected yet" and shows three steps, with one button per provider.

-
Select Add destination. A provider button in step 1 opens the same form with that provider chosen.

-
Choose the Provider. The fields below change to match it.
-
Enter a Name. It must be unique in the organization, one line and at most 100 characters. It is the name you see when you choose a storage for backups.
-
Fill in the fields of the type you chose (see the tables below).
-
Select Add destination. Central saves the account and then tests it.
- If the test passes, you see "Saved and tested."
- If it fails, the dialog stays open with "Saved, but the test failed:" and the reason. The account is already saved. Fix the keys and select Save and test again, or select Keep anyway to leave it as it is.
- If the test could not run, you see "The test couldn't run. Use Test on the destination to try again."
Keys and passwords are saved encrypted. Central never shows them again.
S3 types
These fields apply to Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, DigitalOcean Spaces and Other S3-compatible.
| Field | Rule |
|---|---|
| Endpoint | Required, except for Amazon S3. An https:// address without a user name or password, up to 255 characters. |
| Bucket | Required. Letters, digits, dots, hyphens and underscores, up to 255 characters. |
| Region | Optional. Letters, digits and hyphens, up to 64 characters. |
| Access key | Required. One line, up to 255 characters. |
| Secret key | Required. One line, up to 512 characters. |
| Folder | Optional. A folder inside the bucket, for example backups/acme. Letters, digits, dots, hyphens, underscores and slashes, no .., up to 255 characters. |
The dialog reminds you that the key needs permission to upload, download and delete objects in the bucket. Delete matters because backups remove old archives once they pass the number you keep. For the five named services, Where do I find these keys? opens that provider's page about access keys.
FTP / FTPS
| Field | Rule |
|---|---|
| Host | Required. A host name or IP address, without ftp:// or a port. |
| Port | Optional. 1 to 65535. |
| User name | Required. One line. |
| Password | Required. One line, up to 512 characters. |
| Folder | Optional. The folder on the server where backups are kept. Letters, digits, dots, hyphens, underscores and slashes, no ... |
| Use FTPS (SSL/TLS) | Off by default. |
| Passive mode | On by default. |
SFTP
| Field | Rule |
|---|---|
| Host | Required. A host name or IP address, without a port. |
| Port | Optional. 1 to 65535. |
| User name | Required. |
| Password | Optional, but you must give a password, a private key, or both. |
| Private key | Optional. Paste the whole key, from -----BEGIN to -----END. Up to 16,384 characters. |
| Key passphrase | Optional. Up to 512 characters. |
| Folder | Optional. The folder on the server where backups are kept. |
For a host or an endpoint, Central refuses an address that points at the server itself or at the cloud metadata service: "This address points at the server itself or at the cloud metadata service, so it can't be a backup destination. Enter the storage server's address."
Google Drive (service account)
| Field | Rule |
|---|---|
| Service account JSON key | Required. Paste the whole JSON key file of a Google service account (up to 16,384 characters). |
| Shared Drive folder ID | Required. The last part of the folder's address in Google Drive. Letters, digits, hyphens and underscores. |
Use a folder in a Shared Drive. A service account has no storage of its own, so a folder in a personal Drive is refused.
Log in with Google
Google Drive (without "service account") uses your own Google login app. You set the app up once in Google Cloud, and log in once in Central.
-
In Add a storage destination, choose Google Drive.

-
Follow the box Set up your Google login app (one time):
- In Google Cloud, turn on the Google Drive API.
- Create an OAuth client of type "Web application".
- Add the address shown in the box under "Authorized redirect URIs". Copy the address copies it, and Open Google Cloud credentials opens Google's page.
-
Enter a Name, the Client ID (it ends with
.apps.googleusercontent.com) and the Client secret. -
Select Save & log in with Google. Central saves the account and sends you to Google. Approve the access.
-
Google sends you back to Central. The page says "Logged in with Google": "name is connected. It's tested when you add it to a server."
Until you log in, the account shows "Not signed in to Google yet." with a Log in with Google button. For a connected account, Log in with Google again is in the row's menu.
Each server you add the account to gets its own folder in your Drive, named "ServerAvatar Backups (server name) — account name".
A Google login link works once and for 10 minutes. If it fails, start again with Log in with Google. Central shows the reason, for example:
- "Google refused the callback address. Add the address shown on this page to your Google login app under "Authorized redirect URIs", exactly as shown."
- "This Google login app is the wrong type. In Google Cloud, create an OAuth client of type "Web application"."
- "Google doesn't recognise this client ID or client secret. Check that both were copied whole."
- "The Google Drive API is not enabled in your Google Cloud project. Enable it under APIs & Services → Library, then log in again."
- "Google sent no long-term token. Remove this app at myaccount.google.com under Third-party access, then log in again."
- "Google no longer accepts this login. Log in with Google again on this storage account."
Test a storage account
Test on a row writes a small file to the destination, reads it back and deletes it. That proves the login works and that it can write. A read-only account always fails.
- Find the account in Storage destinations.
- Select Test.
- The line under the name shows the result: "Connection works · n ms", or the reason it failed.
Before you test, the line shows what is saved: "Never tested — nobody has checked these credentials work.", "Tested when", or "The last test failed when." with the reason. When the destination rejected the credentials, the line has a Replace credentials link.
Test is disabled with a reason in two cases: "Add credentials before testing this destination." and "Sign in with Google before testing this destination."
Some reasons you may see:
- "The destination rejected the credentials."
- "The destination endpoint could not be reached."
- "No bucket with that name exists. Check the bucket name — it is case-sensitive."
- "The bucket is in a different region. Set the region the bucket was created in."
- "The destination folder does not exist on the server. Create it, or correct the folder path."
- "This is a private network address, so Central can't reach it. Connect the account to a server and test it there."
The test from Central does not need a server. You can also test a storage on a server, which checks that the server can reach it. See Add storage to a server.
Edit a storage account
- In Storage destinations, open the row's ⋯ menu (Actions: name) and select Edit.
- Change the Name or the keys. A secret field says "Saved · leave empty to keep": leave it empty to keep the saved key.
- Select Save changes. If something changed, Central tests the account again. Servers that use it are updated in the background.
Once the account is on a server, where it keeps backups is locked: the S3 provider, Endpoint, Region, Bucket, Folder, Host, Port, User name, Shared Drive folder ID and Client ID. The dialog says so ("This storage is on n servers, so where it keeps backups is locked. To use another location, add a new storage."). The name and the keys can always change. This protects your old backups: the server would otherwise look for them in the new place and fail to restore them.
See which servers use an account
Under each account's name you see "Not on a server yet", or the number of servers that use it ("Used on n servers"). Select the number to open the list.
For each server the list shows its state:
- Updating…: the new settings are being sent to the server.
- Updated: the server has the current settings.
- Not updated: the server could not be updated, for example because it was offline. Select Update again.
Remove from server takes the account off one server. Nothing in the storage is deleted and no backup is deleted. A server refuses it while backups there use the storage or are kept in it.
Add storage to a server
An account does nothing on a server until you add it there.
-
Open the server, then Backups under Data, then the Storage tab.

-
On this server lists what the server can keep backups in. An organization account shows Organization and its state (Updating…, Updated, Not updated). A storage that only exists on the server shows This server only.
-
Under Your organization's storage, find the account and select Add to this server.
-
Confirm Add name to server? Its name, settings and keys are sent to the server. Select Add to this server.
-
Select Test on the row. The test checks that the server can write, read and delete a small file.
An account that still needs a Google login shows Google login needed and "Log in with Google on Backup storage first." Its Add to this server button is disabled.
Manage storage opens the organization's Storage page. Update again and Remove from this server are on organization accounts in the list.
Disconnect a storage account
- Open the row's ⋯ menu and select Disconnect.
- Read Disconnect name? It only removes the storage from ServerAvatar. Nothing changes in the storage or on any server, and no backup is deleted.
- Select Disconnect. While delete protection is on, you must type the account's name first. See Delete protection.
Central refuses while any server still uses the account: "This storage account is still used on these servers: names. Remove it from those servers first."
Limits
- A name is unique in the organization, one line, at most 100 characters.
- A storage that exactly matches one already connected is refused: "This storage is already connected in this organization as "name"."
- A server can't hold two storages with the same name.
- A Google login link works once and expires after 10 minutes.
Who can do this
- Storage (
organization.integrations.storage): View lists the accounts and the servers that use them. Manage connects, edits, tests and disconnects accounts, logs in with Google, and uses Update again and Remove from server. Without View, the page says "Your role can't view this organization's backup storage." See Roles and permissions. - Backups on the server (
server.backup): View shows a server's Storage tab. Manage adds an account to the server and runs Test. - A member without View on Storage sees "The organization's storage accounts are managed by the organization owner or an admin." on the server's Storage tab.
- A Control Panel customer adds their own storage to their one server from Backup storage in their sidebar. They don't see the organization's accounts.
Common errors
- Another storage account in this organization already has this name. Choose another name.
- This server already has another storage with this name. Rename one of them first. Rename the account or the server's own storage.
- This server already uses that storage under another of your organization's accounts. Use that account.
- This storage is already on the server as storage you didn't add. Use other keys or another folder. The server's panel already has this destination.
- The server's panel refused this storage. Check its settings in Integrations → Storage. Open the server's own panel and check the destination.
- The server could not be reached. Try again when it is online. Wait until the server is online, then try again.
- This storage is no longer on this server. Add it to the server again. It was removed from the server's panel.
- Backups on this server use this storage or are kept in it, so it can't be removed there. The server won't remove a storage while backup plans use it or backups are kept in it.
- This storage account is already used on servers, so where it keeps backups can't change. Connect a new storage account to use a different location.
- The saved keys of this storage account cannot be read. Edit the account and save all its keys again.