Skip to content

[Feature Request] Disable the YES prompt when BORG_CHECK_I_KNOW_WHAT_I_AM_DOING is enabled #8297

Description

@dertuxmalwieder

My current Borg setup includes a cronjob that executes prune and compact once a day. With 2.0.0 b9 the necessity of borg check was introduced for this. Now borg check has the disadvantage that a separate query is made as to whether I ‘really want this’, which is of course impractical in a cronjob. Deactivating this query via BORG_CHECK_I_KNOW_WHAT_I_AM_DOING=YES does not make the query disappear, however, so that I receive an e-mail with several confirmed queries every day. In my opinion, this makes no sense.

My current workaround is to append > /dev/null 2>&1 to the cronjob, but this is inelegant. A more elegant solution would be good.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions