Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backups): implement long term retention #7999

Merged
merged 6 commits into from
Nov 26, 2024
Merged

feat(backups): implement long term retention #7999

merged 6 commits into from
Nov 26, 2024

Conversation

fbeauchamp
Copy link
Collaborator

@fbeauchamp fbeauchamp commented Sep 20, 2024

long term retention sometimes called GFS ( Grand Father / Father / Son)
is a way to promote some backup to be kept on a long time

that way , the user can use the find the best equilibrium between
storage and security

This commit add the code mechanics to identify backups that
can be deleted safely. It is intended to use with a form
that ask the user for the number of day, week, month, and year
for which XO will keep the most recent

It extends the actual system of keeping the n most recent backup

Keep in mind that the backup promoted by week and month can be unaligned

Description

Short explanation of this PR (feel free to re-use commit message)

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@fbeauchamp fbeauchamp changed the title feat(backups): implement long terme retention feat(backups): implement long term retention Sep 20, 2024
@fbeauchamp fbeauchamp force-pushed the gfs branch 2 times, most recently from 0da94fc to e9e8ece Compare November 8, 2024 14:42
@fbeauchamp fbeauchamp marked this pull request as ready for review November 8, 2024 14:42
fbeauchamp and others added 6 commits November 26, 2024 13:38
long term retention sometimes called GFS ( Grand Father / Father / Son)
is a way to promote some backup to be kept on a long time

that way , the user can use the find the best equilibrium between
storage and security

This commit add the code mechanics to indentify bakcup that
can be deleted safely. It is intended to use with a form
that ask the suer for the number of day, week, month, and year
for which XO will keep the most recent

It extends the actual system of keeping the n most recent backup

Keep in mind that the backup oromoted by week and month can be decaled
@fbeauchamp fbeauchamp merged commit e80b39e into master Nov 26, 2024
1 check failed
@fbeauchamp fbeauchamp deleted the gfs branch November 26, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants