Skip to content

Incorrect comparison with included date #3

@mitch10593

Description

@mitch10593

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions