-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add option to specify which day the weekly backup should cover #39
Comments
Urth
added a commit
that referenced
this issue
Sep 2, 2020
Fix #38 by always clamping dates to a sane value for the given period. Previously the targetted desired date for a given retention period would depend on the day the backup was performed. As a result it shifted each day by one day causing unstable intervals in between. So a weekly retention period interval could be vary between 6 to 8 days. For example weekly backups are now clamped to sundays (hardcoded, #39) and as a result the best matching snapshot no longer shifts day by day. This uses dateutil to perform the weekday clamping. Add Django 3.1 as a supported version in the setup requirements.
Urth
added a commit
that referenced
this issue
Sep 2, 2020
Fix #38 by always clamping dates to a sane value for the given period. Previously the targetted desired date for a given retention period would depend on the day the backup was performed. As a result it shifted each day by one day causing unstable intervals in between. So a weekly retention period interval could be vary between 6 to 8 days. For example weekly backups are now clamped to sundays (hardcoded, #39) and as a result the best matching snapshot no longer shifts day by day. This uses dateutil to perform the weekday clamping. Add Django 3.1 as a supported version in the setup requirements.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be nice to be able to specify on which day the weekly backup should be created (or, as bonus, time?). This can be nice in combination with other backup strategies for e.g. MariaDB, where we do weekly backup of databases on sunday (+ binlogs every day to cover the whole week).
Creating a weekly backup in planb on saturday (or sunday before mariadb backup if time option = yes), would then give us the mariabackup + binlogs till saturday/sunday.
The text was updated successfully, but these errors were encountered: