Skip to content

Backup storage

Choose where your nodes put the server backups they take.

One setting covers every node. Open Admin > Backup Storage, which needs the server backups license feature.

The three places

TypeWhere the backups go
LocalOn each node, on its own disk. No node can read another one.
S3 / MinIOAny S3-compatible storage, including Amazon S3, MinIO, Backblaze B2, Wasabi and DigitalOcean Spaces.
SFTPA remote SFTP server.

MinIO is not a type of its own. Pick S3 / MinIO and turn on path-style URLs.

A new install starts on Local, at /var/lib/badger-daemon/backups.

Local

FieldDescriptionDefault
Storage PathThe directory on each node that holds the backups. Give a full path./var/lib/badger-daemon/backups

S3 and MinIO

FieldDescriptionDefault
Endpoint URLThe address of the storage, such as s3.amazonaws.com.empty
Bucket NameThe bucket the backups go in.badger-backups
Access Key IDThe access key.empty
Secret Access KeyThe secret key. The panel masks it once saved.empty
RegionThe storage region.us-east-1
Presigned URL Expiry (seconds)How long a download link works for.3600
Use SSL/TLSConnect over HTTPS.on
Use Path-Style URLs (required for MinIO)Puts the bucket in the path instead of the hostname. Turn it on for MinIO.off

SFTP

FieldDescriptionDefault
HostThe address of the server.empty
PortThe port.22
UsernameThe login name.empty
Password (optional)Fill this in to sign in with a password, or leave it blank to use a key.empty
Private Key (PEM format, optional)Your private key.empty
Key Passphrase (optional)The passphrase, when the key has one.empty
Base PathThe directory the backups go in./backups
Known Hosts Entry (optional)The host key line. Fill it in to check the server is the one you expect.empty

Give either a password or a private key. The test fails with neither.

Saving it

  1. Pick the type.
  2. Fill in the fields.
  3. Click Test Connection.
  4. Click Save.

Saving sends the settings to every connected node, and each one keeps them across a restart. A node that reconnects later gets them then.

Push to All Daemons sends them again. Use it after a node has been offline a long while, or when one reports settings you do not recognise.

Backups you already have stay where they are. A change of type applies to new ones.

Full and incremental

The server owner picks the type in the Create Backup dialog.

TypeWhat it does
IncrementalUploads only the parts of a file that changed. This is the default.
FullWrites one archive for each backup. Slower and larger.

An incremental backup follows the path filters set on the game. Set those on the Backup Paths tab of the egg, and a server owner can set them per server. See Eggs.

Lock this backup in the same dialog stops it being deleted. Unlock it first to delete it.

How many a server keeps

That count belongs to the server, not to this page.

  • Backup Limit on the server sets how many it keeps.
  • Your license sets the highest that field can go.

Storage that comes with your panel

Your installation includes object storage of its own, with a bucket named badger-backups ready to use. Its credentials are in the credentials file the installer wrote.

Nothing points at it until you say so.

  1. Open Admin > Backup Storage and pick S3 / MinIO.
  2. Enter its address, the access key and the secret key.
  3. Turn on Use Path-Style URLs (required for MinIO).
  4. Click Test Connection, then Save.

Next steps

BadgerPanel Documentation