> Forget to attached file and sorry to mention all pre requisite package was
> already installed before build from source.
Welcome back, Ankush: I can see your FileSet has more than one options. Did you 
try to set GZIP in all of them? 
Normally is not necessary to specify the path for GZIP libraries when building 
from source, just having pre-installed the devel package is enough. You can 
make sure your client supports gzip compression at the end of ./configure 
output messages. 

> Thanks you,

> Ankush More

> From: More, Ankush
> Sent: Wednesday, March 23, 2016 3:30 PM
> To: 'Heitor Faria'
> Cc: bacula-users@lists.sourceforge.net
> Subject: RE: [Bacula-users] Client backup with compress

> Hi Faria,

> As you suggest, I deleted RPM package and build with source same as director
> version on test client(Linux).

> Still compression is not working

> Job log show:

> Software Compression: None

> Please find attached debug (d500).

> Build client with blow options.

> #./configure --enable-client-only --enable-build-dird=no
> --enable-build-stored=no --bindir=/usr/bin --sbindir=/usr/sbin
> --with-scriptdir=/usr/libexec/bacula/ --with-working-dir=/var/spool/bacula/
> --with-logdir=/var/log --enable-smartalloc

> #make -j8 && make install && make install-autostart-fd

> Do I need to specify for compression when building from source?

> Thank you,

> Ankush More

> From: Heitor Faria [ mailto:hei...@bacula.com.br ]
> Sent: Sunday, March 20, 2016 6:37 PM
> To: More, Ankush
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Client backup with compress

> Hello, Ankush,

> Thanks for the debug information.

> I can see that your FileSet is perfect and recognizes the gzip level 6 
> command.
> However, you will only see gzip messages using debug 500 (not 200 - sorry 
> about
> this, I think it is not documented). You should have this kind of information
> (or hopefully an error), for each copied file:

> hfaria-K46CB-fd: backup.c:1193-1177 GZIP compressed len=2653 uncompressed
> len=10432

> It's better to use full backups for this test.

> Anyway: one thing that you can do to solve this problem at once is uninstall 
> the
> current client rpm and building it from source with the same director version 
> (
> http://bacula.us/compilation/ , item c).

> Regards,

>> From: "More, Ankush" < ankush.m...@capgemini.com >
>> To: "Heitor Faria" < hei...@bacula.com.br >
>> Cc: bacula-users@lists.sourceforge.net
>> Sent: Sunday, March 20, 2016 9:27:42 AM
>> Subject: RE: [Bacula-users] Client backup with compress
>> Hello Faria,

>> Bacula client (Linux) installed below RPMS.

>> bacula-common-5.0.0-12.el6.x86_64

>> bacula-client-5.0.0-12.el6.x86_64

>> Taking backup on hard disk and need software level compression , still backup
>> not compress.

>> Please find attached file for client debug(-d200).

>> Appreciate for help.

>> Thank you,

>> Ankush More

>> From: Heitor Faria [ mailto:hei...@bacula.com.br ]
>> Sent: Saturday, March 19, 2016 12:27 AM
>> To: More, Ankush
>> Cc: bacula-users@lists.sourceforge.net
>> Subject: Re: [Bacula-users] Client backup with compress

>> Ankush: please disregard my previus post. I know understand that you are 
>> trying
>> to enable comrpession to another clients backup jobs.

>> The compression happens in the client side. They must be build with the 
>> proper
>> zlib libraries and that's why I asked for the client debug, not director one.

>> If you are still having issues there is a chance that the fact you are using 
>> 5.x
>> clients (it is important to provide that and full backup log) and a 7.x
>> director may be the root of the problem, although the developers could know 
>> for
>> sure.

>> Regards,

>>>> Please verify the following checklist:
>>>> 1. Every client must be built with the proper zlib development libraries
>>>> installed and found by the compiler (normally Windows & Linux already built
>>>> packages support gzip).

>>>> Ans: Bacula(7.x) server and Client build with RPM. Yes our Windows and 
>>>> Linux
>>>> support gzip.

>>>> Linux bacula client ( 5.x) which use for testing compress backup has zlib
>>>> installed.

>>>> zlib-1.2.3-25.el6.x86_64

>>>> zlib-devel-1.2.3-25.el6.x86_64

>>>> 2. COMPRESSION directive must be set in every FileSet you want compression 
>>>> to be
>>>> applied (restart or reload your director to apply changes).

>>>> Ans:

>>>> FileSet:

>>>> compression = GZIP

>>>> 3. Allow Compression directive must be on (default) for the Storage 
>>>> resource in
>>>> bacula-dir.conf.

>>>> Ans: Below option set

>>>> Storage:

>>>> AllowCompression = yes

>>>> FileSet:

>>>> compression = GZIP

>>>> If you still can not use compression please stop and re-run your clients in
>>>> debug mode (e.g.: -d 200) and paste the output.

>>>> Ans: Please find attached debug mode file( open in WordPad).

>>>> Still backup is not happening in compression mode.

>>>> Job log:

>>>> Software Compression: None

>>>> Let me know if required more info.

>>>> Thank you,

>>>> Ankush More

>>>> From: Heitor Faria [ mailto:hei...@bacula.com.br ]
>>>> Sent: Friday, March 18, 2016 5:27 PM
>>>> To: Wanderlei Huttel
>>>> Cc: More, Ankush; bacula-users@lists.sourceforge.net
>>>> Subject: Re: [Bacula-users] Client backup with compress

>>>>> Hello Heitor
>>>>> What do you mean Label Format in FileSet?

>>>> s/'Label Format'/'Compression'/g

>>>> =)

