这是indexloc提供的服务,不要输入任何密码
Skip to content

Retention days not correctly displayed in log #300

@m90

Description

@m90

Discussed in #299

Originally posted by hell-g November 4, 2023
Hi there,
I am using pruning to keep the number of backups limited. This is working as expected. I configured my retention days with BACKUP_RETENTION_DAYS: "14" (inside an Ansible role, therefore the ":") and the pruning is following this. Just the output in the log is a bit misleading. For instance from today:
time=2023-11-04T01:01:09.538+01:00 level=INFO msg="Pruned 1 out of 19 backups as their age exceeded the configured retention period of 0 days." storage=Local
As mentioned above, I would expect that it says here ...retention period of 14 days. Anybody else noticing this or am I misunderstanding this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions