Failed backup with minimal error output #553
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Run my first Borgmatic backup.
Steps to reproduce (if a bug)
Actual behavior (if a bug)
See above, backup has failed with no specific error messages.
Expected behavior (if a bug)
Backup succeeds, or fails with additional output.
Environment
borgmatic version: 1.6.4
borgmatic installation method: pipx
Borg version: 1.2.1
Python version: 3.10.5
operating system and version: MacOS Monterey 12.3.1
Thanks for taking the time to report this! It looks like Borg is experiencing an internal error and borgmatic is swallowing most of the traceback instead of forwarding it on to the user. I have come up with a local repro by forcing a Borg error, so I can look into why borgmatic is truncating the traceback.
In the meantime, you can run the Borg command directly to get the full Borg traceback:
... replacing
<random id>
,<host>
,<repo>
, and<folder>
, of course.Okay, this should be fixed in master—at least the borgmatic swallowing the Borg error part. The problem was that borgmatic stopped reading the Borg process output as soon as Borg exited with an error, leaving some of the traceback unread. There was code to account for this situation, but it wasn't doing its job and has been replaced.
The underlying Borg traceback is still probably present on your system, but it should hopefully be easier to debug now. Let me know if I can provide any help with it.
The fix will be part of the next borgmatic release. Thanks again for reporting it!
Wow, fantastic response and phenomenal turnaround time, thank you!
Fix released in borgmatic 1.6.5!