{"repo":"crmne/kamal-backup","free":true,"listed":false,"github":"https://github.com/crmne/kamal-backup","clone":"git clone https://github.com/crmne/kamal-backup.git","description":"Add scheduled Rails backups to Kamal","language":"Ruby","stars":144,"topics":["active-storage","backups","docker","kamal","mysql","postgres","restic","sqlite","rails","ruby"],"license":"MIT","category":"databases-storage","readme_excerpt":"kamal-backup Add scheduled Rails backups to Kamal with one accessory. --- Backups for Rails apps deployed with Kamal should not become a separate ops project. kamal-backup is one Kamal accessory that runs encrypted backups for your Rails database and file-backed Active Storage files on a schedule. It also gives you restore drills and redacted evidence for security reviews like CASA. Run kamal-backup init , fill in one config file, add the accessory, then boot it. If you already deploy with Kamal, backups should feel like adding one more accessory. Why Rails teams use it Most self-hosted Rails apps need the same things: - scheduled backups for PostgreSQL, MySQL/MariaDB, or SQLite - file-backed Active Storage backups from mounted volumes - local restores for inspecting production data safely - restore drills that do not touch the live production database - evidence that says more than \"the backup ran\" kamal-backup wraps that workflow in a small Ruby gem and a production accessory image backed by a restic repository. Quick start Add the gem: Generate the config file and accessory snippet: Add the accessory to config/deploy.yml : The storage volume is writable so restore production can replace its contents safely without replacing the mount point. Writable access is also required for SQLite databases stored on that volume. For a backup-only accessory, you can append :ro ; remove it and reboot the accessory before a production file restore. When the configured SQLite database file","default_branch":null,"files":null,"tree":[],"storefront":"/r/crmne","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/crmne/kamal-backup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}