[Borgbackup] ability to hide message about old borg server?

Thomas Waldmann tw at waldmann-edv.de
Thu Oct 26 01:39:37 EDT 2017


On 10/24/2017 04:58 PM, Felix Schwarz wrote:

> I still use a borg 1.0 server with 1.1 clients. This seems to work pretty well
> so far but I get this message:
> 
> Remote: Borg 1.0.9: exception in RPC call:out
> Remote: Traceback (most recent call last):
> Remote:   File "/usr/lib/python3/dist-packages/borg/remote.py", line 108, in serve
> Remote:     raise InvalidRPCMethod(method)
> Remote: borg.remote.InvalidRPCMethod: get_free_nonce
> Remote: Platform: ...
> Remote: Linux: ...
> ...
> Remote: sys.argv: ['/usr/bin/borg', 'serve', '--umask=077', '--info']
> Remote: SSH_ORIGINAL_COMMAND: None
> Remote:
> Please upgrade to borg version 1.1+ on the server for safer AES-CTR nonce
> handling.
> 
> Is there a way to suppress this message?

No, sorry.

You maybe could write a little script that filters out exactly these
messages and then pipe borg's output through it.

> Upgrading the server is on my list
> but it will take a bit until I can do it so it would be nice to have less
> output from backups (= no cron mails :-).

Or, check borg's rc and only send the mails if rc != 0.


-- 

GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393




More information about the Borgbackup mailing list