Compression is handled by the FD, so you will find all the related
compression code there. However, you will also need to patch the DIR
and the SD to recognize the new compression. I was looking into this
before, and I probably will again, but the compression code isn't
really simple so adding a new compression algorithm would involve lots
of new code. This would include a special handler to determine what
kind of compression is being used (as right now it checks for whether
or not GZIP is on).

Another problem you will probably encounter is that the encryption and
compression code are not separated in any sensible way. IIRC bacula
has to have a separate chunk of code for uncompressed unencrypted,
compressed unencrypted, compressed encrypted, and uncompressed
encrypted backup modes.

There is a lot of room for improvement here.

Cheers,
-Michael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to