docs: add RustFS backup cleanup and policy checks to runbooks
Secret Scan / Betterleaks (pull_request) Successful in 7s
Secret Scan / Betterleaks (pull_request) Successful in 7s
Object lock only blocks deletion; it never removes old backups, and the RustFS console has no lifecycle screen, so the rule is set with the AWS CLI. Also note that a new policy must be attached to the user, which caused the first backup job's AccessDenied.
This commit is contained in:
1 parent
063688746e
commit
e416e6a555
2 files changed
+26
-2
No files matched your search
@@ -148,7 +148,7 @@ Only do this once steps 5 and 6 have worked. Check that Bitwarden has the admin
|
||||
|
||||
## Automatic backups
|
||||
|
||||
A CronJob from the OpenBao Helm chart saves a Raft snapshot every hour and uploads it to the `openbao-backups` bucket in RustFS on TrueNAS. Object lock keeps each backup for 30 days. The job logs in with Kubernetes auth and can only read snapshots. Its RustFS key can only upload.
|
||||
A CronJob from the OpenBao Helm chart saves a Raft snapshot every hour and uploads it to the `openbao-backups` bucket in RustFS on TrueNAS. Object lock keeps each backup for 30 days, and a lifecycle rule deletes it after about 32 days. The job logs in with Kubernetes auth and can only read snapshots. Its RustFS key can only upload.
|
||||
|
||||
> Missed or failed backups don't trigger alerts yet. Check the job now and then, and still [save a snapshot](#save-a-snapshot) before upgrades.
|
||||
|
||||
|
||||
Reference in new issue
Block a user