Bacula-users

Re: [Bacula-users] Client backup with compress

2016-03-18 14:46:48
Subject: Re: [Bacula-users] Client backup with compress
From: Heitor Faria <heitor AT bacula.com DOT br>
To: "More, Ankush" <ankush.more AT capgemini DOT com>
Date: Fri, 18 Mar 2016 15:40:15 -0300 (BRT)
Hello Faria,
Hello, Ankush: my guess is you are using the wrong FileSet for this Catalog backup job. You post this FileSet earlier, for this backup job:

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

But your job is using another FileSet for shure, with lots of Wild excludes:

bacula-dir: inc_conf.c:543-0 set wildbase 1131f88 size=1 *.dbf
bacula-dir: inc_conf.c:543-0 set wildbase 1131f88 size=2 *.data*
bacula-dir: inc_conf.c:543-0 set wildbase 1132aa8 size=1 *.apm
bacula-dir: inc_conf.c:543-0 set wildbase 1133578 size=1 *.amp
bacula-dir: inc_conf.c:543-0 set wildbase 1134248 size=1 *.dbf
bacula-dir: inc_conf.c:543-0 set wildbase 1134248 size=2 *.data*
bacula-dir: inc_conf.c:543-0 set wildbase 1134f68 size=1 *.dbf
bacula-dir: inc_conf.c:543-0 set wildbase 1134f68 size=2 *.data*
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=1 *.vud
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=2 *.vhd
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=3 *.vhdx
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=4 *.vsv
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=5 *.avhd
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=6 *.avhd
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=7 *.dbf
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=8 *.mdf
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=9 *.mdldf
bacula-dir: inc_conf.c:543-0 set wildbase 1136118 size=10 pagefile.sys

Make sure your Catalog Job is using the correct FileSet and post the entire FileSet configuration here.

Regards,
Please see my answer

 

 

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:heitor AT bacula.com DOT br]
Sent: Friday, March 18, 2016 5:27 PM
To: Wanderlei Huttel
Cc: More, Ankush; bacula-users AT lists.sourceforge DOT 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

 

2016-03-18 8:19 GMT-03:00 Heitor Faria <heitor AT bacula.com DOT 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 AT lists.sourceforge DOT 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.more AT capgemini DOT com]
Sent: Wednesday, March 16, 2016 3:23 PM
To: Wanderlei Huttel
Cc: bacula-users AT lists.sourceforge DOT 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:wanderleihuttel AT gmail DOT 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT 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/

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 AT lists.sourceforge DOT 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/

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/
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users