Kamal-Backup:Kamal 应用的定时 Rails 备份
Kamal-Backup 是一个 Ruby gem 和 Docker 镜像,旨在为 Kamal 应用程序提供数据库和 Active Storage 的定期备份。
它利用 restic 进行加密、数据去重和存储检查,并通过 CLI 提供备份、恢复和验证等功能。
该工具将配置信息通过 Kamal 传递到 Accessory,并内置了 pg_dump、mariadb-dump/mysqldump 和 sqlite3 等数据库备份工具,以及 restic,简化了备份流程,避免了在生产环境手动安装和配置备份工具的需求。
Kamal-Backup 还提供“drill”功能,可以将备份恢复到临时环境中进行检查,并生成可提供给安全审查人员的证据报告,证明备份的有效性和安全性。
查看原文开头(英文 · 仅前 3 段)
I released kamal-backup today.
I run Chat with Work on Kamal, and I needed backups. There are already Kamal accessories for database backups. None of them also back up Active Storage. None use restic, so encryption, deduplication, and repository checks are on you. None ship a CLI with restores and drills. None produce evidence you can hand a security reviewer.
So I built one.
※ 出于版权考虑,仅引用前 3 段。完整内容请阅读原文。