kamal-backup is a new open source Ruby gem and Docker image that provides scheduled, encrypted database and Active Storage backups for Rails apps deployed with Kamal. It uses restic under the hood for encryption, deduplication, and repository integrity checks. The tool supports PostgreSQL, MySQL/MariaDB, and SQLite, and ships with a CLI covering setup, on-demand backups, restores, restore drills (including production-side scratch targets), and an evidence command that outputs redacted JSON suitable for security reviews. No cron setup or separate backup host is required — the Docker accessory handles scheduling internally.

6m read timeFrom paolino.me
Post cover image
Table of contents
A gem and a Docker imageWhy resticSetting it upRails data, not just a database dumpRestores are part of the productRestore drillsEvidence for reviewsTry it

Sort: