Compression and Encryption on bareos Clients

33 views
Skip to first unread message

Steffen Knauf

unread,
Sep 23, 2019, 11:14:19 AM9/23/19
to bareos...@googlegroups.com
Hello,

we enabled encryption on the clients. Hardware compression is enabled,
too. By activating encryption the compression Rate is nearly fallen to
2-5% (from 50%). I plan to enable compression on the bareos Clients and
disable Harware compression. Can someone confirm that encryption is
done after compression on the bareos clients?

Thanks & greets

Steffen

Spadajspadaj

unread,
Sep 25, 2019, 2:05:33 AM9/25/19
to bareos...@googlegroups.com
Firstly, it's perfectly normal that hardware compression rate drops when
dealing with encrypted data. Compression ratio depends heavily on
entropy of input data and good encryption assures uniform distribution
of encrypted data so there's no point in compressing data _after_
encryption.

Secondly, in Bareos encryption is the property of a filedaemon so it's
applied to all the data from a configured client. Compression however is
defined on the FileSet resource level so you can mix compressed and
uncompressed files within one job. So it only makes sense to encrypt
data after the job is being initially pulled from the client.

You can of course look into the sources (Bareos is open-source after all
;-)) to confirm it but I think it should be reasonable enough.


Best regards,

MK
Reply all
Reply to author
Forward
0 new messages