For administrators
Backups
The scheduled copies of every app’s data, and the optional off-site copy of them.
What this is
Scheduled backups are dumps of every app's production databases and persistent folders, with a Restore button for the app's owner. This page sets the schedule and how many copies are kept, and adds an optional second copy in S3-compatible storage. Backups are kept on the server itself first; a failing disk takes them along, so add an off-site copy.
Owners see and use their own backups under Backups on their app: see Backups.
Where to find it
- Open Admin, then the card Infrastructure.
- Click Backups.
What you see
Save becomes Save N changes once you edit something, and Discard drops your edits. Show N rarely-used reveals the folded fields.
- Scheduled backups: a switch. Off, owners can still back up by hand.
- Default schedule: a 5-field cron line (or
@daily), read in the cron time zone, for apps that set none of their own. For example0 2 * * *. - Backups kept per app: how many copies are kept, unless the owner says otherwise. Pinned backups do not count. A whole number.
- Most an owner may ask to keep (rarely used): the ceiling on that choice.
- Apps backed up at once (rarely used): dumps compete for the same disk. A whole number.
- Backup or restore timeout (minutes) (rarely used): how long one app's copy may take before it is called failed.
- Off-site bucket: every part is also uploaded to this S3-compatible bucket, and deleted from it when the backup is pruned. Local stays primary. Empty means local only.
- Off-site endpoint: for Hetzner, Backblaze, R2 or MinIO. Empty for AWS itself.
- Off-site region (rarely used):
autosuits most S3-compatible endpoints. - Off-site access key and Off-site secret key: the key pair. The key needs write and delete on that bucket, nothing else. Once saved, the field shows stored and is empty; type to replace it. Saving an empty box removes the stored value.
- Off-site prefix (rarely used): the folder inside the bucket everything is written under.
- Path-style addressing (rarely used): bucket in the path rather than the host. What MinIO and most self-hosted endpoints need.
How to set the schedule and retention
- Open Backups.
- Make sure Scheduled backups is on.
- Fill in Default schedule, for example
@daily. - Set Backups kept per app.
- Click Save. The message Saved. N setting(s) are in force now. confirms it.
An owner may pick another schedule or number for their own app, up to Most an owner may ask to keep.
How to add an off-site copy
Prepare at your storage provider:
- Create a private bucket used only for these backups.
- Create an access key limited to write, read and delete on that bucket.
- Note the provider's endpoint and, for AWS, the bucket's region.
Then:
- In Backups, fill in Off-site bucket, Off-site endpoint (empty for AWS), Off-site access key and Off-site secret key.
- For AWS, click Show N rarely-used and set Off-site region. For MinIO or another server of your own, switch on Path-style addressing there.
- Click Save.
You know it worked when new backups on an app's Backups tab carry the pill off-site.
When something looks wrong
- Some values were refused — see the fields below. Each refused field says Refused: and why. Correct it and save again.
- A backup shows failed on the app's Backups tab: open its log there. Common causes are a wrong key, a bucket the key cannot write to, or a copy that took longer than Backup or restore timeout (minutes).
- Backups appear but none is off-site: check bucket, endpoint, region and the key pair.
Good to know
- Only an administrator can change these settings.
- A lower Backups kept per app means older, unpinned backups are removed as new ones are made. A pruned backup is also deleted from the off-site bucket, and it cannot be restored.
- Turning Scheduled backups off stops the schedule for every app, not the owners' manual backups.
- The key pair is never shown again once saved.