Database backup

Create a backup of PostgreSQL (pg_dump) or ClickHouse. S3 only: backups-dev/ in dev, backups/ in prod.

Storage: backups/myproject/{timestamp}.zip (S3: backups-dev/ in dev, backups/ in prod). Cannot be empty.

Restore

Restore the latest backup (by timestamp) from S3 (myproject). backups-dev/ in dev, backups/ in prod. PostgreSQL: .zip with backup.sql. ClickHouse: native format.

Same path used when creating the backup: backups/myproject/{timestamp}.zip

Nuke database

Drop all schema and data in the target database. Leaves it as default empty Postgres (public schema dropped and recreated). This cannot be undone.

Run custom SQL

Execute custom SQL against a PostgreSQL or ClickHouse database. Output is shown below.

Scheduled backups

Add jobs to run pg_dump on a cron schedule. The server loads jobs on startup and refreshes from the database about every 30 seconds.

TypeConnectionSave pathScheduleTimezoneMax backupsRun on startActions
postgresqlpostgres://p…postgresdbtools0 3 * * *UTC10No