borgmatic doesn't show the borg error output for local repositories #705
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#705
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Steps to reproduce (if a bug)
Run some kind of borg command that fails, with
--verbosity 2
Actual behavior (if a bug)
Borgmatic will show the
borg
error output for remote repositories (I'm guessing because it's just showing all ssh output?) but not local ones.Expected behavior (if a bug)
Borgmatic should always show the error output.
Other notes / implementation ideas
Here are some verbose logs showing the issue: the
borg
error output ("--repository-only contradicts --first, --last, --glob-archives, --prefix and --verify-data arguments") is shown after the remote repo runs, but not after the local one! I did check, and if I just do the local repository, I still don't get an error message.Discovered while looking into #704 so could also be related to #688 but I'm guessing it's a general thing and not related to checks specifically.
Environment
borgmatic version: 1.7.13
borgmatic installation method: pip
Borg version: 1.2.4
Python version: 3.9.2
operating system and version: Debian 11
Thanks for filing this one as well. Based on your included borgmatic output though, it does look like the Borg error is showing up for the local repository (unless I'm missing something). Here's the portion of the log where it shows up:
..................I am blind. Thanks. Closing this
No worries! Verbose output can be very ... verbose. 😄