mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[GH-ISSUE #121] Dynamic Retention with minimum number of backups to retain #100
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @gautamsi on GitHub (May 25, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/121
I had a situation, the backup was failing for few days and I was away from home. when I got back home, everything was deleted as the retention days are passed.
At least having minimum backups to keep will at least provide some backups. Having retention days count from last successful backup should also be helpful. in this case if the backups did not go through then the last backup would not be deleted.
Dynamic retention
this could be like 7 daily backups, 4 weekly backups, 12 monthly backups to keep, takes less backup space and have older data to restore from in any case.
@eduardolat commented on GitHub (May 26, 2025):
I'll add more flexibility when configuring retention, including the "minimum number of backups to retain" option
@herrschmidt commented on GitHub (Jun 8, 2025):
This would be so great!
@dcrystalj commented on GitHub (Oct 14, 2025):
can you please confirm currently we don't have option to keep weekly/monthly/yearly backups, or is this done automatically ?