Re: [Bacula-users] confused about differentials

2015-05-11 Thread Radosław Korzeniewski
Hello,

2015-05-10 17:38 GMT+02:00 Ian Young :

> I've been using Bacula for quite a few years, and it has helped me dig
> myself out of the occasional problem. Today I'm recovering from a more
> serious problem and I find that some of the files I'm trying to restore
> don't get restored.
>
> Amongst other things, I'm confused by the following from "list job="
> output:
>
> | 9,902 | srv-c701-backup | 2015-04-28 23:05:05 | B| I |   81,565
> | 2,930,078,065 | T |
> | 9,911 | srv-c701-backup | 2015-04-29 23:05:04 | B| I |  191
> | 2,098,677 | T |
> | 9,920 | srv-c701-backup | 2015-04-30 23:05:03 | B| I |  156
> | 2,185,564 | T |
> | 9,929 | srv-c701-backup | 2015-05-01 23:05:04 | B| I |   91,030
> | 3,450,906,888 | T |
> | 9,938 | srv-c701-backup | 2015-05-02 23:05:03 | B| D |  112
> | 2,184,302 | T
>
> What I am trying to understand is: if the incrementals are backing up
> things that have changed since the previous incremental,


Incremental is backing up everything from a previous backup of any level
(F,D,I).


> why does the subsequent differential not appear to include any of them,
> given that it's supposed to be backing up everything changed since the last
> full dump (in my case, on 2015-04-19) ?
>

Well, it should. A differential backup level is backing up everything which
was modified (or deleted when using accurate backup mode) since last full
backup level.


>
> The director is running on a CentOS 6 system and claims to be Bacula
> 5.0.0. The client is CentOS 7 and Bacula 5.2.x, but looking at the jobs for
> other systems they also seem to have inconsistencies like this.
>

It is unsupported configuration. Your any client (Bacula FD) version
shouldn't be a newest version then Director/Storage.

This could be a core problem in your case.


>
> Restoring the most recent full dump, the most recent differential and all
> subsequent incrementals definitely leaves a lot of files off the table.
> I've had a bit more success by restoring from all the jobs available in
> order, but unfortunately some of the earlier incrementals have been
> recycled so the data unique to them appears to be lost.
>

If you want to restore a recent backup of the client then you should use a
p.5 of the restore command: 5: Select the most recent backup for a client.
Then Bacula will compound a set of required jobs for you.


>
> I'd really appreciate any pointers as to what is going on here. I'm a bit
> mystified, because this flies in the face of my previous understanding of
> the whole idea of a differential backup.
>
>
First - UPGRADE YOUR BACULA DIRECTOR/STORAGE! it is more then 5 years
old!!! :)

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula 7 rpm bug (Fedora/RHEL/CentOS repo)

2015-05-11 Thread Dimitri Maziuk
Hi Simone,

FYI: after installing bacula-consiole-bat rpm on a headless server bat
comes up with black boxes instead of characters:

> QGtkStyle could not resolve GTK. Make sure you have installed the proper 
> libraries.
> QFont::setPointSize: Point size <= 0 (-2), must be greater than 0
...

Fixed by installing libgnomeui and dejavu-lgc-sans-fonts. These two (or
if possible some smaller subset of gnome stuff) should be added to rpm's
dependencies.

Thanks for packaging it,
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu



signature.asc
Description: OpenPGP digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula 7 rpm bug (Fedora/RHEL/CentOS repo)

2015-05-11 Thread Dimitri Maziuk
PS. this was a fresh install of centos 7.1 x86_64.
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu





signature.asc
Description: OpenPGP digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client/server passwords

2015-05-11 Thread Dimitri Maziuk
On 05/11/2015 03:22 AM, Alex Domoradov wrote:
> Maybe someone would be interesting. I made test with stunnel yesterday and
> ... the results almost the same.

 Run "openssl speed" then run with e.g. "ciphers = md2" on both
ends and post the difference. Repeat with e.g. "ciphers = ghash"
("ciphers = none" should get you even closer).

How did you get the 1.5hr difference? -- 23MB/s looks like your
bottleneck is the network, did you run your first test over the loopback?

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu



signature.asc
Description: OpenPGP digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Avoiding polluting "Buffer Cache" on servers ?

2015-05-11 Thread Robert Heinzmann
Hello,

when running backups, we would like to avoid polluting the buffer cache of the 
server when copying files. Is it possible to disable using the buffer cache in 
Bacula Jobs / Clients (e.g. direct I/O) ?

Regards,
Robert
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RunScript order of multiple Commands

2015-05-11 Thread ZeroUno
Il 11/05/15 15:45, Ana Emília M. Arruda ha scritto:

> Yes luc, command 2 will be executed if command 1 fails.
>
> This is only a "join" of separate runscript resources:

Thank you all, this was very informative.

-- 
01



--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Locking" previous backups to prevent pruning

2015-05-11 Thread Bryn Hughes
I guess what I was looking for is a way to do this without having to 
sort out which volumes are needed, though now that I think about how 
expiry works that makes sense. What I was wanting in my head is an 
archive flag at the job level, but forgetting that the volume expiry is 
what drives the bus so to speak.


Bryn


On 2015-05-11 05:15 AM, Ana Emília M. Arruda wrote:

Hello Bryn,

Do you mean to prevent pruning of volumes? If this is the case, you 
can update volumes status to archive.


Best regards,
Ana

On Sat, May 9, 2015 at 4:39 PM, Bryn Hughes > wrote:


I have a server that recently suffered a double disk failure. Rather
than rebuilding we've reassigned its duties to other machines.  I'd
however like to prevent Bacula from expiring the last
full+incrementals
from it until I'm REALLY sure we've gotten everything we need.

Is there a way to do this through the console?

Bryn


--
One dashboard for servers and applications across
Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable
Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/bacula-users




--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] backups fail with attribute create error

2015-05-11 Thread Tim Dunphy
Hey guys,

 I'm only backing up a couple of VM instances right now. But last night
both of them failed with this error:

11-May 04:01 ops.jokefire.com JobId 58: Fatal error: catreq.c:587 attribute
create error.

That's what I saw with the messages command. However I did not find a
corresponding error in the bacula log located at /var/log/bacula/bacula.log

This is what I saw when I went to check on the backups for today:

Running Jobs:
Console connected at 11-May-15 10:09
 JobId Level   Name   Status
==
58 Increme  web1.jokefire.com.2015-05-11_03.05.04_05 has a fatal error
59 FullJokefire_BackupCatalog.2015-05-11_03.10.00_06 is waiting for
higher priority jobs to finish

Can anyone let me know what I'll need to do to get rid of this error and
start taking backups again?

Thanks,
Tim

-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RunScript order of multiple Commands

2015-05-11 Thread Ana Emília M . Arruda
Yes luc, command 2 will be executed if command 1 fails.

This is only a "join" of separate runscript resources:

RunScript {
   RunsWhen = Before
   FailJobOnError = No
   Command = "/etc/bacula/script_1.sh"
 }

RunScript {
   RunsWhen = Before
   FailJobOnError = No
   Command = "/etc/bacula/script_3.sh"
}

RunScript {
   RunsWhen = Before
   FailJobOnError = No
   Command = "/etc/bacula/script_2.sh"
}

Best regards,
Ana

On Mon, May 11, 2015 at 10:16 AM, Luc Van der Veken 
wrote:

