-
Notifications
You must be signed in to change notification settings - Fork 35
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
strange fuzzy results, deletes what should be preserved #2
Comments
Hi Petr, thanks for the feedback and sorry if Conceptual explanation When you configure Applied to the first example In your first example the following three timestamps are used:
18:00 minus three hours is 15:00 which matches backups 2 and 3 but not 1, however backup 1 fits in the slot for the daily backup and so is preserved as well. Applied to the second example In your second example the following three timestamps are used:
16:00 minus three hours is 13:00 which matches only backup 3, however backup 1 fits in the slot for the daily backup and so is preserved as well. |
I only just realized that you came to the same conclusion when you opened issue #3. I'll see if I can add an option to change this behavior as suggested there. |
Exactly but anyway, thanks for explanation. Your code is rock solid. I understood the documentation wrong way. I vote for make the example above a part of the documentation. The major difference is that I do not create backups "hourly" or so.. but at specified timers. Thus it doesn't do what expected - (as you wrote) the "default algorithm" do not match all user needs. #3 address that to make your piece of code even more usable. Thanks. |
Well can't get the point why, but it's happening.
Mind the "Deleting directory" in the second example. The only change is in "hour" in "timestamp".
The text was updated successfully, but these errors were encountered: