backups: only run restic prune on the last backup #323
Labels
No labels
Bug
Docs
Feature request
Good for newcomers
Infra
Privacy
Refactoring or migration
Security
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: pub-solar/infra#323
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "backups-prune-only-once"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After this change, only
obs-portal
backup will prune the repository ofold snapshots. This is the last backup service to run at 06:00 AM UTC.
This should avoid our nightly backups failing because of the exclusive
lock on the restic repo. We currently start the next backup while the
previous one is still pruning, which makes the newly started one fail
with: