Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我backup_bucket:在 Rubber.yml 中取消了注释,现在我的数据库在本地和我的 S3 存储桶中都得到了备份。我想让我的数据库只备份到 S3。有没有办法禁用本地备份,同时仍然保留 S3 备份?
backup_bucket:
我能够做到这一点的唯一方法是将以下内容添加到 db 备份 crontab 作业(config/rubber/role/db/crontab)中:
&& rm -rf /mnt/db_backups/*