[Borgbackup] logging question

Thorsten von Eicken tve at voneicken.com
Mon Nov 9 12:41:58 EST 2020


I see, thanks for the response. BTW, I looked at the internals docs but 
didn't see any description of the RPC protocol (other than its security 
attributes). I'm probably not looking in the right place...

Thanks!

TvE

On 11/9/20 8:46 AM, Marian Beermann wrote:
> The server doesn't have access to this information (=the command line of
> the client or which files they process). The information you could
> tee(1) out of the borg serve process is considerably lower level than
> that and would need some non-trivial fidgeting to figure out what the
> client did (see internals docs for details, they're decent).
>
> Cheers, Marian
>
>> Does borg server keep a log of commands somewhere, or is that something
>> one can enable?
>>
>> I have a backup server to which many clients back up using borg serve
>> running using ssh forced commands and it would be really nice if I could
>> get a list of commands executed on the server, e.g., if borg serve
>> logged each command to a file and perhaps also the result code. This
>> would be in addition to the regular logging which happens on the
>> clients. Maybe this is something I could create by exec'ing a shell
>> script instead of the borg serve command, but I'm a bit weary of
>> unexpected security implications.
>>
>> Thoughts?
>>
>> -TvE
>>
>>
>> _______________________________________________
>> Borgbackup mailing list
>> Borgbackup at python.org
>> https://mail.python.org/mailman/listinfo/borgbackup
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/borgbackup/attachments/20201109/5d4a82a1/attachment.html>


More information about the Borgbackup mailing list