>  At the risk of sounding overly obvious ---  ;)
>
>
>
> If you want to be absolutely certain, you can always take full control
> yourself: put the commands in a shell script, and execute that with a
> single Command line.
>
>
>
> Otherwise more questions arise, for instance if you have ‘FailJobOnError
> = yes’, will command 2 still be executed if command 1 fails?
>
>
>
>
>
> *From:* Alex Domoradov [mailto:alex@gmail.com]
> *Sent:* 11 May 2015 14:17
> *To:* ZeroUno
> *Cc:* bacula-users
> *Subject:* Re: [Bacula-users] RunScript order of multiple Commands
>
>
>
> ​
>
> > Or are they executed in the order in which they are written in the
> configuration, with the second waiting for the first to complete and so on?
>
> it's seem so
>
> RunScript {
>RunsWhen = Before
>FailJobOnError = No
>Command = "/etc/bacula/script_1.sh"
>Command = "/etc/bacula/script_3.sh"
>Command = "/etc/bacula/script_2.sh"
> }
>
> # cat /etc/bacula/script_1.sh
> #!/bin/bash
> echo "command 1, $(date)" >> /tmp/1.log
> sleep 60
>
> # cat /etc/bacula/script_2.sh
> #!/bin/bash
> echo "command 2, $(date)" >> /tmp/1.log
> sleep 120
>
> # cat /etc/bacula/script_3.sh
> #!/bin/bash
> echo "command 3, $(date)" >> /tmp/1.log
> sleep 240
>
> # cat /tmp/1.log
> command 1, Mon May 11 12:08:49 UTC 2015
> command 3, Mon May 11 12:09:49 UTC 2015
> command 2, Mon May 11 12:13:49 UTC 2015
>
>
>
> ​
>
>
>
>
>
> On Mon, May 11, 2015 at 1:21 PM, ZeroUno  wrote:
>
> Hi,
> I'm using bacula 5.2.13 on RedHat 6.3 (cannot change version), and I
> have a very basic question to which I cannot find an answer online.
>
> In the description of the RunScript directive I read that you can
> specify more than one Command option per RunScript.
> But when you do it, in which order are the different Commands executed?
> Are they executed in random order, maybe even simultaneously?
> Or are they executed in the order in which they are written in the
> configuration, with the second waiting for the first to complete and so on?
>
> Thank you.
>
> --
> 01
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RunScript order of multiple Commands

2015-05-11 Thread Luc Van der Veken
At the risk of sounding overly obvious ---  ;)

If you want to be absolutely certain, you can always take full control 
yourself: put the commands in a shell script, and execute that with a single 
Command line.

Otherwise more questions arise, for instance if you have ‘FailJobOnError = 
yes’, will command 2 still be executed if command 1 fails?


From: Alex Domoradov [mailto:alex@gmail.com]
Sent: 11 May 2015 14:17
To: ZeroUno
Cc: bacula-users
Subject: Re: [Bacula-users] RunScript order of multiple Commands

​
> Or are they executed in the order in which they are written in the
configuration, with the second waiting for the first to complete and so on?
it's seem so

RunScript {
   RunsWhen = Before
   FailJobOnError = No
   Command = "/etc/bacula/script_1.sh"
   Command = "/etc/bacula/script_3.sh"
   Command = "/etc/bacula/script_2.sh"
}

# cat /etc/bacula/script_1.sh
#!/bin/bash
echo "command 1, $(date)" >> /tmp/1.log
sleep 60

# cat /etc/bacula/script_2.sh
#!/bin/bash
echo "command 2, $(date)" >> /tmp/1.log
sleep 120

# cat /etc/bacula/script_3.sh
#!/bin/bash
echo "command 3, $(date)" >> /tmp/1.log
sleep 240
# cat /tmp/1.log
command 1, Mon May 11 12:08:49 UTC 2015
command 3, Mon May 11 12:09:49 UTC 2015
command 2, Mon May 11 12:13:49 UTC 2015

​


On Mon, May 11, 2015 at 1:21 PM, ZeroUno 
mailto:zerozerouno...@gmail.com>> wrote:
Hi,
I'm using bacula 5.2.13 on RedHat 6.3 (cannot change version), and I
have a very basic question to which I cannot find an answer online.

In the description of the RunScript directive I read that you can
specify more than one Command option per RunScript.
But when you do it, in which order are the different Commands executed?
Are they executed in random order, maybe even simultaneously?
Or are they executed in the order in which they are written in the
configuration, with the second waiting for the first to complete and so on?

Thank you.

--
01


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Locking" previous backups to prevent pruning

2015-05-11 Thread Ana Emília M . Arruda
Hello Bryn,

Do you mean to prevent pruning of volumes? If this is the case, you can
update volumes status to archive.

Best regards,
Ana

On Sat, May 9, 2015 at 4:39 PM, Bryn Hughes  wrote:

