Backup failure #910
Reference in New Issue
Block a user
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
Backing up
Steps to reproduce
Actual behavior
Expected behavior
No response
Other notes / implementation ideas
No response
borgmatic version
1.8.14
borgmatic installation method
Docker
Borg version
1.4.0
Python version
3.12.4
Database version (if applicable)
No response
Operating system and version
24.04.1
So it looks like borgmatic is handling this Borg error poorly, but there is an underlying Borg error. What happens if you run the
borg infocommand directly?Example:
borg info --json ssh://jv7q0jm5@jv7q0jm5.repo.borgbase.com/./repoThe logs seem to indicate that's returning exit code 81, which might correspond to a remote connection closed.
Heya,
Thanks for the fast reply!
Huh, and does that occur reliably if you run it several times? Especially if you run it around the same time that borgmatic's running normally? I can certainly try to fix borgmatic's handling of the error to display it more nicely, but I'm not sure what I can do about a remote connection closed.
One idea though: I can't imagine that it would impact a
borg info(as opposed to, say, aborg create), but there is this SSH-level work-around for connections being closed prematurely: https://torsion.org/borgmatic/docs/how-to/deal-with-very-large-backups/#broken-pipe-with-remote-repository ... Might be worth looking into if you have a repro.Seems to be reliable currently (will need to check at 5am when the server backs up).
In my ssh config file, I seem to already have:
Gotcha. And if you run borgmatic now instead of around 5 a.m. (assuming that's not too inconvenient to do), do you get the same error?
I'm closing this due to inactivity, but I'd be happy to reopen if you're still experiencing issues here. Thanks!