>>>>> Atenciosamente

>>>>> Wanderlei Hüttel

>>>>> http://www.huttel.com.br

>>>>> 2016-03-18 8:19 GMT-03:00 Heitor Faria < hei...@bacula.com.br >:

>>>>>> Hello,
>>>>> Helo, Ankush. Welcome back.

>>>>>> I notice catalog backup on bacula server work with compression = GZIP 
>>>>>> option.
>>>>>> Job log:
>>>>>> Software Compression: 84.9% 6.6:1

>>>>>> But clients does not work

>>>>>> Job log:

>>>>>> Software Compression: None

>>>>> Please verify the following checklist:

>>>>> 1. Every client must be built with the proper zlib development libraries
>>>>> installed and found by the compiler (normally Windows & Linux already 
>>>>> built
>>>>> packages support gzip).

>>>>> 2. Label Format directive must be set in every FileSet you want 
>>>>> compression to
>>>>> be applied (restart or reload your director to apply changes).

>>>>> 3. Allow Compression directive must be on (default) for the Storage 
>>>>> resource in
>>>>> bacula-dir.conf.

>>>>> If you still can not use compression please stop and re-run your clients 
>>>>> in
>>>>> debug mode (e.g.: -d 200) and paste the output.

>>>>> Regards,

>>>>>> Please help to resolve the issue.

>>>>>> Thank you,

>>>>>> Ankush More

>>>>>> From: More, Ankush
>>>>>> Sent: Wednesday, March 16, 2016 7:56 PM
>>>>>> To: bacula-users@lists.sourceforge.net
>>>>>> Subject: RE: [Bacula-users] Client backup with compress

>>>>>> Hello,

>>>>>> I have installed bacula(7.x) with RPM on Redhat. How do I confirm ZLIB 
>>>>>> support :
>>>>>> yes ?

>>>>>> Zlib already installed.

>>>>>> zlib-devel-1.2.3-29.el6.x86_64

>>>>>> zlib-1.2.3-29.el6.x86_64

>>>>>> 1. You must have the zip development libraries loaded on your system when
>>>>>> building Bacula and Bacula must find this library, normally 
>>>>>> /usr/lib/libz.a .
>>>>>> On Red Hat systems, this library is provided by the zlib-devel rpm.

>>>>>> If the library is found by Bacula during the ./configure it will be 
>>>>>> mentioned in
>>>>>> the config.out line by:

>>>>>> ZLIB support: yes

>>>>>> Thank you,

>>>>>> Ankush More

>>>>>> From: More, Ankush [ mailto:ankush.m...@capgemini.com ]
>>>>>> Sent: Wednesday, March 16, 2016 3:23 PM
>>>>>> To: Wanderlei Huttel
>>>>>> Cc: bacula-users@lists.sourceforge.net
>>>>>> Subject: Re: [Bacula-users] Client backup with compress

>>>>>> WARNING: Kindly be aware the Sender Address on this mail may be forged. 
>>>>>> It
>>>>>> appears to be from capgemini.com but the message has been received from a
>>>>>> server outside Capgemini Group perimeter. User discretion is necessary 
>>>>>> before
>>>>>> performing actions mentioned in this mail.

>>>>>> Hello Huttel,

>>>>>> Bacula Installed with RPM on Redhat.

>>>>>> Zlib already installed.

>>>>>> zlib-devel-1.2.3-29.el6.x86_64

>>>>>> zlib-1.2.3-29.el6.x86_64

>>>>>> Thank you,

>>>>>> Ankush More

>>>>>> From: Wanderlei Huttel [ mailto:wanderleihut...@gmail.com ]
>>>>>> Sent: Wednesday, March 16, 2016 3:13 PM
>>>>>> To: More, Ankush
>>>>>> Subject: Re: [Bacula-users] Client backup with compress

>>>>>> Hello Ankush

>>>>>> When you have compiled, did you install zlib-dev?

>>>>>> apt --installed list | grep zlib or
>>>>>> dpkg -l | grep zlib

>>>>>> Best regards

>>>>>> Wanderlei Hüttel
>>>>>> Enviado de Motorola Moto X2

>>>>>> Hello,

>>>>>> I want to compress client backup on bacula(7.x) server Hard disk.
>>>>>> I have included below option for compression, but it does not work.
>>>>>> Can someone suggest any other option for compression?