> I have a server that recently suffered a double disk failure. Rather
> than rebuilding we've reassigned its duties to other machines.  I'd
> however like to prevent Bacula from expiring the last full+incrementals
> from it until I'm REALLY sure we've gotten everything we need.
>
> Is there a way to do this through the console?
>
> Bryn
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RunScript order of multiple Commands

2015-05-11 Thread Alex Domoradov
​
> Or are they executed in the order in which they are written in the
configuration, with the second waiting for the first to complete and so on?
it's seem so

RunScript {
   RunsWhen = Before
   FailJobOnError = No
   Command = "/etc/bacula/script_1.sh"
   Command = "/etc/bacula/script_3.sh"
   Command = "/etc/bacula/script_2.sh"
}

# cat /etc/bacula/script_1.sh
#!/bin/bash
echo "command 1, $(date)" >> /tmp/1.log
sleep 60

# cat /etc/bacula/script_2.sh
#!/bin/bash
echo "command 2, $(date)" >> /tmp/1.log
sleep 120

# cat /etc/bacula/script_3.sh
#!/bin/bash
echo "command 3, $(date)" >> /tmp/1.log
sleep 240

# cat /tmp/1.log
command 1, Mon May 11 12:08:49 UTC 2015
command 3, Mon May 11 12:09:49 UTC 2015
command 2, Mon May 11 12:13:49 UTC 2015

​


On Mon, May 11, 2015 at 1:21 PM, ZeroUno  wrote:

> Hi,
> I'm using bacula 5.2.13 on RedHat 6.3 (cannot change version), and I
> have a very basic question to which I cannot find an answer online.
>
> In the description of the RunScript directive I read that you can
> specify more than one Command option per RunScript.
> But when you do it, in which order are the different Commands executed?
> Are they executed in random order, maybe even simultaneously?
> Or are they executed in the order in which they are written in the
> configuration, with the second waiting for the first to complete and so on?
>
> Thank you.
>
> --
> 01
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to compile bacula with LZO

2015-05-11 Thread Francisco Javier Funes Nieto
Do you have the liblzo2-dev library installed?

J.

2015-05-11 13:20 GMT+02:00 ladolf :

