New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exit Codes of Borg backup on Network Error #3939
Comments
borg uses ssh to set up and deal with the connection. from ssh man page:
So, we (maybe) have that and also borg's Not much information (and not very precise information), but needs more research whether we can make something from that. |
As far as I understood the SSH error code is not passed trough, just the error code of the command run on the remote end. Would there be any reason not to introduce an 2 < error code < 128, that represents a "transport error"? |
That would be possible at a bigger release step I guess. Main problem is getting to know what happened and defining additional error codes (which reminds me that we likely have another ticket about this). |
see #6756 |
Due to the remote nature of Borg Backup I would find it usefull, if we would get an Exit code back, that indicates the network connection broke down, since this is not really an error in Borg. Therefor inside the script one could just sleep a few seconds and then retry connectiong to the remote a few times before really giving up and throwing an error (or just continuing with the backup). This is especially affecting DialUP with DynDNS.
The text was updated successfully, but these errors were encountered: