Skip to content

Backups & restore

How to take backups, where they live, and how to restore.

A Feedbot backup is a single feedbot-<UTC ISO>.tar.gz containing:

  • db.sqlpg_dump -Fc (Postgres custom format).
  • .env — your operator config (mode 0600).

From the dashboard: Settings → Backups → Create backup now. Downloadable from the same page.

From the CLI:

Terminal window
feedbot backup
# → Backup written: 4.2 MB → /opt/feedbot/backups/feedbot-20260508T142200Z.tar.gz

Add a cron entry on your server:

0 3 * * * /usr/local/bin/feedbot backup
Terminal window
feedbot restore /path/to/feedbot-20260508T142200Z.tar.gz

Triple-confirms, drops + recreates the database, runs pg_restore, restarts the api. Data prior to the backup is gone.

Keep at least one backup off-site. Coolify can rsync the backups/ directory to S3 / Backblaze B2 with a Scheduled Task; for self-hosters, restic is a great match for this directory.