Skip to content

kamal-backup Scheduled backups for Rails apps deployed with Kamal

Back up PostgreSQL, MySQL, SQLite, and file-backed Active Storage files from one Kamal accessory, then run restore drills and produce evidence for security reviews like CASA.

kamal-backup
🕒

Runs on a Schedule

Boot the accessory and it runs kamal-backup schedule by default. Set backup_schedule_seconds and keep daily backups moving without cron glue.

🗄️

Databases and Active Storage

Back up PostgreSQL, MySQL/MariaDB, or SQLite with database-native tools, plus file-backed Active Storage files from mounted volumes such as /data/storage.

🔒

Restore Drills Built In

Restore locally or into scratch production-side targets, run verification commands, and record the result instead of trusting backup logs.

Evidence for Security Reviews

Produce redacted JSON with latest database and Active Storage snapshots, restic check, restore drills, retention settings, and tool versions for security reviews like CASA.