wtree Cloud

Database backups

Schedule database backups to an S3 destination, keep the latest N, and test a run manually.

Back up Postgres, MySQL, MariaDB, MongoDB and libSQL databases on a cron schedule. Redis has no database backups.

Before you start

  • S3-compatible storage. Add it in Backups › Storage (see destinations).

Configure a backup

Open the database's Backups tab and click Create backup.

SettingWhat it doesDefault
DestinationStorage that holds the backups.None
DatabaseName of the database to dump.None
ScheduleCron expression.None
Prefix destinationPath under which files are stored in the bucket.None
Custom file nameOptional name prepended to each file's timestamp.Empty
Keep the latestOptional. Keep only the latest N backups.Empty (keep all)
EnabledTurns the schedule on or off.On

Databases inside Compose

A database running in a Compose service is backed up from the Compose service's Settings › Storage and backups section. Besides the settings above, set:

SettingWhat it does
Database typePostgreSQL, MariaDB, MySQL or MongoDB.
Service nameThe compose service that runs the database.

Verify

Click Run manual backup (play icon) next to the backup, then check the bucket for the new file.

Next steps

On this page