>>>>>> FileSet {
>>>>>> Name = "sspserv2 Set"
>>>>>> Include {
>>>>>> Options {
>>>>>> signature = MD5
>>>>>> compression = GZIP
>>>>>> }

>>>>>> Thank you,
>>>>>> Ankush More

>>>>>> This message contains information that may be privileged or confidential 
>>>>>> and is
>>>>>> the property of the Capgemini Group. It is intended only for the person 
>>>>>> to whom
>>>>>> it is addressed. If you are not the intended recipient, you are not 
>>>>>> authorized
>>>>>> to read, print, retain, copy, disseminate, distribute, or use this 
>>>>>> message or
>>>>>> any part thereof. If you receive this message in error, please notify the
>>>>>> sender immediately and delete all copies of this message.

>>>>>> ------------------------------------------------------------------------------
>>>>>> Transform Data into Opportunity.
>>>>>> Accelerate data analysis in your applications with
>>>>>> Intel Data Analytics Acceleration Library.
>>>>>> Click to learn more.
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>>>>>> _______________________________________________
>>>>>> Bacula-users mailing list
>>>>>> Bacula-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users

>>>>>> ------------------------------------------------------------------------------
>>>>>> Transform Data into Opportunity.
>>>>>> Accelerate data analysis in your applications with
>>>>>> Intel Data Analytics Acceleration Library.
>>>>>> Click to learn more.
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>>>>>> _______________________________________________
>>>>>> Bacula-users mailing list
>>>>>> Bacula-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>> --

>>>>> =======================================================================
>>>>> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
>>>>> Administrator II

>>>>> Próximas aulas telepresencial ao-vivo - 15 de fevereiro:
>>>>> http://www.bacula.com.br/agenda/

>>>>> Ministro treinamento e implementação in-company Bacula:
>>>>> http://www.bacula.com.br/in-company/

>>>>> Ou assista minhas videoaulas on-line:
>>>>> http://www.bacula.com.br/treinamento-bacula-ed/

>>>>> 61 8268-4220

>>>>> Site: www.bacula.com.br | Facebook: heitor.faria

>>>>> ========================================================================

>>>>> ------------------------------------------------------------------------------
>>>>> Transform Data into Opportunity.
>>>>> Accelerate data analysis in your applications with
>>>>> Intel Data Analytics Acceleration Library.
>>>>> Click to learn more.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>>>>> _______________________________________________
>>>>> Bacula-users mailing list
>>>>> Bacula-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users

>>>> --

>>>> =======================================================================
>>>> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
>>>> Administrator II

>>>> Próximas aulas telepresencial ao-vivo - 15 de fevereiro:
>>>> http://www.bacula.com.br/agenda/

>>>> Ministro treinamento e implementação in-company Bacula:
>>>> http://www.bacula.com.br/in-company/

>>>> Ou assista minhas videoaulas on-line:
>>>> http://www.bacula.com.br/treinamento-bacula-ed/

>>>> 61 8268-4220

>>>> Site: www.bacula.com.br | Facebook: heitor.faria

>>>> ========================================================================

>>> --

>>> =======================================================================
>>> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
>>> Administrator II

>>> Próximas aulas telepresencial ao-vivo - 15 de fevereiro:
>>> http://www.bacula.com.br/agenda/

>>> Ministro treinamento e implementação in-company Bacula:
>>> http://www.bacula.com.br/in-company/

>>> Ou assista minhas videoaulas on-line:
>>> http://www.bacula.com.br/treinamento-bacula-ed/

>>> 61 8268-4220

>>> Site: www.bacula.com.br | Facebook: heitor.faria

>>> ========================================================================

>>> ------------------------------------------------------------------------------
>>> Transform Data into Opportunity.
>>> Accelerate data analysis in your applications with
>>> Intel Data Analytics Acceleration Library.
>>> Click to learn more.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>>> _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>> --

>> =======================================================================
>> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
>> Administrator II

>> Próximas aulas telepresencial ao-vivo - 15 de fevereiro:
>> http://www.bacula.com.br/agenda/

>> Ministro treinamento e implementação in-company Bacula:
>> http://www.bacula.com.br/in-company/

>> Ou assista minhas videoaulas on-line:
>> http://www.bacula.com.br/treinamento-bacula-ed/

>> 61 8268-4220

>> Site: www.bacula.com.br | Facebook: heitor.faria

>> ========================================================================

> --

> =======================================================================
> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified
> Administrator II

> Próximas aulas telepresencial ao-vivo - 15 de fevereiro:
> http://www.bacula.com.br/agenda/

> Ministro treinamento e implementação in-company Bacula:
> http://www.bacula.com.br/in-company/

> Ou assista minhas videoaulas on-line:
> http://www.bacula.com.br/treinamento-bacula-ed/

> 61 8268-4220

> Site: www.bacula.com.br | Facebook: heitor.faria

> ========================================================================

-- 
======================================================================= 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Próximas aulas telepresencial ao-vivo - 15 de fevereiro: 
http://www.bacula.com.br/agenda/ 
Ministro treinamento e implementação in-company Bacula: 
http://www.bacula.com.br/in-company/ 
Ou assista minhas videoaulas on-line: 
http://www.bacula.com.br/treinamento-bacula-ed/ 
61 8268-4220 
Site: www.bacula.com.br | Facebook: heitor.faria 
======================================================================== 
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to