Currently if the repository location changes, Borg issues a warning which requires a y/N response. The part of the warning containing the prompt is not visible when using borgmatic.
It would be good to:
Thank you for suggesting this! Just implemented in master. Now, instead of borgmatic hanging while Borg prompts for input, it defaults to setting BORG_RELOCATED_REPO_ACCESS_IS_OK=no when invoking Borg. And you can override this with a new boolean configuration file option in borgmatic’s storage section: relocated_repo_access_is_ok.
I’ll comment here when this makes its way into a borgmatic release.
Thanks! Given the automated nature of borgmatic, I think this config option makes sense.
Note that borgmatic does not hang. The prompt asking for a y/N response simply is not displayed at the moment the prompt is asked. “y” + Enter still functions, and then reveals the prompt. Similarly, the prompt is revealed after hitting Ctrl+C when borgmatic “hangs”.
Got it, thanks for the explanation. Still pretty unexpected behavior from a user’s perspective though! The new version will instead simply default to a N response so there are no hidden prompts.
And now released as part of borgmatic 1.3.15!
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?