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

Incorrect comparison with included date #3

Open
mitch10593 opened this issue Oct 31, 2016 · 0 comments
Open

Incorrect comparison with included date #3

mitch10593 opened this issue Oct 31, 2016 · 0 comments

Comments

@mitch10593
Copy link
Contributor

In this example, the backup done on 21/10/2016 should be kept, but it was removed:

2016-10-31 07:35:13 - NOTICE: checking date 20161022
2016-10-31 07:35:13 - NOTICE: match rule: daily after 2016-10-21: keep
2016-10-31 07:35:13 - NOTICE: checking date 20161021
2016-10-31 07:35:13 - NOTICE: match rule: daily after 2016-10-21: remove
2016-10-31 07:35:13 - DEBUG: /bin/rm -rf /backup/history/20161021

the daily rule is the default rule:
"daily": {
"day_of_week": "",
"day": "
",
"month": "*",
"delay": "10 days"
}

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

No branches or pull requests

1 participant