> I would like to compile bacula 7.0.5 with LZO compression support on
> Ubuntu Server 14.04.2 LTS, but I am unable to do so.
>
> I have successfully compiled LZO 2.0.9 (
> http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz) using:
> ./configure --prefix=/usr/local
> (I have tried with and without --with-gnu-ld)
>
> /usr/local/lib/ cointaines theese files:
> liblzo2.a  liblzo2.la  liblzo2.so  liblzo2.so.2  liblzo2.so.2.0.0
>
> I am trying to compile bacula ussing command:
>
> CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
> --sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts
> --with-working-dir=/var/bacula/working --with-pid-dir=/var/bacula/pid
> --with-readline=/usr/include/readline --enable-lockmgr --enable-smartalloc
> --with-included-gettext --with-openssl --with-db-name=bacula
> --with-db-user=bacula --with-postgresql --with-lzo
>
> Without --with-lzo it compiles ok, but with --with-lzo it always returns
> error when running "make":
> ...
> Compiling status.c
> Compiling verify.c
> Compiling verify_vol.c
> Compiling xattr.c
> Linking bacula-fd ...
> /home/lado/Build/bacula-7.0.5/libtool --silent --tag=CXX --mode=link
> /usr/bin/g++  -L/usr/local/lib -L../lib -L../findlib -o bacula-fd filed.o
> authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o
> filed_conf.o heartbeat.o job.o restore.o status.o verify.o verify_vol.o
> xattr.o \
> -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
>  -lssl -lcrypto   -lzo2
> /usr/bin/ld: cannot find -lzo2
> collect2: error: ld returned 1 exit status
> make[1]: *** [bacula-fd] Error 1
> make[1]: Leaving directory `/home/lado/Build/bacula-7.0.5/src/filed'
>
>
>   == Error in /home/lado/Build/bacula-7.0.5/src/filed ==
>
> I have also tried options with -LLIBDIR but with nosuccess. I have tried
> adding --with-lzo=/usr/local/include/lzo. I have tried with compiled LZO
> and with using package liblzo2-dev from repository. I have no more ideas
> how to compile bacula with LZO support.
> Please help. How can I compile bacula with LZO support?
>
> +--
> |This was sent by lado.lan...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
_

Francisco Javier Funes Nieto [esen...@gmail.com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to compile bacula with LZO

2015-05-11 Thread ladolf
I would like to compile bacula 7.0.5 with LZO compression support on Ubuntu 
Server 14.04.2 LTS, but I am unable to do so.

I have successfully compiled LZO 2.0.9 
(http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz) using:
./configure --prefix=/usr/local 
(I have tried with and without --with-gnu-ld)

/usr/local/lib/ cointaines theese files:
liblzo2.a  liblzo2.la  liblzo2.so  liblzo2.so.2  liblzo2.so.2.0.0

I am trying to compile bacula ussing command:

CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure 
--sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts 
--with-working-dir=/var/bacula/working --with-pid-dir=/var/bacula/pid 
--with-readline=/usr/include/readline --enable-lockmgr --enable-smartalloc 
--with-included-gettext --with-openssl --with-db-name=bacula 
--with-db-user=bacula --with-postgresql --with-lzo

Without --with-lzo it compiles ok, but with --with-lzo it always returns error 
when running "make":
...
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xattr.c
Linking bacula-fd ...
/home/lado/Build/bacula-7.0.5/libtool --silent --tag=CXX --mode=link 
/usr/bin/g++  -L/usr/local/lib -L../lib -L../findlib -o bacula-fd filed.o 
authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o filed_conf.o 
heartbeat.o job.o restore.o status.o verify.o verify_vol.o xattr.o \
-lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
 -lssl -lcrypto   -lzo2
/usr/bin/ld: cannot find -lzo2
collect2: error: ld returned 1 exit status
make[1]: *** [bacula-fd] Error 1
make[1]: Leaving directory `/home/lado/Build/bacula-7.0.5/src/filed'


  == Error in /home/lado/Build/bacula-7.0.5/src/filed ==

I have also tried options with -LLIBDIR but with nosuccess. I have tried adding 
--with-lzo=/usr/local/include/lzo. I have tried with compiled LZO and with 
using package liblzo2-dev from repository. I have no more ideas how to compile 
bacula with LZO support. 
Please help. How can I compile bacula with LZO support?

+--
|This was sent by lado.lan...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RunScript order of multiple Commands

2015-05-11 Thread ZeroUno
Hi,
I'm using bacula 5.2.13 on RedHat 6.3 (cannot change version), and I 
have a very basic question to which I cannot find an answer online.

In the description of the RunScript directive I read that you can 
specify more than one Command option per RunScript.
But when you do it, in which order are the different Commands executed?
Are they executed in random order, maybe even simultaneously?
Or are they executed in the order in which they are written in the 
configuration, with the second waiting for the first to complete and so on?

Thank you.

-- 
01


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client/server passwords

2015-05-11 Thread Alex Domoradov
Maybe someone would be interesting. I made test with stunnel yesterday and
got the following result

stunnel (data channel encryption)
Compression: LZO
Time: 08:06:38
Size: 653.04 GB
Files: 11,288,747
Speed: 22.90 MB/s
Compression: 0.21

No TLS
Compression: LZO
Time: 07:56:38
Size: 653.04 GB
Files: 11,288,747
Speed: 23.38 MB/s
Compression: 0.21

As you can see the results almost the same.

On Fri, May 8, 2015 at 8:25 PM, Dimitri Maziuk 
wrote:

> On 05/08/2015 11:06 AM, Alex Domoradov wrote:
> >> En/decrypting .7TB stream you'll notice very much.
> > Do you mean 700 Gb? (653.04 GB)
>
> 653.04/1024=0.64. So I rounded the wrong way up.
>
> > it's a requirements from our security department. All communications
> > between servers on the Internet should be encrypted.
>
> Well then the extra 1.5 hours is the requirement from your security
> department and you'll have to live with it.
>
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users