Re: [Bacula-users] Bacula public key import fails

2018-12-30 Thread Ben Alex
On 31/12/18 2:12 pm, uhog-v...@spamex.com wrote:
> I've downloaded 9.4.0 source (same problem for 9.2.2) and cannot import the 
> Bacula public key. I've tried copy/pasting, made sure I don't have any 
> trailing or leading spaces. I tried downloading the main public key link via 
> wget and editing the resulting file with vi to extract the key in case there 
> was some weird copy/paste problem. I've also tried doing a wget of the public 
> key straight from the link to the key itself but that fails with a 404. No 
> joy on any of them.

$ gpg --keyserver keyserver.ubuntu.com --recv-key
86260C02E82A8FC5CA5FB0638363575EFBD8D142
gpg: key 8363575EFBD8D142: 1 signature not checked due to a missing key
gpg: key 8363575EFBD8D142: public key "Bacula 4096 Distribution
Verification Key (www.bacula.org) " imported



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.

2018-12-29 Thread Ben Alex
On 30/12/18 2:34 pm, Adam Nielsen wrote:
> Any idea what else was upgraded?

https://pastebin.com/raw/ggbV7TkJ contains a complete log of every
package upgraded, downgraded and reinstalled on the server since Bacula
7.4.5.



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.

2018-12-29 Thread Ben Alex
On 29/12/18 4:41 pm, Adam Nielsen wrote:
> I'd suggest rewinding the tape and writing some EOF marks to
> make the tape look empty, then relabelling it through Bacula.  If the
> tape is in good condition, this should allow it to be reused, but of
> course doesn't explain what happened in the first place for it to get
> into this state.

Thanks for your suggestions Adam.

I did more testing using btape. Even with a brand new tape the "label"
command worked but "readlabel" immediately afterwards failed with a BB02
error.

I also noticed tapes labelled with Bacula 7.4.5 would "readlabel" fine,
but those labelled using 9.2.2 would fail "readlabel".

After using btape to write EOF markers to a new tape it caused
subsequent btape commands to reject the tape as read-only.

Next I tried a package update (Arch Linux pacman -Syu) and reboot. This
resolved all issues! This server is kept up-to-date, so the only change
of significance was a new kernel version (4.19.12).

To be able to utilise the problematic tapes labelled by Bacula 9.2.2 I
used btape "rewind", made a 100 MB file (using yes) and cat > /dev/nst0.
This allowed btape "test" to succeed. Next I used bconsole to "purge"
then "relabel" to a temporary name then another "purge" and final
"relabel" to reflect the barcode name. The result is Bacula 9.4.1
rewrote the tape labels and properly report the volbytes in "list
volumes" (I initially used "delete", "label" and "add", but the volbytes
report as zero).

Anyhow thanks again for your suggestions. It's great to have Bacula
working again.



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.

2018-12-28 Thread Ben Alex
I used Bacula 7.4.5 successfully for around 2 years with an IBM
ULTRIUM-HH7 SAS drive and FlexStor II autoloader (Neoseries) on Arch
Linux. Backups and restores worked perfectly.

Last month I upgraded to Bacula 9.2.2. Backups worked without error but
I noticed "list volumes" reporting a 25 TB volume (not 6 TB as usual). A
subsequent test restore failed due to a volume data error.

I followed the Bacula troubleshooting web page [1], trying mt defblksize
0 then a btape test. This reported the same error.

Downgrading back to Bacula 7.4.5 did not resolve the issue.

I upgraded to Bacula 9.4.1 but the issue remains.

A log of the commands and configuration is below.

Any suggestions on what to try next much appreciated. Thanks.


[root@fs1 etc]# mt -f /dev/nst0 defblksize 0

[root@fs1 etc]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x5c (no translation).
Soft error count since last status=0
General status bits on (4101):
 BOT ONLINE IM_REP_EN

[root@fs1 etc]# btape -c /etc/bacula/bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:290-0 Using device: "/dev/nst0" for writing.
btape: btape.c:478-0 open device "LTO-7" (/dev/nst0): OK
*test

=== Write, rewind, and re-read test ===

I'm going to write 1 records and an EOF
then write 1 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

btape: btape.c:1161-0 Wrote 1 blocks of 64412 bytes.
btape: btape.c:612-0 Wrote 1 EOF to "LTO-7" (/dev/nst0)
btape: btape.c:1177-0 Wrote 1 blocks of 64412 bytes.
btape: btape.c:612-0 Wrote 1 EOF to "LTO-7" (/dev/nst0)
btape: btape.c:1219-0 Rewind OK.
29-Dec 11:19 btape JobId 0: Fatal error: block_util.c:425 Volume data
error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
btape: btape.c:1236-0 Read block 1 failed! ERR=block_util.c:425 Volume
data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.

[root@fs1 etc]# lsscsi -g
[11:0:1:0]   tape    IBM  ULTRIUM-HH7  H5B3  /dev/st0   /dev/sg3
[11:0:1:1]   mediumx BDT  FlexStor II  5.40  /dev/sch0  /dev/sg4

Autochanger {
  Name = Autochanger
  Device = LTO-7
  Changer Device = /dev/sg4
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}

Device {
  Name = LTO-7
  Media Type = LTO-7
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Spool Directory = "/tmp"
  Maximum Spool Size = 10GB
  Maximum File Size = 10GB
  AutoChanger = yes
}

[1]
https://www.bacula.org/9.4.x-manuals/en/problems/Testing_Your_Tape_Drive_Wit.html#SECTION00431000



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula first experience worst than HELL !!

2016-05-18 Thread Alex Domoradov
No, it is not. If you need a simple software to make incr backups - you can
look at backuppc

On Wed, May 18, 2016 at 1:50 PM, Randy Katz <rk...@simplicityhosting.com>
wrote:

> Is this troll spam?
>
> On 5/18/2016 2:55 AM, Alex Domoradov wrote:
>
> Probably you can try <http://backuppc.sourceforge.net/info.html>
> http://backuppc.sourceforge.net/info.html
>
> On Wed, May 18, 2016 at 10:58 AM, phil123456 <
> bacula-fo...@backupcentral.com> wrote:
>
>> alright I think bacula is way too complicated, I just need an incremental
>> backup on the file system, no tapes, volumes, all these bullshit
>> thanks anyway
>>
>> +--
>> |This was sent by philippe.flor...@edenred.com via Backup Central.
>> |Forward SPAM to ab...@backupcentral.com.
>> +--
>>
>>
>>
>>
>> --
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data 
> untouched!https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>
>
>
> ___
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula first experience worst than HELL !!

2016-05-18 Thread Alex Domoradov
Probably you can try http://backuppc.sourceforge.net/info.html

On Wed, May 18, 2016 at 10:58 AM, phil123456  wrote:

> alright I think bacula is way too complicated, I just need an incremental
> backup on the file system, no tapes, volumes, all these bullshit
> thanks anyway
>
> +--
> |This was sent by philippe.flor...@edenred.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backups Crossing Versions

2016-03-23 Thread Alex Brandt
Hey,

I'm assuming the answer will be to stop mixing versions but I have to ask if 
it's possible to backup bacula-fd-7.x from a bacula-dir-5.x and bacula-sd-5.x.  
I receive messages about the password being wrong (when the same configuration 
works under bacula-fd-5.x) but I assume that's due to a change in the password 
handling mechanism of bacula.  Are these assumptions correct or is there 
anyway to accomplish this type of backup?

Thanks,

-- 
Alex Brandt
Software Developer for Rackspace and Developer for Gentoo
http://blog.alunduil.com


signature.asc
Description: This is a digitally signed message part.
--
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=/4140___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Do TLS options work without openssl configuration during installation?

2016-03-03 Thread Alex Domoradov
But at the same time it seems that openssl enabled by default at least if
the bacula can find headers and libraries

# ./configure --prefix=/opt/bacula-7.4.0 --with-postgresql=/usr/pgsql-9.4/
--with-mysql --enable-acl --with-tcp-wrappers --with-sqlite3
...

   Large file support:   yes
   Bacula conio support:  yes -ltinfo
   readline support: no
   TCP Wrappers support: yes -lwrap
*   TLS support:  yes*
   Encryption support:   yes
   ZLIB support: yes
   LZO support:  yes


So I think you should use option --with-openssl only if you have installed
openssl from source

On Thu, Mar 3, 2016 at 12:41 PM, Alex Domoradov <alex@gmail.com> wrote:

> AFAIK it wouldn't work
>
> a binary file must be linked with openssl
>
> # ldd bacula-dir | grep ssl
> libssl.so.10 => /usr/lib64/libssl.so.10 (0x7f3a83283000)
> libssl3.so => /usr/lib64/libssl3.so (0x7f3a80089000)
>
> On Thu, Mar 3, 2016 at 12:30 PM, Florian Splett <florian.spl...@web.de>
> wrote:
>
>> Hello.
>>
>> I want to set up TLS security for my bacula system,  but when I first
>> installed the system, I did not specify the "--with-openssl" option.
>> Will the TLS configuration still work? The entries in the config were
>> definitely recognized.
>>
>> I just want to be sure this doesn't end up accepting the configuration,
>> but not actually securing anything,
>> so any answer would be highly appreciated.
>>
>> Regards,
>> Florian S.
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Do TLS options work without openssl configuration during installation?

2016-03-03 Thread Alex Domoradov
AFAIK it wouldn't work

a binary file must be linked with openssl

# ldd bacula-dir | grep ssl
libssl.so.10 => /usr/lib64/libssl.so.10 (0x7f3a83283000)
libssl3.so => /usr/lib64/libssl3.so (0x7f3a80089000)

On Thu, Mar 3, 2016 at 12:30 PM, Florian Splett 
wrote:

> Hello.
>
> I want to set up TLS security for my bacula system,  but when I first
> installed the system, I did not specify the "--with-openssl" option.
> Will the TLS configuration still work? The entries in the config were
> definitely recognized.
>
> I just want to be sure this doesn't end up accepting the configuration,
> but not actually securing anything,
> so any answer would be highly appreciated.
>
> Regards,
> Florian S.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] TLS required but not configured in Bacula.

2016-02-03 Thread Alex Domoradov
Should be something like the following
...
checking for libwrap... yes
checking for OpenSSL... yes
checking for EVP_PKEY_encrypt_old in -lcrypto... yes
checking for library containing dlopen... (cached) -ldl
checking for PostgreSQL support... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
...

# ldd /opt/bacula-7.4.0/sbin/bacula-dir | grep ssl
libssl.so.10 => /usr/lib64/libssl.so.10 (0x7f88bbfc7000)
libssl3.so => /usr/lib64/libssl3.so (0x7f88b8dcd000)

# ldd /opt/bacula-7.4.0/sbin/bacula-sd | grep ssl
libssl.so.10 => /usr/lib64/libssl.so.10 (0x7fc4453e7000)

# ldd /opt/bacula-7.4.0/sbin/bacula-fd | grep ssl
libssl.so.10 => /usr/lib64/libssl.so.10 (0x7fcd6de5d000)

On Wed, Feb 3, 2016 at 4:56 PM, Hector Javier Agudelo Corredor <
hej...@gmail.com> wrote:

> hi Ana
>
> I did the steps you provided me however in the summary does not show me
> the active support TLS. is nomal?
>
> Configuration on Sat Jan 30 14:47:32 COT 2016:
>
>Host: x86_64-unknown-linux-gnu -- redhat
>Bacula version:   Bacula 7.2.0 (14 August 2015)
>Source code location: .
>Install binaries: /sbin
>Install libraries:/usr/lib64
>Install config files: /etc/bacula
>Scripts directory:/etc/bacula
>Archive directory:/tmp
>Working directory:/opt/bacula/working
>PID directory:/var/run
>Subsys directory: /var/lock/subsys
>Man directory:${datarootdir}/man
>Data directory:   /usr/share
>Plugin directory: /usr/lib64
>C Compiler:   gcc 4.4.7
>C++ Compiler: /usr/bin/g++ 4.4.7
>Compiler flags:-g -O2 -Wall -fno-strict-aliasing
> -fno-exceptions -fno-rtti
>Linker flags:
>Libraries:-lpthread -ldl -ldl
>Statically Linked Tools:  no
>Statically Linked FD: no
>Statically Linked SD: no
>Statically Linked DIR:no
>Statically Linked CONS:   no
>Database backends:MySQL
>Database port:
>Database name:bacula
>Database user:bacula
>
>Job Output Email: root@localhost
>Traceback Email:  root@localhost
>SMTP Host Address:localhost
>
>Director Port:9101
>File daemon Port: 9102
>Storage daemon Port:  9103
>
>Director User:
>Director Group:
>Storage Daemon User:
>Storage DaemonGroup:
>File Daemon User:
>File Daemon Group:
>
>Large file support:   yes
>Bacula conio support: no
>readline support: no
>TCP Wrappers support: no
>TLS support:  no
>Encryption support:   no
>ZLIB support: yes
>LZO support:  no
>enable-smartalloc:yes
>enable-lockmgr:   no
>bat support:  no
>client-only:  no
>build-dird:   yes
>build-stored: yes
>Plugin support:   yes
>AFS support:  no
>ACL support:  no
>XATTR support:yes
>systemd support:  no
>Batch insert enabled: MySQL
>
> 2016-02-02 16:57 GMT-05:00 Ana Emília M. Arruda :
>
>> Hello Hector,
>>
>> You can run ./configure --with-openssl (and all your previously options)
>> for enabling SSL support (then make and make install). This will not modify
>> or delete your conf files and catalog database.
>>
>> Best regards,
>> Ana
>>
>> On Tue, Feb 2, 2016 at 10:19 PM, Hector Javier Agudelo Corredor <
>> hej...@gmail.com> wrote:
>>
>>> hi.
>>>
>>> bacula already had installed 7.2, 9.3.9 and MySQL 7.0 webacula. But when
>>> I was setting my certificates for TLS I went the following error;
>>>
>>> [root @ bacula74mysql bacula-7.2.0] # sudo bacula-dir -tc
>>> /etc/bacula/bacula-dir.conf
>>> 29-Jan 20:47 bacula-dir JobId 0: Fatal error: TLS required but not
>>> configured in Bacula.
>>>
>>> I want to know if i can do without having to install bacula . or touch
>>> again compile ./configure --with-mysql --with-openssl
>>>
>>> I appreciate your help.
>>>
>>> --
>>> HECTOR
>>>
>>>
>>> --
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>>> ___
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>>
>>
>
>
> --
> HECTOR
>
>
> --
> 

Re: [Bacula-users] Error Director /usr/lib64/libbaccats-7.4.0.so: undefined symbol: mysql_init

2016-01-30 Thread Alex Domoradov
Could you show output of the following command?

# alternatives --config libbaccats.so

Because there is postgresql activated by default on CentOS6

# alternatives --config libbaccats.soThere are 3 programs which
provide 'libbaccats.so'.  Selection
Command---   1
/usr/lib64/libbaccats-mysql.so   2
/usr/lib64/libbaccats-sqlite3.so*+ 3
/usr/lib64/libbaccats-postgresql.soEnter to keep the current
selection[+], or type selection number:



On Sat, Jan 30, 2016 at 4:16 AM, Phil Stracchino 
wrote:

> On 01/29/16 19:41, Hector Javier Agudelo Corredor wrote:
> > HI team
> >
> >
> > I installed centos 6.7.
> >
> > I have installed bacula 7.4 with postgres  5.7.10 but when I set the
> > mysql password in the file director.
> [...]
>
> > But when I test settings file manager with the command
> >
> > bacula-dir sudo -tc /etc/bacula/bacula-dir.conf
> >
> > get the following error:
> >
> > bacula-dir: symbol lookup error: /usr/lib64/libbaccats-7.4.0.so
> > : undefined symbol: mysql_init
>
>
> Um..   What's wrong with this picture?
>
> Did you mean you installed with *MySQL* 5.7.10?
>
>
> Personally, if I were you, I would not be using MySQL 5.7 yet.  It seems
> to still have some teething issues, some of them serious.  You might try
> backing out to MySQL (or Percona Server) 5.6.28.
>
> That said, as Michael suggested, it looks as though there is something
> wrong (or simply odd) about either your configure options or your build
> environment.
>
>
> --
>   Phil Stracchino
>   Babylon Communications
>   ph...@caerllewys.net
>   p...@co.ordinate.org
>   Landline: 603.293.8485
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9

2016-01-29 Thread Alex Domoradov
> Then you need to download the source for postgres 9.4 and compile from
source
it's a really bad idea

# lsb_release -a
LSB Version:
:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: CentOS
Description:CentOS release 6.7 (Final)
Release:6.7
Codename:   Final

# yum install
http://yum.postgresql.org/9.4/redhat/rhel-6Server-x86_64/pgdg-centos94-9.4-2.noarch.rpm

# yum install postgresql94-devel.x86_64 postgresql94.x86_64
postgresql94-server.x86_64

# rpm -ql postgresql94-devel | grep libpq-fe.h
/usr/pgsql-9.4/include/libpq-fe.h

# ./configure --prefix=/opt/bacula-7.4.0 --with-postgresql=/usr/pgsql-9.4/
...
checking for PostgreSQL support... yes
...
Database backends:PostgreSQL

# make install
# ldd /opt/bacula-7.4.0/sbin/bacula-dir | grep pgsql
libpq.so.5 => /usr/pgsql-9.4//lib/libpq.so.5 (0x7f06792d5000)

That's all you need to do.

P.S.
during configuring I saw the following warning

config.status: WARNING:  'src/qt-console/bat.pro.in' seems to ignore the
--datarootdir setting

Working directory:/opt/bacula/working
PID directory:/var/run
Subsys directory: /var/lock/subsys
Man directory:${datarootdir}/man
Data directory:   /usr/share
Plugin directory: /usr/lib64
C Compiler:   gcc 4.4.7

On Thu, Jan 28, 2016 at 10:54 AM, Simone Caronni 
wrote:

> There's PostgreSQL version 9.2 in the Software Collection.
> Both RHEL/CentOS 6 have it, so if that is enough for you, the easiest
> thing would be to change the spec file of the 7.4 backport a bit and
> rebuild it against the SCL packages.
>
> Regards,
> --Simone
>
> On Wed, Jan 27, 2016 at 10:24 PM, Michael Munger <
> mich...@highpoweredhelp.com> wrote:
>
>> Then you need to download the source for postgres 9.4 and compile from
>> source, making sure that it installs the headers in the appropriate place.
>>
>>
>>
>>
>>
>> Michael Munger, dCAP, MCPS, MCNPS, MBSS
>> High Powered Help, Inc.
>> Microsoft Certified Professional
>> Microsoft Certified Small Business Specialist
>> Digium Certified Asterisk Professional
>> mich...@highpoweredhelp.com
>>
>>
>>
>> *From:* Hector Javier Agudelo Corredor [mailto:hej...@gmail.com]
>> *Sent:* Wednesday, January 27, 2016 4:18 PM
>> *To:* Michael Munger
>> *Cc:* bacula-users@lists.sourceforge.net
>> *Subject:* Re: [Bacula-users] error compilation bacula 7.4 with
>> postgresql version 9.3.9
>>
>>
>>
>> Hi michael
>>
>>
>>
>> I look for this file, but not actually appears if I install the
>> postgresql-devel 8.4.
>>
>>
>>
>>
>>
>> [root@bacula74web bacula-7.4.0]#  find / -iname libpq-fe.h
>>
>> [root@bacula74web bacula-7.4.0]#
>>
>>
>>
>> but when i install postgresql-devel 8.4 de psql is 8.4 with database 9.4
>>
>>
>>
>> i need psql 9.4
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 2016-01-27 15:53 GMT-05:00 Michael Munger :
>>
>> Configure cannot find libpq-fe.h.
>>
>> On your system, execute the following (as root):
>>
>> 1. updatedb
>> 2. locate libpq-fe.h
>>
>> This should show you where the devel files are installed on your system.
>> Once you have that, you can make a symlink that points a “standard”
>> location to where your files actually are.
>>
>> Suppose locate show you that libpq-fe.h is in
>> /usr/something/random/pgsql, then you would execute:
>>
>> ln -s /usr/something/random/pgsql /usr/include/pgsql
>>
>> Thereby allowing configure to find libpq-fe.h in /usr/include/pgsql as
>> /usr/include/pgsql/libpq-fe.h
>>
>> In the alternative, you can use:
>>
>> --with-postgresql=/usr/something/random/pgsql
>>
>> Michael Munger, dCAP, MCPS, MCNPS, MBSS
>> High Powered Help, Inc.
>> Microsoft Certified Professional
>> Microsoft Certified Small Business Specialist
>> Digium Certified Asterisk Professional
>> mich...@highpoweredhelp.com
>>
>> From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com]
>> Sent: Wednesday, January 27, 2016 3:41 PM
>> To: bacula-users@lists.sourceforge.net
>> Subject: [Bacula-users] error compilation bacula 7.4 with postgresql
>> version 9.3.9
>>
>>
>>
>>
>> Install postgres but when compiling Bacula 9.3.10 7.4 to install it with
>> the command ./configure --with-postgresql. ihave this error
>>
>> checking for PostgreSQL support... no
>> configure: error: Unable to find libpq-fe.h in standard locations
>> [root@bacula74web bacula-7.4.0]#
>>
>> This error is resolved by installing the postgresql-devel but 8.4
>>
>>
>> yum install postgresql-devel
>>
>>
>> By making the default CentOS version 8.4 but I install PostgreSQL 9.4 is
>> already installed and postgresql-devel version 9.3. But if I do not install
>> this default is the 8.4 does not compile me to install.
>>
>> see bacula1.jpg
>>
>> What should I do to let me run with libraries of version 9.3 of
>> PostgreSQL?
>>
>> i saw the file configuration  y the library libpq-fe.h its not there.
>>
>> thanks for your help
>>
>> --
>> HECTOR
>>
>>
>>
>>
>>
>> --
>>
>> HECTOR
>>

Re: [Bacula-users] 7.2 mysql issue?

2015-10-14 Thread Alex Domoradov
The same thing as for me. I'm trying do not use mysql shipped with CentOS 6
and replace it with Percona 5.5/5.6 whenever it's possible

2 Stephen
Have you tried to run mysqltunner?


On Mon, Oct 12, 2015 at 07:33:46AM -0700, Stephen Thompson wrote:
> >
> > update...
> >
> > After adding more RAM, we are back to getting a about 3 queries a day
> > that run longer than 15 minutes.  This was our norm before upgrading.
> > No job errors since the first couple days from this month (Oct).  Not
> > sure if the reduction in long running queries was actually from
> > additional RAM or not, since last week before adding RAM, the number of
> > long running queries per day had already greatly diminished since
> > beginning of month.
> >
> > So, I guess, problem solved for now, though I'm not completely confident
> > about what actually happened or if I did anything to fix it.
> > Oh, well.
> >
> > Stephen
>
> Hi Stephen,
>
> you might also try giving MariaDB a shot which has been performing
> fine as a drop-in mysql replacement for us for the last few years with
> catalogs of similar size.
>
> Cheers, Uwe
>
>
>
>
>
>
>
>
>
>
> --
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula version 7.2.0 released

2015-08-14 Thread Alex Domoradov
 Job Bandwidth Limitations
I have been waiting this feature for a few years. And finally I got it.
Thanks a lot!

On Fri, Aug 14, 2015 at 4:01 PM, Kern Sibbald k...@sibbald.com wrote:

 Hello Wanderlei,

 I am pleased to hear that it is working well for you.  There are many new
 features and additions nice things like binaries that the project (thanks
 to help from Bacula Systems) should be supplying in the future -- some
 great features are a bit longer term, but binaries I hoping for in the near
 future.

 Thanks the encouragement and for using Bacula.

 Best regards,
 Kern


 On 14.08.2015 14:58, Wanderlei Huttel wrote:

 Hi Kern

 Thank you for having released this new version and congratulations for the
 excellent work!

 I've upgraded my system in this morning and I've made some operations of
 backup and restore and everything is working fine!



 Best Regards
 Wanderlei

 2015-08-14 9:23 GMT-03:00 Kern Sibbald k...@sibbald.com:

 Hello,

 Our Bacula Systems gnome gurus have been working hard in the Swiss
 mountains, and their work is now released as Bacula version 7.2.0.  You
 can find the source code at Source Forge as usual.

 This version has quite a number of difficult and important bug fixes
 over version 7.0.5 as well as a good number of new features.  I won't
 attempt to list all the new features here, but suggest that you look at
 the New Features chapter of the manual.  Please note that there may be a
 few new features documented in the 7.2. section of the manual that were
 actually in 7.0.5 -- I just ran out of time at the end, so rather than
 miss a feature, I took the risk to include some already released.

 This version has not been tested in production yet, so please test it
 carefully.  That said, it is largely based on Bacula Enterprise version
 8.2, which is extremely stable and it also has a number of fixes and
 features from the next, yet unreleased, Enterprise version as well as
 *all* the Enterprise bug fixes.

 For certain of the new features, and a couple more yet to come, this
 version has a new catalog layout, which means that you must do a catalog
 upgrade (it is relatively simple).  As always, please backup your
 database prior to applying the upgrade procedure.

 Previously we supplied an update script for only one version.  To avoid
 the proliferation of upgrade scripts in the future, we have settled on a
 single script (update_bacula_tables), which will upgrade from version
 3.0.x to version 5.2.x (same as 7.0.x) and to the new 7.2.0 format.  So
 the procedure much simpler.
 As soon as we can update the bacula.org web site to have a sort of more
 automated download area, we will move our source release to the
 bacula.org web site and begin furnishing binaries.

 Many thanks to Bacula Systems for providing the bug fixes and new
 features.  Since the development process in Bacula Systems is going
 faster (more programmers), we can expect even more features in future
 versions.

 You may notice a few license/copyright changes, but these are all very
 positive for the community version and its future. I will go into it in
 more detail on this point in a Status Report that will follow this
 announcement in a few days.

 Thanks for using Bacula.

 Best regards,
 Kern


 --
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users





 --

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bsmtp failing to connect to mail server

2015-08-12 Thread Alex Domoradov
If you don't want change/configure postfix - I may suggest to use swaks.
It's a perl script which has a lot of functionality. I'm using the
following command with nagios without any problem

/usr/bin/printf %b $MESSAGE\n | /usr/bin/swaks -4 --server
smtp.googlemail.com:587 --from $USER3$ --to $CONTACTEMAIL$ -tls --auth
PLAIN --auth-user $USER3$ --auth-password $USER4$ --h-Subject $SUBJ
--body - --hide-all

On Wed, Aug 12, 2015 at 7:38 AM, Jerry Lowry michaiah2...@gmail.com wrote:

 Thank you all for the pointers and information regarding postfix and
 google mail.  I have not determined which way I am going to proceed yet.
 To many other fires, which makes me check on the backups rather than check
 the email.

 Kind regards,

 jerry

 On Sun, Aug 9, 2015 at 11:37 AM, Dimitri Maziuk dmaz...@bmrb.wisc.edu
 wrote:

 On 2015-08-08 14:23, Jerry Lowry wrote:
  Heitor,  Sorry for not saying this in the original text.  It does the
  same thing when I specify 'localhost'.
 
  I don't really need 'tls' that is just what gmail is looking for when I
  try to use them as the sending mail server.

 Send-only postfix setup that also accepts mail on 127.0.0.1:

   /etc/postfix/main.cf:

 myorigin = $mydomain
 inet_interfaces = localhost
 inet_protocols = ipv4
 mydestination =
 relayhost = $mydomain
 local_transport = error:local mail delivery is disabled

 -- change myorigin and relayhost as appropriate. Plus,

   /etc/postfix/master.cf:

 #local unix  -   n   n   -   -   local

 (i.e. the local line commented out).

 Make sure iptables isn't blocking port 25 on localhost.

 To test:

 telnet localhost 25

 -- if you get connected and 220 code from postfix you should be good
 to go. Note that sending mail from command line is not a useful test
 since it doesn't necessarily work the same way. It's calling the
 sendmail binary directly instead of talking to the server on port 25.

 And then there's gmail. It delivers some messages to all mail instead
 of inbox, messages whose From and To addresses are the same just vanish,
 and so on. So check the postfix log after running a test job: it may
 well be there's nothing wrong with your bsmtp or postfix config.

 Dima


 --
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




 --

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] error connecting to database

2015-08-06 Thread Alex Domoradov
You could find out with which version of mysql client has been compiled
your bacula with the following command

# ldd /usr/sbin/bacula-dir | grep mysql
libmysqlclient.so.18 = /lib64/libmysqlclient.so.18
(0x7f07abe3d000)


# rpm -qf /lib64/libmysqlclient.so.18
Percona-Server-shared-55-5.5.43-rel37.2.el7.x86_64

On Thu, Aug 6, 2015 at 3:47 PM, Heitor Faria hei...@bacula.com.br wrote:

 Hey Heitor,

  Actually to 1, no they are not. I have mariadb-5.5.41 on the bacula
 server (client side) and mariadb 10 on the db server. I might try upgrading
 the client on the bacula server tomorrow. I don't have SELinux enabled
 anywhere currently. I probably will enable that tho once I get everything
 working.

 Most important of all is to know what MySQL / MariaDB development
 libraries were used to build you Bacula binaries. You may want / need to
 update Bacula with binaries built from source:
 http://bacula.us/compilation/

 Regards,
 ===
 Heitor Medrado de Faria - LPIC-III | ITIL-F |  Bacula Systems Certified
 Administrator II
 Do you need Bacula training?
 https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list
 +55 61 %2B55%2061%202021-82608268-4220 %2B55%2061%208268-4220
 Site: http://bacula.us FB: heitor.faria
 http://www.facebook.com/heitor.faria
 ===


 I'll try to update you guys tomorrow.

 Thanks for all your input!

 Tim

 On Wed, Aug 5, 2015 at 8:45 AM, Heitor Faria hei...@bacula.com.br wrote:


 Em ter, 4 de ago de 2015 às 23:01, Tim Dunphy bluethu...@gmail.com
 escreveu:

 Hey Ana,
  Nice to hear from you!

 Tried that:


 Catalog {
   Name = MyCatalog
 # Uncomment the following line if you want the dbi driver
   #dbdriver = dbi:mysql; dbaddress = db.example.com; dbport = 3306
   dbname = bacula;  dbuser = admin_ssl; dbpassword = secret;
 dbaddress = db.example.com; dbport = 3306
 }

 And restarted. Same result unfortunately! :(

 [root@ops:~] #tail -f /var/log/bacula/bacula.log
 Database=bacula User=admin_ssl
 MySQL connect failed either server not running or your authorization is
 incorrect.
 05-Aug 01:59 bacula-dir ERROR TERMINATION
 Please correct configuration file: /etc/bacula/bacula-dir.conf
 05-Aug 01:59 bacula-dir JobId 0: Fatal error: Could not open Catalog
 MyCatalog, database bacula.
 05-Aug 01:59 bacula-dir JobId 0: Fatal error: mysql.c:210 Unable to
 connect to MySQL server.
 Database=bacula User=admin_ssl
 MySQL connect failed either server not running or your authorization is
 incorrect.
 05-Aug 01:59 bacula-dir ERROR TERMINATION
 Please correct configuration file: /etc/bacula/bacula-dir.conf

 1. Is your remote MySQL server version the same installed in your Bacula
 Server?
 2. From your Bacula server can you telnet ip_address 3306 your MySQL
 server?
 3. Do you have selinux or iptables enabled at MySQL Server? Someone
 wrote that never had problems with selinux. Neither do I, since I always
 disable it. =)

 Just ignore 2 and 3. I forgot you can connect with calling the client
 directly.


 Any more ideas?

 Thanks,
 Tim





 --
 GPG me!!

 gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B




 --

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula causing high disk-io on clients

2015-06-27 Thread Alex Domoradov
FYI

I have 1Gb uplinks between bacula sd and client and get the following
results

Compression: NONE
Time: 07:16:58
Size: 831.14 GB
Files: 11,288,747
Speed: 32.46 MB/s
Compression: 0.00

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

Compression: GZIP
Time: 10:09:07
Size: 636.41 GB
Files: 11,288,747
Speed: 17.83 MB/s
Compression: 0.23



On Sat, Jun 27, 2015 at 4:19 PM, Alan Brown a...@mssl.ucl.ac.uk wrote:

  On 27/06/15 10:45, Dmitri Maziuk wrote:

 Compressing data on the client means fewer bytes to send over the wire.
 Block-level compression like bzip2 tends to be completely cpu-bound and
 anything bigger than a cellphone tends to have plenty of cycles to spare.


 Not entirely true and certainly not accurate for Gb/s and faster links.

 Individual CPU cores haven't changed much in terms of speed for nearly a
 decade and most compression algorithms are single threaded when fed from
 stdin (even pigz and pbzip). On top of that you're facing memory - CPU
 bottlenecks.

 The result when running gzip compression over a 1Gb/s link is that you'll
 usually achieve a maximum end-to-end rate of 30MB/s, vs the wire speed of
 110MB/s ( b = bit, B=BYTE, aka o = octet if you're french )

 bzip is significantly worse. Even LZO gives little gain at 1Gb/s in
 exchange for making your CPU run hot and drawing more power than you need
 to.

 At 10Gb/s, LZO is a significant bottleneck.


 The takeaway: Unless you're backing up over a WAN (and a slow or
 overloaded one at that), wireside compression is not a net win.

 We have 300 people on our campus linking to the main site at 1Gb/s and
 whilst backing up machines on the main site to our satellite one we still
 achieve faster backups without compression than with it.


 The other side of compression is that it's a huge CPU drain. I already
 have enough problems with people rebooting windows systems mid-backup
 without adding even more incentive for them to hit the Big Red Button.



 --
 Monitor 25 network devices or servers for free with OpManager!
 OpManager is web-based network management software that monitors
 network devices and physical  virtual servers, alerts via email  sms
 for fault. Monitor 25 devices for free with no restriction. Download now
 http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum not working on Ubuntu 14.04 LTS running Bacula 7.0.5

2015-06-01 Thread Alex Domoradov
What about output of the following command

# apache2ctl -t -D DUMP_VHOSTS

P.S.
Do you enable virtual host with a2ensite?

On Mon, Jun 1, 2015 at 8:17 AM, Marcin Haba ganius...@gmail.com wrote:

 Hello,

 Your web server configuration looks well.

 Could you tell me if you placed hidden file .htaccess  from tar.gz
 archive to location:

 /var/www/baculum/

 The hidden file consists mod_rewrite rules and I guess that during
 copying from tar.gz archive the hidden file has not been copied.

 If you are interested in Baculum binary package for your Ubuntu 14.04,
 here is unofficial PPA project on Launchpad.net:

 https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum

 The binary packages contain almost latest Baculum snapshot from Bacula
 Git archive.

 From 7.0.5 version to current Git version there are a lot of new
 functionalities in Baculum.

 Best regards.
 Marcin Haba (gani)

 2015-06-01 0:38 GMT+02:00 Mike Boyce niwtechnol...@gmail.com:
  I'm currently testing Bacula 7.0.5 before deploying it into a production
  environment.  This is a fresh install of Ubuntu just to test setting up
 and
  running Bacula.
 
  The problem I have is that when I set up Baculum according to the
  instructions included with the file I get an error when pointing my
 browser
  at the web server:
 
  Not Found
 
  The requested URL /wizard/ was not found on this server.
 
  
  Apache/2.4.7 (Ubuntu) Server at 192.168.25.101 Port 80
 
 
  I've googled this and read as much as I can find, but I have applied all
 the
  fixes and double and triple-checked my settings and the solutions that
 are
  offered don't apply to me b/c I've already applied the solutions.
 
  I set the document root to the directory that I have baculum in:
  /var/www/baculum.  After unpacking it there I changed the ownership
  recursively the www-data:www-data on that directory.
 
  The other thing I've seen suggested to resolve this is to enable mod
  rewrite, but I've already enabled it.  It's even in the instructions
 under
  the Debian specific part.
 
  Included is my apache config file.  Any help that anyone can provide
 will be
  greatly appreciated.
 
  VirtualHost *:80
  # The ServerName directive sets the request scheme, hostname and port
  that
  # the server uses to identify itself. This is used when creating
  # redirection URLs. In the context of virtual hosts, the ServerName
  # specifies what hostname must appear in the request's Host: header
 to
  # match this virtual host. For the default virtual host (this file)
 this
  # value is not decisive as it is used as a last resort host
 regardless.
  # However, you must set it for any further virtual host explicitly.
  #ServerName www.example.com
 
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/baculum
  ServerName Ubuntu14-04.boycenet.local
  Directory /var/www/baculum
  RewriteEngine On
  AllowOverride All
  AuthType Basic
  AuthName MyPrivateFile
  AuthUserFile /etc/apache2/passwords
  Require valid-user
  Order allow,deny
  Allow from all
  /Directory
 
  # Available loglevels: trace8, ..., trace1, debug, info, notice,
 warn,
  # error, crit, alert, emerg.
  # It is also possible to configure the loglevel for particular
  # modules, e.g.
  #LogLevel info ssl:warn
 
  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
 
  # For most configuration files from conf-available/, which are
  # enabled or disabled at a global level, it is possible to
  # include a line for only one particular virtual host. For example
 the
  # following line enables the CGI configuration for this host only
  # after it has been globally disabled with a2disconf.
  #Include conf-available/serve-cgi-bin.conf
  /VirtualHost
 
  Thanks!
  Mike Boyce
 
 
 
 --
 
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 



 --
 Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
 za przyjaciół swoich. Jezus Chrystus


 --
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unable to send mail with mutt as mailcommand

2015-05-18 Thread Alex Domoradov
You can use swaks to send emails with ssl/tls. It's a very useful command
line utility which I have used with nagios

/usr/bin/printf $MESSAGE$ | /usr/bin/swaks -4 --server
smtp.googlemail.com:587 --from no-re...@example.net --to
nagios-ad...@example.net -tls --auth PLAIN --auth-user no-re...@example.net
--auth-password 7654321 --h-Subject $SUBJECT$ --body - --hide-all

The other way is to setup stunnel, if your command line utility doesn't
support ssl/tls, but email server require it.

On Thu, May 14, 2015 at 8:40 PM, Kelvin Minter kb.min...@gmail.com wrote:

 I am now seeing logs within the maillog after following Bill's advice.

 Thank you for your replys and happy coding!

 On Thu, May 14, 2015 at 9:04 AM, Richard 
 lists-bac...@listmail.innovate.net wrote:



  Original Message 
  Date: Thursday, May 14, 2015 09:11:10 AM -0400
  From: Bill Arlofski waa-bac...@revpol.com
 
  On 05/14/2015 01:33 AM, Kelvin Minter wrote:
  Hello I am running bacula 5.2.13 on CentOS 6.6.
 
  I have the following configuration for my messages in
  /etc/bacula/bacula-dir.conf
 
  Messages {
Name = Standard
mailcommand = /usr/bin/mutt -F /root/.muttrc-bacula -s
\Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/bin/mutt -F /root/.muttrc-bacula -s
\Bacula: Intervention needed for %j\ %r
 
mail = myem...@domain.com mailto:myem...@domain.com = all,
!skipped operator = myem...@domain.com
mailto:myem...@domain.com = mount console = all, !skipped,
!saved
 
append = /var/log/bacula/bacula.log = all, !skipped
catalog = all
  }
 
  When I run mutt on the command line it proceeds and I am able to
  receive the mail at my destination address.
  However, when running a job I receive no email upon completion of
  the job and no log is created within bacula or maillog.
 
  I am using tls for postfix but this should be no issue as I can
  run the above mailcommand from the command line and receive an
  email.
 
  Using bsmtp (Unable to send because I need to run through tls)
  will produce an erroneous entry in the maillog file.
 
  I am stumped on how to debug further to determine where the mail
  is being caught up at. It seems to have to be something on
  bacula's end.
 
  Any help would be appreciated.
 
  Hi Kelvin,
 
  I would first check to see what user that the bacula-dir daemon is
  running as:
 
 # ps axuf | grep bacula-dir
 
  On some distributions, the director runs as user bacula, on
  others (like Gentoo) it runs as user root. The director does not
  need to run as root, but some distributions package Bacula so that
  it does.
 
  You are pointing mutt to a config file in the root user's home
  directory, perhaps mutt, running as bacula when called by the
  director simply can not read the config file and exits?
 
 
  Bill

 From your slightly obscured configuration, I'm assuming that you're
 trying to deliver the mail directly from bacula to your remote mail
 server, not localhost, which is why you have the bsmtp/TLS issue. I
 believe that if you use the default Bacula bsmtp setup to deliver to
 localhost and then alias the recipient off (with an entry in
 /etc/aliases) you should be ok. That approach will invoke the
 (postfix) MTA -- which will handle TLS just fine. [and avoids the
 issue of trying to configure a different mailer.] E.g.,

   mailcommand = /usr/sbin/bsmtp -h localhost -f ...

   mail = user@localhost = all, !skipped
   operator = user@localhost = mount

 which is the default Bacula configuration and what I use on my
 centos box.


- Richard




 --
 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, 

Re: [Bacula-users] client/server passwords

2015-05-13 Thread Alex Domoradov
 I'd say your initial tls overhead was due to slow cipher
it's very strange as I have a fastest CPU on both of sides

storage: Intel Xeon CPU E3-1245 V2 @ 3.40GHz
client: Intel Core i7-4770 CPU @ 3.40GHz

And as I can see in the top output the CPU is not bottleneck at all, imho

On the storage I'm using the following filesystem

/dev/sda5 on /data type xfs (rw,relatime,attr2,inode64,noquota)

# cd /data
# dd if=/dev/zero of=tmp.file bs=8192 count=100 oflag=direct
100+0 records in
100+0 records out
819200 bytes (8.2 GB) copied, 65.5126 s, 125 MB/s

On Tue, May 12, 2015 at 10:24 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu
wrote:

 On 05/12/2015 01:50 PM, Alex Domoradov wrote:
  Where's 23MB/s come from?
  from bacula-web - http://i.imgur.com/pEQwCvI.png
 
  I get 200+MB/s on disk writes to raidz zfs backed by cheap desktop
  drives
  It would depend on type of files as I understood. I have a lot (~11M)
 of
  small files 20-50 Kbyte. So I don't believe that you can get 200 Mb/s on
  such small files ;)

 Yeah, OK. I see thing like

  1-May 20:05 starfish-sd JobId 7: Committing spooled data to Volume
 BMRB-0001. Despooling 54,630,677 bytes ...
  11-May 20:05 starfish-sd JobId 7: Despooling elapsed time = 00:00:01,
 Transfer rate = 54.63 M Bytes/second
  11-May 20:05 starfish-sd JobId 7: Elapsed time=00:00:08, Transfer
 rate=6.791 M Bytes/second

 in the log and I've no idea what any of it means: the spool is a
 mirrored ssd so 6.791 M Bytes/second is not the disk write speed. The
 54.63 M Bytes/second just means I despooled everything I had in a
 second or less. On large sets where it despools the entire 50GB file
 volume, reported ssd to spinning rust speed is

  12-May 00:29 starfish-sd JobId 13: Writing spooled data to Volume.
 Despooling 49,807,364,491 bytes ...
  12-May 00:31 starfish-sd JobId 13: End of medium on Volume BMRB-0002
 Bytes=49,807,326,888 Blocks=772,063 at 12-May-2015 00:31.
  12-May 00:31 starfish-sd JobId 13: Despooling elapsed time = 00:02:26,
 Transfer rate = 341.1 M Bytes/second

 -- that does sound reasonable.

 Anyway, I'd say your initial tls overhead was due to slow cipher and you
 shouldn't have a problem setting things up so that encryption overhead
 is masked out by the storage write speed or the rate the clients can
 produce the data or whatever the current bottleneck is.

 --
 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


Re: [Bacula-users] client/server passwords

2015-05-12 Thread Alex Domoradov
 Run openssl speed then run with e.g. ciphers = md2 on both
ends and post the difference
I have tested with RC4-MD5 cipher. The result even worse - 8 hours 30
minutes :)

 How did you get the 1.5hr difference? -- 23MB/s looks like your
bottleneck is the network
I don't think so

# iperf3 -c 78.47.xxx.xxx -t 60
[ ID] Interval   Transfer Bandwidth
[  4]   0.00-60.00  sec  4.39 GBytes   629 Mbits/sec   sender
[  4]   0.00-60.00  sec  4.39 GBytes   628 Mbits/sec   receiver

 did you run your first test over the loopback?
No, I didn't. How can I test backup over loopback?

On Mon, May 11, 2015 at 8:57 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu
wrote:

 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.

 shrug/ 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


--
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-12 Thread Alex Domoradov
 Where's 23MB/s come from?
from bacula-web - http://i.imgur.com/pEQwCvI.png

 I get 200+MB/s on disk writes to raidz zfs backed by cheap desktop
drives
It would depend on type of files as I understood. I have a lot (~11M) of
small files 20-50 Kbyte. So I don't believe that you can get 200 Mb/s on
such small files ;)

On Tue, May 12, 2015 at 9:33 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu
wrote:

 On 05/12/2015 01:18 PM, Dimitri Maziuk wrote:

  No, I didn't. How can I test backup over loopback?
 
  Test 127.0.0.1. Doesn't matter since my guess about the network was
 wrong.

 Oh, wait, test backup. Yeah, that may take a little more work than
 iperf/netcat. ;)

 --
 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


--
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] confused about differentials

2015-05-12 Thread Alex Domoradov
 so it should be relatively easy to build a new CentOS 7 machine to get
5.2.13.
I'm using 5.2.13 on CentOS 6 form the following repo -
https://repos.fedorapeople.org/repos/slaanesh/bacula/ without any problem.
So you could try it.



 On 12 May 2015, at 07:33, Radosław Korzeniewski rados...@korzeniewski.net
 wrote:

 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.


 Thanks for the confirmation.

 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.


 I appear to be seeing the same problem with CentOS 6 / CentOS 6
 combinations:

 |  9,931 | srv-c601-backup | 2015-05-01 23:32:01 | B| I |   90
 |  12,990,648 | T |
 |  9,940 | srv-c601-backup | 2015-05-02 23:08:27 | B| I |3,877
 |  50,585,887 | T |
 |  9,949 | srv-c601-backup | 2015-05-03 23:08:56 | B| I |  101
 |  13,051,119 | T |
 |  9,958 | srv-c601-backup | 2015-05-04 23:09:04 | B| D |   87
 |  13,025,155 | T |

 So the relative age of the Director and FD does not appear to be a factor.

 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.


 That's what I tried at first, as described in the paragraph you quoted; it
 left files out as described. Including all the available incrementals and
 differentials got me close enough to get the system back to functionality
 after a lot of yum reinstall to fill in missing system files. Fortunately
 the system was a relatively new one, and I keep a copy of /etc/ in Git as
 well.

 First - UPGRADE YOUR BACULA DIRECTOR/STORAGE! it is more then 5 years
 old!!! :)


 The headline version of packages shipped with enterprise distributions is
 often pretty ancient, that's the tradeoff you pay for stability.

 I take your point, though, that the Director/SD should not be older than
 the clients, so I need to fix that. Fortunately the (virtual) machine
 running the Director and Storage daemons is dedicated to that task, so it
 should be relatively easy to build a new CentOS 7 machine to get 5.2.13.

 I don't think I actually have a version mismatch problem (as I'm seeing
 the same issue with matched versions), but there are all sorts of reasons
 this might make my problem go away: there may be a bug in the version of
 5.0 shipped with RHEL/CentOS, or I may have a configuration problem. Either
 way, starting from scratch and transitioning clients over may help.

 In the meanwhile, I'll probably just stop using differentials.

 Thanks,

 -- Ian






 --
 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] 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 dmaz...@bmrb.wisc.edu
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


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 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] client/server passwords

2015-05-08 Thread Alex Domoradov
I made two tests yesterday. Full backup with TLS and without.

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

TLS
Compression: LZO
Time: 09:31:08
Size: 653.04 GB
Files: 11,288,747
Speed: 19.51 MB/s
Compression: 0.21

Why difference is so big ~ 1,5 hours? Is it normal with tls enabled?

On Thu, May 7, 2015 at 10:14 AM, Craig Shiroma shiroma.crai...@gmail.com
wrote:

 Thanks Bill!  I appreciate the help and information.  Looks like I have
 some reading to do.

 -craig

 On Wed, May 6, 2015 at 3:07 PM, Bill Arlofski waa-bac...@revpol.com
 wrote:

 On 05/05/2015 10:18 PM, Craig Shiroma wrote:
  Hi Romeo,
 
  Thanks!  Just so I understand correctly...
  The bacula-fd running on the clients communicate with the bacula server
 using
  the password in client's bacula-fd.conf.  This authentication on the
 wire is
  actually encrypted.  Is this correct?
 
  -craig

 Hi Craig,

 Keep in mind that all of the actual backup data and other communications
 is
 unencrypted unless TLS between daemons is configured in Bacula: DIR-SD,
 DIR-FD, FD-SD, bconsole-DIR, (and SD-FD in the case of SD calls
 Client)

 One simple method to encrypt communications between daemons is to use an
 excellent open-source tool called stunnel (documented in the Bacula
 misc.pdf
 manual)

 Depending on your requirements, stunnel, a VPN (IPsec, OpenVPN or other),
 ssh
 tunnels, or a full-blown TLS deployment are all possible options to secure
 Bacula's daemon--daemon communications.

 Some are more complex and time consuming to implement than others, but
 may be
 more (verifiably) secure, so these considerations need to be a part of the
 requirements discussion. :)

 Bill



 --
 Bill Arlofski
 Reverse Polarity, LLC
 http://www.revpol.com/
 -- Not responsible for anything below this line --


 --
 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] client/server passwords

2015-05-08 Thread Alex Domoradov
 En/decrypting .7TB stream you'll notice very much.
Do you mean 700 Gb? (653.04 GB)

 If your data isn't that sensitive, you're just wasting time.
it's a requirements from our security department. All communications
between servers on the Internet should be encrypted.

Is there any point to test backup over stunnel without enabling TLS in
Bacula?

On Fri, May 8, 2015 at 6:34 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu
wrote:

 On 2015-05-08 02:32, Alex Domoradov wrote:
  I made two tests yesterday. Full backup with TLS and without.

  Why difference is so big ~ 1,5 hours? Is it normal with tls enabled?

 Yes. You have to encrypt everything on one end and decrypt on the other.
 Despite what tls preachers tell us, encryption is not zero-cost. (The
 exact cost depends you your cpus, load, on both ends, the algorithm and
 key, etc.) Encrypting an http transaction typically adds microseconds to
 a second-long page loads so you don't notice. En/decrypting .7TB stream
 you'll notice very much.

 Considering all the effort various 3-letter entities (isp, nsa, etc.)
 are putting into tls proxies to effectively MITM tls connections, tls
 encryption is or will soon be pointless even for sensitive data that's
 worth encrypting. If your data isn't that sensitive, you're just wasting
 time.

 Dima



 --
 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] File level deduplication

2015-04-27 Thread Alex Domoradov
Ukraine

On Mon, Apr 27, 2015 at 9:32 PM, Kern Sibbald k...@sibbald.com wrote:

  Hello,

 Were are you and your company located?

 Best regards,
 Kern


 On 27.04.2015 16:52, Alex Domoradov wrote:

 Could anyone point me how much would be cost subscription for 30 servers?
 I can't find out any prices on the off site

 On Mon, Apr 27, 2015 at 2:24 PM, Raymond Burns Jr. rbur...@gmail.com
 wrote:

 I CAN'T WAIT UNTIL THAT IS AVAILABLE!  I'm so excited just thinking about
 it

 On Mon, Apr 27, 2015, 5:27 AM Kern Sibbald k...@sibbald.com wrote:

 Hello,

 Actually, the Bacula Enterprise version has two different types of
 deduplication.

 1. Aligned Volumes -- special patented volume format that optimizes
 deduplication that is done by the underlying deduplicating FS (e.g. ZFS,
 Btrfs, ...).

 2. Global End Point Deduplication -- build-in Bacula deduplication in
 the SD as well as in the FD (configurable).

 It is possible that the Aligned Volume plugin binary will be available
 to the community later this year for free.

 Best regards,
 Kern

 On 27.04.2015 09:01, Silver Salonen wrote:
  On 04/25/2015 11:09 PM, Alex Domoradov wrote:
  Hello
 
  Is there any chance to implement file level deduplication in bacula?
  Maybe some undocumented way/tricks. I know about base job, but it's
  not what I need. I have a lot of Wordpress instances (~2000) on my
  server and all these instances have 95% of same base files. The file
  level deduplication would be a great way to save space in the pool.
 
  Thanks in advance.
  Hi.
 
  It's not there for open-source edition of Bacula. Enterprise version
 has
  proper data de-duplication that's done even on client-side and
  everything. Haven't been hands-on with it though...
 
  --
  Silver
 
 
 --
  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




--
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] File level deduplication

2015-04-27 Thread Alex Domoradov
Could anyone point me how much would be cost subscription for 30 servers? I
can't find out any prices on the off site

On Mon, Apr 27, 2015 at 2:24 PM, Raymond Burns Jr. rbur...@gmail.com
wrote:

 I CAN'T WAIT UNTIL THAT IS AVAILABLE!  I'm so excited just thinking about
 it

 On Mon, Apr 27, 2015, 5:27 AM Kern Sibbald k...@sibbald.com wrote:

 Hello,

 Actually, the Bacula Enterprise version has two different types of
 deduplication.

 1. Aligned Volumes -- special patented volume format that optimizes
 deduplication that is done by the underlying deduplicating FS (e.g. ZFS,
 Btrfs, ...).

 2. Global End Point Deduplication -- build-in Bacula deduplication in
 the SD as well as in the FD (configurable).

 It is possible that the Aligned Volume plugin binary will be available
 to the community later this year for free.

 Best regards,
 Kern

 On 27.04.2015 09:01, Silver Salonen wrote:
  On 04/25/2015 11:09 PM, Alex Domoradov wrote:
  Hello
 
  Is there any chance to implement file level deduplication in bacula?
  Maybe some undocumented way/tricks. I know about base job, but it's
  not what I need. I have a lot of Wordpress instances (~2000) on my
  server and all these instances have 95% of same base files. The file
  level deduplication would be a great way to save space in the pool.
 
  Thanks in advance.
  Hi.
 
  It's not there for open-source edition of Bacula. Enterprise version has
  proper data de-duplication that's done even on client-side and
  everything. Haven't been hands-on with it though...
 
  --
  Silver
 
 
 --
  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


--
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] File level deduplication

2015-04-25 Thread Alex Domoradov
Hello

Is there any chance to implement file level deduplication in bacula? Maybe
some undocumented way/tricks. I know about base job, but it's not what I
need. I have a lot of Wordpress instances (~2000) on my server and all
these instances have 95% of same base files. The file level deduplication
would be a great way to save space in the pool.

Thanks in advance.
--
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] Is anyone using 128K blocks with LTO-4 or LTO-5 drives?

2013-09-20 Thread Alex Crow

Original Message
*Subject:* Re: [Bacula-users] Is anyone using 128K blocks with LTO-4 or 
LTO-5

drives?
*Date:* Fri, 20 Sep 2013 14:22:55 +0200
*From:* Andreas Koch k...@esa.informatik.tu-darmstadt.de
*To:* Thomas tho...@ic3s.de
*CC:* bacula-users@lists.sourceforge.net




Many thanks for the data point! When we use Bacula (not just btape) with
larger block sizes (512 KB), our backups abort when bacula fails to read the
tape's header block.

I notice you have IBM drives. Maybe the block size limitation (for some
reason or other) shows just up on HP drives? Our prior IBM LTO-4 drives also
worked quite nicely with larger blocks.



Hi,

I'm using an HP MSL4048 with 1M blocks and backups are working fine.

Cheers

Alex




--

This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
Transact is operated by Integrated Financial Arrangements plc. 29
Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608
5300. (Registered office: as above; Registered in England and Wales
under number: 3727592). Authorised and regulated by the Financial
Conduct Authority (entered on the Financial Services Register; no. 190856).

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Alex Lucas
On 06/09/12 12:10, ganiuszka wrote:
 W dniu 06.09.2012 03:23, Alex Lucas pisze:
 On 05/09/12 19:24, Christian Manal wrote:
 On 05.09.2012 12:43, Alex Lucas wrote:
 Dears,

 Is there a way to run a complex command or even a script on a client?

 So far I have tried two ways and failed:
 1) when a command (e.g. in ClientRunBeforeJob) has something like
 echo test  /tmp/test.out bacula runs it on the client as echo as
 command and the rest as the argument. i.e. there is no
 /tmp/test.out on
 the client
 2) when I run test.sh which is in the PATH on the bacula director it
 fails, I guess because there is no identical script on the client.

 Any suggestions?
 Hi,

 all the Run-statements execute what is defined directly, without a
 shell. So output redirection and stuff won't work unless you do
 something like this:

 ClientRunBeforeJob = /bin/bash -c 'echo foo /tmp/foo.out'
 Thank you, this does it. One related question: is because I have a few
 commands to run, is there a way to make the commands split across
 several lines (for readability) ?

 e.g.

 ClientRunBeforeJob = /bin/bash -c 'command one
command two'

 doesn't seem to work.

 Hi,

 It works for me. Did you try to use semicolon character for separate
 elementary commands?

 Example:

 ClientRunBeforeJob = /bin/bash -c 'echo aaa /tmp/foo1.out; echo bbb
  /tmp/foo2.out'
Hi gani,
It works with ; like you mentioned above but I was asking about
splitting the command across multiple lines in the configuration file --
when there are many commands it would make it easier to read.

Thank you,
Alex


 Regards.
 gani


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-06 Thread Alex Lucas
On 06/09/12 16:39, Simone Caronni wrote:
 You could also use multiple ClientRunBefore statements in the config file. 
 Personally I would still prefer a script in the client.
 On my setups I use the opposite. If you need to add a line to the
 script, you need to copy the same script over all the clients. With
 multiple lines, maybe you can change just one line in the Job
 Definition.

 Don't know how many you have in your backup infrastructure, but that's
 not feasible at all in our setup; especially because the clients and
 daemons are separated by firewalls and do not allow easy copying
 everywhere.
Thank you everybody for your answers,
I now use ; to separate shell commands on one line and if I reach the
limit then add more ClientRunBefore commands.
As mentioned by Simone, it's not easy to deploy scripts to 100s of
machines, so... :)



 Regards,
 --Simone






--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Running complex commands or scripts remotely on a client

2012-09-05 Thread Alex Lucas
Dears,

Is there a way to run a complex command or even a script on a client?

So far I have tried two ways and failed:
1) when a command (e.g. in ClientRunBeforeJob) has something like
echo test  /tmp/test.out bacula runs it on the client as echo as
command and the rest as the argument. i.e. there is no /tmp/test.out on
the client
2) when I run test.sh which is in the PATH on the bacula director it
fails, I guess because there is no identical script on the client.

Any suggestions?


Thank you,
Alex

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running complex commands or scripts remotely on a client

2012-09-05 Thread Alex Lucas
On 05/09/12 19:24, Christian Manal wrote:
 On 05.09.2012 12:43, Alex Lucas wrote:
 Dears,

 Is there a way to run a complex command or even a script on a client?

 So far I have tried two ways and failed:
 1) when a command (e.g. in ClientRunBeforeJob) has something like
 echo test  /tmp/test.out bacula runs it on the client as echo as
 command and the rest as the argument. i.e. there is no /tmp/test.out on
 the client
 2) when I run test.sh which is in the PATH on the bacula director it
 fails, I guess because there is no identical script on the client.

 Any suggestions?
 Hi,

 all the Run-statements execute what is defined directly, without a
 shell. So output redirection and stuff won't work unless you do
 something like this:

ClientRunBeforeJob = /bin/bash -c 'echo foo /tmp/foo.out'
Thank you, this does it. One related question: is because I have a few
commands to run, is there a way to make the commands split across
several lines (for readability) ?

e.g.

ClientRunBeforeJob = /bin/bash -c 'command one
  command two'

doesn't seem to work.


 If you want to call a script, you'd have to define the absolute path or
 a relative one from the executing daemon's working directory.


 Regards,
 Christian Manal

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Multi-stream data transfer

2012-06-07 Thread Alex Lucas
Dears,

Is there a way to setup multi-stream data transfer?

/Background/: The backup is disk to disk over a dedicated WAN 2M link.
We have tested the link with iperf and can get maximum speed out of it
(when using 10 concurrent connections). Our current bacula fd--sd
speed is averaging at 1Mbps (only about half of the available
bandwidth). Tried compression on/off - no noticeable difference. Note:
speed of backup observed with mrtg, iptraf, dstat etc.

Regards,
Alex
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multi-stream data transfer

2012-06-07 Thread Alex Lucas
On 08/06/12 11:14, Bryan Harris wrote:

 On Jun 7, 2012, at 9:51 PM, Alex Lucas wrote:

 Is there a way to setup multi-stream data transfer?/
 /

 I wonder if you could configure two separate jobs and connect to the
 same FD twice?
Only 1 big file is being backed up so splitting the job is not possible
(also checked disk performance on FD, can read the file at 100MB/s). Is
there not an option in Bacula for FD to create multiple TCP streams to
SD (instead of 1) ?


 Bryan

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Last full backup not found

2012-05-27 Thread Alex Lucas
On 28/05/12 00:50, Henrik Zawischa - SONIC Performance Support wrote:
 I added three new jobs, two new pools and one fileset. But I kept that one 
 job as it was. I checked and noticed the last incremental backup failed due 
 to an error of the autochanger. Could that be the reason? How does bacula 
 determine what it has to do? I would have thought a failed job should just 
 mean twice as much to save the next day.
Failed incrementals should not prevent restore.

from sql mode in bconsole
select jobid, name, level, starttime, jobstatus from job where name =
'YOURJOBNAME';

scroll now to top and see if there is a job with jobstatus = 'T' and
level = 'F'



 Henrik


 Henrik Zawischa
 Senior System Engineer



 SONIC Performance Support GmbH
 Wandsbeker Königstraße 19 - D22041 Hamburg

 Tel.: +49 40 300 600 34
 Fax: +49 40 300 600 18
 E-Mail: henrik.zawis...@sonic-ps.de
 Web: www.sonic-performance-support.com

 Facebook: www.facebook.com/SONICVideoTraining
 YouTube: http://www.youtube.com/SONICVideoTraining
 Twitter: www.twitter.com/VideoTraining

  
 Von: John Drescher [dresche...@gmail.com]
 Gesendet: Sonntag, 27. Mai 2012 18:03
 Bis: Henrik Zawischa - SONIC Performance Support
 Cc: bacula-users@lists.sourceforge.net
 Betreff: Re: [Bacula-users] Last full backup not found

 I have a strange phenomenon: though there is definitely a full backup, a
 job set to incremental claims there weren’t and wants to run a full backup.
 Very unfortunate, as the tapes needed are not in place. Any idea how I could
 find out what went wrong?

 Did you modify the job or fileset since the last full backup?

 John

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Partial FileSet encryption

2012-05-24 Thread Alex Lucas
Greetings,

The docs seem to be conflicting about data encryption with Bacula.

http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001813
Here there is a mention that it should be possible to encrypt at the
FileSet level (allowing one to choose what to encrypt and what not to).

While here
(http://www.bacula.org/5.0.x-manuals/en/main/main/Data_Encryption.html)
it seems to be on a client (FD) level, i.e. all or nothing.

Please clarify.

Best regards,
Alex

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Partial FileSet encryption

2012-05-24 Thread Alex Lucas
On 24/05/12 20:15, Bryan Harris wrote:
 On May 24, 2012, at 2:13 AM, Alex Lucas wrote:

 Greetings,

 The docs seem to be conflicting about data encryption with Bacula.

 http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001813
 Here there is a mention that it should be possible to encrypt at the
 FileSet level (allowing one to choose what to encrypt and what not to).

 While here
 (http://www.bacula.org/5.0.x-manuals/en/main/main/Data_Encryption.html)
 it seems to be on a client (FD) level, i.e. all or nothing.

 Please clarify.
 Is it possible they are talking about an upcoming feature or maybe in the 
 enterprise edition or undocumented?
Perhaps, I somehow remember reading about this issue on a third party
website but cannot find the article anymore.


 I can't find the word encryption on the Configuring_Director.html page 
 anywhere but in one place.  However, I look all through the FileSet options 
 and don't see anything about encryption.
Yes, exactly.
/The FileSet Resource/
The FileSet resource defines what files are to be included or excluded
in a backup job various backup options such as compression,
/encryption/, and signatures that are to be applied to each file.
Compression -- true, but as for encryption.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Why all my volumes get marked as purged??

2012-05-14 Thread Alex Lucas
On 12/05/12 01:44, Martin Simmons wrote:
 On Thu, 10 May 2012 18:49:15 +0800, Alex Lucas said:
 Dears,

 This started happening recently:
 I run a job and it finishes. Can see it in list jobs and related volume
 in list volumes.
 I then run another job in 2 minutes -- the volume from the first job
 gets auto-pruned!

 All my retentions are set to 90 days (file, job and volume) and I have
 not changed them since beginning.
 Is it definitely 90 days and not 90 seconds? :-)
Yes, 90 days :)
I figured out why it was purging -- every time one or more of previous
jobs had 0 files in the last incremental (i.e. no changes) Bacula
would auto-purge the volume(s) in catalog (we have one job per volume).



 __Martin

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] One Volume per Backup Job

2012-05-10 Thread Alex Lucas
Dears,

I was trying to get one volume per job with this pool configuration:

Pool {
  Name = File
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle Volumes
  AutoPrune = yes# Prune expired volumes
  Volume Retention = 90 days # how long to keep volumes
  Maximum Volume Bytes = 4G  # Limit Volume size to something reasonable
  Maximum Volume Jobs = 1# One job per volume
  LabelFormat =
${Client}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m_${Level:o0-4:l}
  Next Pool = VirtualFull
}

It works well for jobs that complete successfully - volumes get created
properly and get marked as Used open backup completion. However there
are 2 problems when jobs fail:

Example: I run job for JKT-nvr but the fd on it is not running - I get
job timeout but the following entry in 'list volumes':
| 1050| JKT-nvr-fd_2012-05-10_15h35m_full | Append| 1  
| 0  | 0| 7776000  | 0   | 0| 0 |
File  | 0   |

Next time I run a job (does not matter with which client) director will
try to use the volume above instead of creating a brand new one. Even if
I re-run the previous job for the same client I would like it to create
a new volume (since date/time are also in the LabelFormat).

How to archive one of the following for failed backup jobs:
a) mark auto-created volume as Used, OR
b) delete the auto-created volume


Best regards,
Alex

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Why all my volumes get marked as purged??

2012-05-10 Thread Alex Lucas
Dears,

This started happening recently:
I run a job and it finishes. Can see it in list jobs and related volume
in list volumes.
I then run another job in 2 minutes -- the volume from the first job
gets auto-pruned!

All my retentions are set to 90 days (file, job and volume) and I have
not changed them since beginning.

Regards,
Alex

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] One Volume per Backup Job

2012-05-10 Thread Alex Lucas
On 10/05/12 19:53, John Drescher wrote:
 On Thu, May 10, 2012 at 3:50 AM, Alex Lucas
 alexander.lu...@tlscontact.com wrote:
 Dears,

 I was trying to get one volume per job with this pool configuration:

 Pool {
  Name = File
  Pool Type = Backup
  Recycle = no   # Bacula can automatically recycle Volumes
  AutoPrune = yes# Prune expired volumes
  Volume Retention = 90 days # how long to keep volumes
  Maximum Volume Bytes = 4G  # Limit Volume size to something reasonable
  Maximum Volume Jobs = 1# One job per volume
  LabelFormat =
 ${Client}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m_${Level:o0-4:l}
  Next Pool = VirtualFull
 }

 It works well for jobs that complete successfully - volumes get created
 properly and get marked as Used open backup completion. However there
 are 2 problems when jobs fail:

 Example: I run job for JKT-nvr but the fd on it is not running - I get
 job timeout but the following entry in 'list volumes':
 | 1050| JKT-nvr-fd_2012-05-10_15h35m_full | Append| 1
 | 0  | 0| 7776000  | 0   | 0| 0 |
 File  | 0   |

 Next time I run a job (does not matter with which client) director will
 try to use the volume above instead of creating a brand new one. Even if
 I re-run the previous job for the same client I would like it to create
 a new volume (since date/time are also in the LabelFormat).

 It will do that because there is an available volume in the pool so it
 need not create a new one. Also remember changing the pool definition
 in bacula-dir.conf will only effect new volumes not existing volumes.
 The pool resource is a template on how to create new volumes.
Yes, this is clear.

 How to archive one of the following for failed backup jobs:
 a) mark auto-created volume as Used, OR
 b) delete the auto-created volume

 Just mark the existing volume Used or Full.
How to do this? I tried RunAfterFailedJob just but %v variable is empty
on failed jobs even though the volume does get created and left in the
Append state. This is not a bug?


 John
Thanks,
Alex


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Types of backup clarifications needed

2012-05-08 Thread Alex Lucas
Could you please provide a link to the most up to date page/doc about
VirtualFull (including setup instructions).

RE the Since type of backup -- if not implemented it should be hidden,
no? :)

A related question:
We have a large mail server to backup and full backup is too long hence
there is a need for reverse-incremental backup: full backup runs only
once and next backups are merged into the full backup (sounds like
Virtual so far) but we would like to remove old increments (lets say
retention is 60 days) without removing the original full. How can this
be done with Bacula?
The problem with VirtualFull is that it cannot be used as a base for
next incremental (unless I am wrong?)

Regards,
Alex

On 09/05/12 01:51, Martin Simmons wrote:
 On Tue, 08 May 2012 11:47:27 +0800, Alex Lucas said:
 Greetings,

 I have been searching bacula documentation and there seem to be some
 incomplete info about types (levels) of backup.

 When I run a job I get a list of the following level choices:

 Levels:
  1: Full
  2: Incremental
  3: Differential
  4: Since
  5: VirtualFull

 I could not find any documentation about the Since level; and info
 about VirtualFull was in a What's New article instead of main docs.

 Maybe I am looking in wrong places -- is there a complete doc describing
 all 5 levels + instructions on settings and usage?
 The Since level is not actually implemented.

 It looks like the VirtualFull doc was never merged into the main chapter.

 __Martin

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Types of backup clarifications needed

2012-05-07 Thread Alex Lucas
Greetings,

I have been searching bacula documentation and there seem to be some
incomplete info about types (levels) of backup.

When I run a job I get a list of the following level choices:

Levels:
 1: Full
 2: Incremental
 3: Differential
 4: Since
 5: VirtualFull

I could not find any documentation about the Since level; and info
about VirtualFull was in a What's New article instead of main docs.

Maybe I am looking in wrong places -- is there a complete doc describing
all 5 levels + instructions on settings and usage?

Best regards,
Alex
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multi-cores compression

2012-03-30 Thread Alex Crow
On 05/03/12 21:37, Alan Brown wrote:
 On 05/03/12 19:51, Alex Crow wrote:

 Thanks Alan,

 I am specifically addressing the encryption support within Bacula:

 http://www.bacula.org/en/dev-manual/main/main/Data_Encryption.html
 Openssl compresses _if_ compiled with zlib (it usually is)

 It's not hard to test, write to a file instead of tape media and compare
 size vs a tarball.

 If you are using a LTO device with built-in encryption then it's much
 faster as there is a dedicated engine for the task (LTO encryption is
 posrtable across drives as long as the key is retained)

 On that basis I'd only use bacula encryption for disk-based backups or
 on tape devices without builtin encyption.




Alan,

We tried removing the compression on some jobs, and we got a great speed 
boost. However, the SSL compression was either absent or minimal, even 
though OpenSSL libs are compiled with zlib:

[root@backup ~]# ldd /usr/lib/libssl3.so
 linux-gate.so.1 =  (0xe000)
 libnss3.so = /usr/lib/libnss3.so (0xf7e6b000)
 libnssutil3.so = /usr/lib/libnssutil3.so (0xf7e52000)
 libplc4.so = /usr/lib/libplc4.so (0xf7e4e000)
 libplds4.so = /usr/lib/libplds4.so (0xf7e4a000)
 libnspr4.so = /usr/lib/libnspr4.so (0xf7e1)
 libpthread.so.0 = /lib/libpthread.so.0 (0xf7df7000)
 libdl.so.2 = /lib/libdl.so.2 (0xf7df2000)
 libc.so.6 = /lib/libc.so.6 (0xf7c99000)
 libz.so.1 = /lib/libz.so.1 (0xf7c86000)
 /lib/ld-linux.so.2 (0x00a5e000)
[root@backup ~]#


Any ideas why compression in OpenSSL does not seem to be working?

Thanks

Alex

-- 
This message is intended only for the addressee and may contain
confidential information.  Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.

Transact is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London  EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 
3727592)
Authorised and regulated by the Financial Services Authority (entered on the 
FSA Register; number: 190856)


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multi-cores compression

2012-03-05 Thread Alex Crow


 What about when you are encrypting? You have to do the compression in
 Bacula as once you've encrypted the data it can no longer be compressed
 by the drive (eg for LTO  LTO4 where the drive cannot encrypt.)

 Encryption programs generally compress as well in order to increase 
 entropy - so any external compression routines will just make things 
 slower for no gain.


Thanks Alan,

I am specifically addressing the encryption support within Bacula:

http://www.bacula.org/en/dev-manual/main/main/Data_Encryption.html

Does this pre-compress the data, thus rendering the separate compression 
redundant? If so, it would be great and probably save us loads of time 
(about 1 week to back up about 18TB).

Cheers

Alex

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disk backup strategy advice / help

2012-01-05 Thread Alex Ehrlich
Hello,

I have managed my offsite backup setup so that only bacula volumes get 
rsync-ed and it works fine for half a year. Total backup size is about 
500Gb, nightly amount of data rsync-ed is between 1 and 10Gb (so my home 
adsl connection with 10Mbit/s downstream is OK to keep offsite backups 
at home).
This is in an assumption that you need offsite backup only when you've 
totally lost onsite one. In this case bacula server has to be 
restored/reinstalled first (or better in advance, to be able to test 
restoration) and database has to be restored before using offsite backup.
Additionally I encrypt the bacula volumes on the fly while remotely 
rsync-ing them (on the fly by means of fuse encfs).

Regards,

Alex Ehrlich


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HW crypto offload

2011-10-30 Thread Alex Crow

 If it is supported in any way, I'd be happy to know. If not, what would
 be the best way about getting it implemented?
 I'd want to be pretty sure its going to help before doing this. On my
 (somewhat aged) development machine, OpenSSL can do AES-128 CBC at 55
 MB/s (bytes, not bits), so it doesn;t sound like crypto is necessarily
 your bottleneck.

 Also, crypto accelerators rarely do in my experience.


Ben,

CPU is:

model name  : Intel(R) Xeon(R) CPU   E5540  @ 2.53GHz

We run 4 backup threads and get 4 cores doing 100% each, still we're 
only getting the 80 Megabits.

Here's the part of the bacula-fd.conf that is relevant:

FileDaemon {
 Name = backup-fd
 FDport = 9102
 WorkingDirectory = /var/lib/bacula
 Pid Directory = /var/run
 Maximum Concurrent Jobs = 20
 FDAddress = 127.0.0.1

 PKI Signatures = Yes
 PKI Encryption = Yes
 PKI Keypair = /etc/bacula/keys/bacula-fd.pem
 PKI Master Key = /etc/bacula/keys/master.cert
}

Here's an example job spec:

Job {
 Name = ias
 JobDefs = Standard
 Schedule = With-Basejobs
 FileSet = ias
 Accurate = yes
 Base = ias-base
}

Job {
 Name = ias-base
 Level = Base
 JobDefs = Standard
 FileSet = ias
 Schedule = Update-Basejobs
 Accurate = yes
}

FileSet {
 Name = ias
 Include {
 Options {
 BaseJob  = pmugcs5
 Accurate = mcs5
 Verify   = pin5
 signature = MD5
 compression=GZIP
 }
 File = /nas/ias
 }
 Exclude {
 File = /nas/exclude
 }
}

Storage def from bacula-dir.conf:

Storage {
 Name = Tandberg
 Address = 127.0.0.1
 SDPort = 9103
 Password = e3Ci8AxSF2ewxzX2VgaU
 Device = Tandberg
 Autochanger = yes
 Media Type = LTO3
 Maximum Concurrent Jobs = 20
 AllowCompression = yes
}

Devices in bacula-sd.conf:

Autochanger {
 Name = Tandberg
 Device = IBM0, IBM1
 Changer Device = /dev/sg6
 Changer Command = /usr/lib64/bacula/mtx-changer %c %o %S %a %d
}

Device {
 Name = IBM0
 Drive Index = 0
 Media Type = LTO3
 Archive Device = /dev/st0
 AutomaticMount = yes;
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 Autochanger = yes;
 Maximum Concurrent Jobs = 2
 Spool Directory = /opt/spool/ibm0
}

Device {
 Name = IBM1
 Drive Index = 1
 Media Type = LTO3
 Archive Device = /dev/st1
 AutomaticMount = yes;
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 Autochanger = yes;
 Maximum Concurrent Jobs = 2
 Spool Directory = /opt/spool/ibm1
}

Could it be the compression=GZIP in the job defs that is slowing 
things down?

I really should get my colleague to join this as he's the one that set 
this up.

Cheers

Alex




-- 
This message is intended only for the addressee and may contain
confidential information.  Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.

Transact is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London  EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 
3727592)
Authorised and regulated by the Financial Services Authority (entered on the 
FSA Register; number: 190856)


--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] HW crypto offload

2011-10-18 Thread Alex Crow
Hi,

We have set up a backup server that uses encryption in the File Daemon. 
However we find it is really slow, in fact we are only getting about 
80Mbps (megabits, not -bytes) throughput while running 4 backup threads. 
This is backing up from an NFS-connected disk backup host that can 
easily saturate a 1Gbps link when I just dd the contents of a large file 
to /dev/null on the backup server. It's actually taking us nearly a week 
now to do a fortnightly backup of 16TB.

I've noticed that crypto cards from Exar are supported by OpenSSL and 
seen to provide support for AES-CBC. From a previous message on this list:

http://adsm.org/lists/html/Bacula-users/2010-04/msg00232.html

it seems someone looked at patching to support offload, however I cannot 
find any outcome from this.

If it is supported in any way, I'd be happy to know. If not, what would 
be the best way about getting it implemented?

Best regards

Alex

-- 
This message is intended only for the addressee and may contain
confidential information.  Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.

Transact is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London  EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under 
number: 3727592)
Authorised and regulated by the Financial Services Authority (entered on 
the FSA Register; number: 190856)


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error writing final EOF to tape LTO-5

2011-05-10 Thread Alex Chekholko
The errors below are just straight I/O errors from the underlying 
device.  Nothing to do with Bacula.  So check if those two tapes are 
bad.  Check if that drive needs cleaning.  Run drive diagnostics on that 
drive.  See if you can reproduce the problem with just, say, tar of some 
files to a known-good tape in that drive.  If you can reproduce the 
problem, open a ticket with Dell.


On 5/9/11 5:07 PM, lweinlan wrote:
 we are using Bacula on a Linux 2.6.18-238.5.1.el5PAE system, and have a Dell 
 TL-2000 two drives (dev/nst0 and dev/nst1) autochanger. Bacula runs fine but 
 we always encounter a tape error writing final EOF when using drive 1. There 
 is an error message regarding the tape EOF, the tape does not fill up, bacula 
 mounts the next tape, and continues the backup. The job finishes correctly. 
 What is noticeable is that a part of the error message is identical 
 (dev.c:1745 ioctl) and the error seems to appears at the same block (c:577) 
 for 2 different tapes as shown below. The amount of data written to each tape 
 varies before the error happening. I do not know if it makes a difference but 
 just wanted to mention it. What could be the cause of this problem ?
 below are the logs:

...

09-May 02:59 saver-me-sd JobId 225: Error: block.c:577 Write error at 4:3 on 
device Drive-1 (/dev/nst1). ERR=Input/output error.
09-May 02:59 saver-me-sd JobId 225: Error: Error writing final EOF to tape. 
This Volume may not be readable.
dev.c:1745 ioctl MTWEOF error on Drive-1 (/dev/nst1). ERR=Input/output error.
...


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread Alex Chekholko
Try changing your Maximum Network Buffer size in your bacula-sd config.

Something like
  Maximum Network Buffer Size = 262144 #65536
  Maximum block size = 262144

Keep in mind that this will make your sd unable to read previous 
backups, IIRC.

Search archives for this parameter, e.g.
http://old.nabble.com/LTO-4-performance--td17407840.html

Regards,
Alex

On 04/28/2011 11:08 AM, Jason Voorhees wrote:
 Hi:

 I'm running Bacula 5.0.3 in RHEL 6.0 x86_64 with a Library tape IBM
 TS3100 with hardware compression enabled and software (Bacula)
 compression disabled, using LTO-5 tapes. I have a Gigabit Ethernet
 network and iperf tests report me a bandwidth of 112 MB/s.

 I'm not using any spooling configuration and I'm running concurrent
 jobs, just only one. This is the configuration of my fileset:

 FileSet {
 Name = fset-qsrpsfs1
 Include {
 File = /etc
 File = /root
 File = /var/spool/cron
 File = /var/run/utmp
 File = /var/log
 File = /data
 Options {
 signature=SHA1
 #compression=GZIP
 }
 }
 }

 My backups were running with a minimum of 54 MB/s and a maximum of 79
 MB/s. Are these speeds normal for my scenario? What could be the best
 speed I could achieve with an optimal Bacula configuration considering
 that the network isn't loaded at the time that backups always run? I'm
 concerned the difference of speeds between the maximal supported by my
 network (112 MB/s) versus the speed of my backups (54 ~ 79 MB/s).

 I hope someone can give me some advices to enhance the performance of
 my backups.

 Thanks




--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Lost in config files, I give up, no idea where to change or where is a mistake

2010-12-12 Thread Alex
Hello bacula experts,

I'm new here and have some problems configuring bacula to perform the correct 
job for me.

- I have 2 computers: dev13.mydoom.com and mail.mydoom.com
- on dev13, I want to backup entire content of /usr/local/Zend directory 
located on mail.mydoom.com
- on dev13, all backups will reside on /var/bacula/bacula-restores directory

So, on server (dev13) I installed bacula-mysql-5.0.3-1 and on client (mail) I 
installed only bacula-client-5.0.3-1

When try to backup I receive error saying that /usr/local/Zend directory does 
not exist on dev13.mydoom.com! This is normal because /usr/local/Zend exist 
only on mail.mydoom.com.

So, my question is: What file and where exactly IS REQUIRED to modify? I am 
lost in configuration files and directives ...


Here comes my config files:

On mail.mydoom.com (client) machine:

[r...@mail bacula]# ls
bacula-fd.conf  bconsole.conf
[r...@mail bacula]#

[r...@mail bacula]# cat bacula-fd.conf
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = dev13.mydoom.com-dir
  Password = alx_dir
}

#
# Global File daemon configuration specifications
#
FileDaemon {  # this is me
  Name = mail.mydoom.com-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = dev13.mydoom.com-dir = all, !skipped, !restored
}
[r...@mail bacula]#

[r...@mail bacula]# cat bconsole.conf
#
# Bacula User Agent (or Console) Configuration File
#

Director {
  Name = dev13.mydoom.com-dir
  DIRport = 9101
  address = dev13.mydoom.com
  Password = alx_dir
}
[r...@mail bacula]#

[r...@mail bacula]# service bacula-fd status
bacula-fd (pid 3348) is running...
[r...@mail bacula]#



Now, here comes what I've configured on server (dev13.mydoom.com):

[r...@dev13 bacula]# ls
bacula-dir.conf  bacula-fd.conf  bacula-sd.conf  bconsole.conf
[r...@dev13 bacula]#


[r...@dev13 bacula]# cat bacula-dir.conf
Director {# define myself
  Name = dev13.mydoom.com-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/lib/bacula/query.sql
  WorkingDirectory = /var/lib/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 1
  Password = alx_dir # Console password
  Messages = Daemon
}

JobDefs {
  Name = Alx_test_job
  Type = Backup
  Level = Incremental
  Client = mail.mydoom.com-fd 
  FileSet = Alx_lista_fisiere
  Schedule = AlxOnDemand
  Storage = AlxFile
  Messages = Standard
  Pool = File
  Priority = 10
  Write Bootstrap = /var/lib/bacula/%c.bsr
}

Job {
  Name = Backup_mail.mydoom.com
  JobDefs = Alx_test_job
}

Schedule {
  Name = AlxOnDemand
  Run = Full sun-sat at 17:50
}

# List of files to be backed up
FileSet {
  Name = Alx_lista_fisiere
  
  Include {
Options {
  signature = MD5
}

File = /usr/local/Zend
  }

  Exclude {
#File = /usr/local/Zend/ZendOptimizer
  }
}


# Client (File Services) to backup
Client {
  Name = mail.mydoom.com-fd
  Address = dev13.mydoom.com
^^^
  FDPort = 9102
  Catalog = MyCatalog
  Password = watpEaYgf2N2A6TdVN8QdYDA7MI8Sa9rVjOY1bW7dWGv  # 
password for FileDaemon
  File Retention = 30 days# 30 days
  Job Retention = 6 months# six months
  AutoPrune = yes # Prune expired Jobs/Files
}

Storage {
  Name = AlxFile
  Address = dev13.mydoom.com  # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = alx_storage
  Device = AlxFileStorage
  Media Type = File
}

# File Pool definition
Pool {
  Name = File
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle 
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Maximum Volume Bytes = 50G  # Limit Volume size to something 
reasonable
  Maximum Volumes = 100   # Limit number of Volumes in Pool
}

# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = bacula; dbuser = bacula; dbpassword = 
}

# Reasonable message delivery -- send most everything to email address
#  and to the console
Messages {
  Name = Standard
  mailcommand = /usr/sbin/bsmtp -h localhost -f \\(Bacula\) \%r\\ -s 
\Bacula: %t %e of %c %l\ %r
  operatorcommand = /usr/sbin/bsmtp -h localhost -f \\(Bacula\) \%r\\ -s 
\Bacula: Intervention needed for %j\ %r
  mail = r...@localhost = all, !skipped
  operator = r...@localhost = mount
  console = all, !skipped, !saved
  append = /var/lib/bacula/log = all, !skipped
  catalog = all
}


#
# Message delivery for daemon messages (no job).
Messages {
  Name = Daemon
  mailcommand = /usr/sbin/bsmtp -h localhost -f \\(Bacula\) \%r\\ -s 
\Bacula daemon message\ %r
  mail = r...@localhost = all, !skipped
  

Re: [Bacula-users] Lost in config files, I give up, no idea where to change or where is a mistake

2010-12-12 Thread Alex
On Sunday 12 December 2010 19:37, David Hollingworth wrote:
 Hi Alex

 I think you've correct identified your initial problem:

 On 12/12/2010 17:01, Alex wrote:
  Client {
 Name = mail.mydoom.com-fd
 Address = dev13.mydoom.com
  ^^^
 FDPort = 9102
 Catalog = MyCatalog
 Password = watpEaYgf2N2A6TdVN8QdYDA7MI8Sa9rVjOY1bW7dWGv  #
  password for FileDaemon
 File Retention = 30 days# 30 days
 Job Retention = 6 months# six months
 AutoPrune = yes # Prune expired Jobs/Files
  }

 Here you're saying that the Address of your mail system is, infact, your
 dev13 system. Which is incorrect. Don't forget that the Name parameter
 can be anything to easily identify the client; but the Address must
 resolve to the IP address of the client system. For example:

 Client {
Name = Mail System
Address = mail.mydoom.com
 ...

 The second error you've received indicates that at least Bacula has
 attempted to contact the client, so you're one step further forward. The
 problem there could be a mismatched password or possibly a firewall issue.
 If you can telnet to the mail.mydoom.com on port 9102 then the port is open
 and it's most likely a password mismatch.


Seems to be booth! I've corrected firewall issue and now I can telnet from 
dev13 to mail.

[r...@dev13 bacula]# telnet mail.mydoom.com 9102
Trying 82.76.33.11...
Connected to mail.mydoom.com (1.2.3.4).
Escape character is '^]'.
Connection closed by foreign host.
[r...@dev13 bacula]#

Seems to be a password mismatch problem:
[r...@mail bacula]# bconsole
Connecting to Director dev13.mydoom.com:9101
1000 OK: dev13.mydoom.com-dir Version: 5.0.3 (30 August 2010)
Enter a period to cancel a command.
*status
Status available for:
 1: Director
 2: Storage
 3: Client
 4: All
Select daemon type for status (1-4): 3
Automatically selected Client: mail.mydoom.com-fd
Connecting to Client mail.mydoom.com-fd at mail.mydoom.com:9102
Failed to connect to Client mail.mydoom.com-fd.

You have messages.
*
[r...@mail bacula]#

Can you indicate me exact place where to change password (which file which 
directive)?

Regards,
Alx

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Lost in config files, I give up, no idea where to change or where is a mistake

2010-12-12 Thread Alex
On Sunday 12 December 2010 19:37, David Hollingworth wrote:
 Hi Alex

 I think you've correct identified your initial problem:

 On 12/12/2010 17:01, Alex wrote:
  Client {
 Name = mail.mydoom.com-fd
 Address = dev13.mydoom.com
  ^^^
 FDPort = 9102
 Catalog = MyCatalog
 Password = watpEaYgf2N2A6TdVN8QdYDA7MI8Sa9rVjOY1bW7dWGv  #
  password for FileDaemon
 File Retention = 30 days# 30 days
 Job Retention = 6 months# six months
 AutoPrune = yes # Prune expired Jobs/Files
  }

 Here you're saying that the Address of your mail system is, infact, your
 dev13 system. Which is incorrect. Don't forget that the Name parameter
 can be anything to easily identify the client; but the Address must
 resolve to the IP address of the client system. For example:

 Client {
Name = Mail System
Address = mail.mydoom.com
 ...

 The second error you've received indicates that at least Bacula has
 attempted to contact the client, so you're one step further forward. The
 problem there could be a mismatched password or possibly a firewall issue.
 If you can telnet to the mail.mydoom.com on port 9102 then the port is open
 and it's most likely a password mismatch.


Dave,

Indeed now is a password problem. I can see in logs:

12-Dec 20:40 dev13.mydoom.com-dir JobId 0: Fatal error: Unable to authenticate
with File daemon at mail.mydoom.com:9102. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).

Could you tell me please where is required to modify password)? On 
dev13.mydoom.com, on mail or on booth. In which file: bacula-fd (on booth 
equipments) or on bacula-dir file on dev13.mydoom.com plus on bacula-fd on 
mail? In which section?

Regards,
Alx

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Lost in config files, I give up, no idea where to change or where is a mistake

2010-12-12 Thread Alex
On Sunday 12 December 2010 21:08, Phil Stracchino wrote:
 On 12/12/10 13:51, Alex wrote:
  Could you tell me please where is required to modify password)? On
  dev13.mydoom.com, on mail or on booth. In which file: bacula-fd (on booth
  equipments) or on bacula-dir file on dev13.mydoom.com plus on bacula-fd
  on mail? In which section?

 The short version:
 As a general rule, each password used by Bacula is defined twice, at
 source and at destination.  For instance, each client's password is
 defined in the bacula-fd.conf file on the client, and in the
 corresponding Client record in the Director's configuration.  Both
 definitions must match.

 For a hypothetical example, in the Director configuration::

 Client {
   Name = MyClient
   Address = myclient.mydomain.net
   Password = Here Is A Password Involving Llamas
   ...
 }

 And on the corresponding client:

 #
 # List Directors who are permitted to contact this File daemon
 #
 Director {
   Name = MyDirector
   Password = Here Is A Password Involving Llamas
 }

 So, the Director knows it is to contact the client at that address,
 using that password; and the client knows it is to accept connections
 from that director, using that same password.  Both the Director and the
 client have to know which password is to be used to authenticate between
 them.


Crystal clear explanation. I've adjusted in bacula-dir config file, Client {} 
section, password to match within bacula-fd file, Director {} section located 
in mail.mydoom.com password and now is working.

Another interesting thing from your explanation: server (dev13) is ALWAYS the 
one responsible to intiate (--syn) a new connection to client (mail) and not 
the client as in general things are working in a normal relation 
client-server!

Thanks for help.

Regards,
Alx

--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unwanted fullbackup

2010-11-11 Thread Alex Huth
On Wed, Nov 10, 2010 at 08:47:03PM -0500, Dan Langille wrote:
 On 11/10/2010 5:25 AM, Alex Huth wrote:
 
 Not to sound trite, and sorry if it does, but have you verified that the 
 time is indeed appropriate.  And was your locale affected by recent time 
 change?  I know the USA changed time last weekend.
 
Oh damn, i only looked if the time is correct. But you are right, we
have also changes in the time. But this was on 31.10, so one week before
the last scheduled fullbackup.

Alex

--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unwanted fullbackup

2010-11-10 Thread Alex Huth
Hello!

We have a timetable for the backups, where we do fullbackups on the 1st
sunday, differentials on the other sundays and incremental on each other
day.

on 07.11 (1st Sunday) bacula did a fullbackup like expected. Next monday
a incremental like expected. On the following tuesday bacula made
a fullbackup instead of the incremental, because he didn´t find a prior 
fullbackup in the catalog.

The fullbackup on the 7th was the second fullback. The first one was the
initial fullbackup after the setup and start with bacula.

Where do i have to search for the problem?

Thx in advance

Alex


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unwanted fullbackup

2010-11-10 Thread Alex Huth
On Wed, Nov 10, 2010 at 08:44:47AM +, Graham Keeling wrote:

 On Wed, Nov 10, 2010 at 10:32:16AM +0100, Alex Huth wrote:
  Hello!
  
  We have a timetable for the backups, where we do fullbackups on the 1st
  sunday, differentials on the other sundays and incremental on each other
  day.
  
  on 07.11 (1st Sunday) bacula did a fullbackup like expected. Next monday
  a incremental like expected. On the following tuesday bacula made
  a fullbackup instead of the incremental, because he didn´t find a prior 
  fullbackup in the catalog.
  
  The fullbackup on the 7th was the second fullback. The first one was the
  initial fullbackup after the setup and start with bacula.
  
  Where do i have to search for the problem?
 
 Bacula relies heavily on your clock being correct. 
 If your clock went backwards since it did the first full, it won't be able to
 find the first full.
 
 Also, if your retention for your first full has expired, it will purge it
 even though another backup depends on it existing.
 So perhaps your retention for your first full was too low.
 
This is the part of the config. For me it looks ok, or? The plan was to
have three sets of fullbackups.
---

#Default pool definition
 Pool {
   Name = Default
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 365 days
  }

Pool {
   Name = Full-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   File Retention = 3 months
   Volume Retention = 3 months
   Maximum Volume jobs = 40
   Label Format = Full-
   Maximum Volumes = 4
  }

 Pool {
   Name = Inc-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   File Retention = 20 days
   Volume Retention = 20 days
   Maximum Volume jobs = 216
   Label Format = Inc-
   Maximum Volumes = 7
  }

 Pool {
   Name = Diff-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   File Retention = 40 days
   Volume Retention = 40 days
   Maximum Volume jobs = 36
   Label Format = Diff-
   Maximum Volumes = 10
  }

# Scratch pool definition
 Pool {
   Name = Scratch
   Pool Type = Backup
 }
---


 
Alex Huth
 


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unwanted fullbackup

2010-11-10 Thread Alex Huth
On Wed, Nov 10, 2010 at 08:12:51PM +1100, James Harper wrote:
   on 07.11 (1st Sunday) bacula did a fullbackup like expected. Next monday
   a incremental like expected. On the following tuesday bacula made
   a fullbackup instead of the incremental, because he didn´t find a prior
  fullbackup in the catalog.
  
   The fullbackup on the 7th was the second fullback. The first one was the
   initial fullbackup after the setup and start with bacula.
  
   Where do i have to search for the problem?
  
  Bacula relies heavily on your clock being correct.
  If your clock went backwards since it did the first full, it won't be able 
  to
  find the first full.
  
  Also, if your retention for your first full has expired, it will purge it
  even though another backup depends on it existing.
  So perhaps your retention for your first full was too low.
  
 
 Hmmm... it never occurred to me before but mucking around with the clock on 
 your director could seriously mess with your day! Advancing the clock by one 
 year by mistake would probably purge most peoples catalogues.
 
 James
 
This is not the case, we use NTP on every host and they are running for
a longer time.

Alex

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unwanted fullbackup

2010-11-10 Thread Alex Huth
On Wed, Nov 10, 2010 at 07:47:58AM -0300, Kleber Leal wrote:
 Please, post your jobs and jobdefs and schedules.
 
 Have you used Max Full Interval directive?
 

No i haven´t used this option. But i think i have seen a mistake. I used
a file retention of 30 days in the client definition. Which has
priority? Client def or pool def? But this can´t be the problem, because
the first and initial fullbackup is done on 27.10 and the scheduled on
07.11. So the 30 days were not over.

Here a extract of my config:

Schedule {
Name = WeeklyCycle
Run = Level=Full 1st sun at 0:30
Run = Level=Differential 2nd-5th sun at 0:30
Run = Level=Incremental mon-sat at 0:30
 }

Schedule {
Name = WeeklyCycleAfterBackup
Run = Level=Full 1st sun at 6:30
Run = Level=Differential 2nd-5th sun at 6:30
Run = Level=Incremental mon-sat at 6:30
 }

# Default pool definition
 Pool {
   Name = Default
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 365 days
  }

Pool {
   Name = Full-Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   File Retention = 3 months
   Volume Retention = 20 days
   Maximum Volume jobs = 216
   Label Format = Inc-
   Maximum Volumes = 7
 }


Pool {
Name = Diff-Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 40 days
Volume Retention = 40 days
Maximum Volume jobs = 36
Label Format = Diff-
Maximum Volumes = 10
  }

# Scratch pool definition
 Pool {
Name = Scratch
Pool Type = Backup
 }


Client {
Name = dfs.ewmr.base-fd
Address = dfs.ewmr.base
FDPort = 9102
Catalog = MyCatalog
Password = 
File Retention = 30 days
Job Retention = 6 months
AutoPrune = yes
   }

@|sed 's/%client-fd/pa.ewmr.base-fd/g;s/%address/pa.ewmr.base/g;'
/etc/bacula/includes/default.client.include

Job {
Name = dfs
Type = Backup
Client = dfs.ewmr.base-fd
FileSet = dfs
Schedule = WeeklyCycle
Storage = File
Messages = Standard
Pool = Default
Full Backup Pool = Full-Pool
Incremental Backup Pool = Inc-Pool
Differential Backup Pool = Diff-Pool
Write Bootstrap = /var/lib/bacula/working/%c.bsr
Priority = 10
}

@|sed 's/%name/pa/g;s/%client-fd/pa.ewmr.base-fd/g'
/etc/bacula/includes/domU1.job.include

-

Here the two includes from above:

1. default.client.include

Client {
 Name = %client-fd
 Address = %address
 FDPort = 9102
 Catalog = MyCatalog
 Password = 
 File Retention = 30 days
 Job Retention = 6 months
 AutoPrune = yes
}

2. default.job.include

Job {
Name = %name
Type = Backup
Client = %client-fd
FileSet = domu1
Schedule = WeeklyCycle
Storage = File
Messages = Standard
Pool = Default
Full Backup Pool = Full-Pool
Incremental Backup Pool = Inc-Pool
Differential Backup Pool = Diff-Pool
Write Bootstrap = /var/lib/bacula/working/%c.bsr
Priority = 10
}


Hope this helps.

Alex Huth

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unwanted fullbackup

2010-11-10 Thread Alex Huth
On Wed, Nov 10, 2010 at 01:33:51PM +, Martin Simmons wrote:
  On Wed, 10 Nov 2010 13:56:36 +0100, Alex Huth said:
  
  On Wed, Nov 10, 2010 at 07:47:58AM -0300, Kleber Leal wrote:
  No i haven´t used this option. But i think i have seen a mistake. I used
  a file retention of 30 days in the client definition. Which has
  priority? Client def or pool def?
 
 In theory if the Pool File Retention is set then the Client File Retention is
 ignored.  However, the code is broken in 5.0.3 so it doesn't always work like
 that.
 
 It doesn't matter though, because File Retention will never cause it to
 promote an incremental to a full (it just prevents restore from selecting
 files).  Only Job Retention, Volume Retention or explicit purge/delete will
 cause jobs to be removed from the catalog.
 
 Is the original full still in the catalog (use list jobs)?
 
 Did you change the fileset definition at all sinze the original full?
 
Yes, i can see all jobs in the catalog and the fileset definition hasn
changed.
I did some testing before i used it since 27.20 (first initial
fullbackup) as a productive tool. Before i switched from testing to
production, i deleted all tables and databases in mysql and started from
scratch with the configs used during testing.

Alex

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula does 2 Fullbackups

2010-11-09 Thread Alex Huth
On Fri, Nov 05, 2010 at 09:22:06AM +, Thomas Mueller wrote:
 
  The first Backup starts and notice das there is no prior Full-Backup, so
  Bacula does a Full-Backup. That´s fine. But the Full-Backup runs more
  than 24 hours, so next time Bacula starts his Backup-Job he seems to
  notice that there is no Full-Backup and he generates a second
  Full-Backup job. So Bacula waste 7 TB with a second Full-Backup :(
  
  My Question is: Any way to fix this Problem?
  
 
 seeh Allow Duplicate Jobs
 
 http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#7220
 
 - Thomas
 
 
 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a 
 Billion shares his insights and actions to help propel your 
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
I have a similar problem here. The difference is that it is no duplicate
job. The fullbackup was running as scheduled on 07.11 (first sunday).
I didn see any error in the job. This night doing a incremental, bacula
tolds me that there is no prior full backup in the catalog.

But yesterday night the incremental was running without error.

Which problem can this be? If this happens every day, my SAN will be out
of space within a few days.

Greetings

Alex

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Permission denied on several files

2010-10-28 Thread Alex Huth
Hello!

I have problems during a backup of only one client. There is
a permission denied on files which are only readable for root, like
/boot/backup_mbr or /boot/grub/menu.lst.

The files appear in the list of files to restore, but when i do
a restore they have 0 byte.

The permission denied errors appear only when doing a fullbackup, not in
a incremental.

On all other clients (same OS) with the same Clientconfiguration it
works. So, where is the point i am missing?


THX in advance

Alex

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Permission denied on several files

2010-10-28 Thread Alex Huth
On Thu, Oct 28, 2010 at 11:28:21AM +0200, Alex Huth wrote:
 Hello!
 
 I have problems during a backup of only one client. There is
 a permission denied on files which are only readable for root, like
 /boot/backup_mbr or /boot/grub/menu.lst.
 
 The files appear in the list of files to restore, but when i do
 a restore they have 0 byte.
 
 The permission denied errors appear only when doing a fullbackup, not in
 a incremental.
 
 On all other clients (same OS) with the same Clientconfiguration it
 works. So, where is the point i am missing?
 
 
 THX in advance
 
 Alex
 
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
Problem solved! There was a error in the client configuration. I had not
changed the name for the messaging director. This leads to this strange
behaviour.

Alex

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] New start from scratch

2010-10-26 Thread Alex Huth
Hello!

After a period of testing i want to use bacula now for production level.
I thought it would be enough to drop the database in mysql and remove
the metadata and the working dir. But after creating the database and
tables again, i see in the status of a client the old backups.

Where have i missed something to get a clear start?

Thanks in advance!

Alex

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] exclude files by size

2010-08-13 Thread Alex Chekholko
On Mon, 09 Aug 2010 09:21:11 -0400
arne bacula-fo...@backupcentral.com wrote:

 Hi,
 
 I'm currently backing up several workstations using bacula and everything is 
 working fine. Thanks to this forum a lot of problems have been sorted out.
 
 Does anybody know if its possible to exclude files by their size?
 I want to exclude vm hard disk images. Excluding them by wildfile the usual 
 file endings is not the problem. But at some places vm images are stored in 
 compressed zip archives. I don't want to exclude all zip archives in general
 but lets say *.zip  10GB.
 

There's no easy way to do that.  You'll want to generate a list of the files 
you don't want to back up, and feed that list to the Exclude directive of the 
job.

You can either use the previous backup jobs to generate the list, or do a find 
on those workstations.

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Limit backup speed

2010-08-13 Thread Alex Chekholko
On Fri, 13 Aug 2010 17:00:21 +0200
Simone Martina smart...@noc.skylogicnet.com wrote:

   Hi at all,
 I got a trouble: a server of our server farm runs some perl scripts that 
 are bad influenced by Bacula backup.
 Until our developers will return from holiday (damn), I need to limit 
 bacula speed.
 Our servers are connected by 100Mbps ethernet network, should I tune 
 Maximum Network Buffer Size parameter?
 

If you are running Linux, you probably want to use the tc command to
throttle traffic to the bacula port.

Search Google for linux tc throttle.  Something like this:
http://www.cyberciti.biz/faq/linux-traffic-shaping-using-tc-to-control-http-traffic

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Explanation of periods

2010-07-21 Thread Alex Huth
Hello!

I want to be sure if have understand the periods and there relationship
to a possible restore.

The file retention period define the possibility to restore files over
the given period. If i have the following schedule, how do i have to set
the retention periods to have always two full sets of data?

Schedule {
Name = WeeklyCycle
Run = LEVEL=Full 1st sun at 0:30
Run = Level=Differential 2nd-5th sun at 0:30
Run = Level=Incremental mon-sat at 0:30
}

I use diskbased storage with three different pools.

Full-Pool   file retention 2 month
job retention  4 month
volume retention 2 month
maximum volumes 3

Diff-Pool   file retention 40 days
job retention  2 month
volume retention 40 days
maximum volumes 11

Inc-Poolfile retention 14 days
job retention  1 month
volume retention 14 days
maximum volumes 9


Is this the correct way?

THX in advance

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing Maximum Block Size: reading previous backups

2010-07-20 Thread Alex Chekholko
On Tue, 20 Jul 2010 11:11:49 +1200
Craig Miskell craig.misk...@opus.co.nz wrote:

 Hi,
   It looks like I need to beef up Maximum Block Size to get good 
 performance out of our LTO-4 tape drives.
 
 Before I do, I'd like to know what effect this has on restoring from backups 
 taken with the default block size.  Will I 
 need to modify the Device configuration back to it's default setting to be 
 able to restore from those tapes, or will 
 Bacula figure out what it needs to do?
 

I believe it is the former.

I did same thing (upped 'Maximum Block Size for LTO-4 performance) but
didn't test any restores from the tapes written with the old block
size.  And eventually they were recycled.

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] SQL-Errors

2010-07-16 Thread Alex Huth
Hello!

Today i got SQL-Errors doing a Fullbackup of a FreeBSD host. Hope
someone can help with that.

---
2010-07-16 10:19:06
borusse.ewmr.base-dir
Fatal error: sql_create.c:799 sql_create.c:799 insert INSERT INTO batch
VALUES
(466042,9,'/var/db/portsnap/files/','8b034d9c6645389edf2bd65f0e302fab7692c8a2dc3b9d9e4bf93c99222919a9.gz','Bd
Nxp IGk B A A 4sP bU BAA E BMBq8q BMBaqN BMBqa9
A A C','+2yUBxAdZpApVFa0QPCXRw') failed:
Incorrect key file for table '/var/tmp/#sql689_4_0.MYI'; try to repair
it


sql_create.c:799 INSERT INTO batch VALUES
(466042,9,'/var/db/portsnap/files/','8b034d9c6645389edf2bd65f0e302fab7692c8a2dc3b9d9e4bf93c99222919a9.gz','Bd
Nxp IGk B A A 4sP bU BAA E BMBq8q BMBaqN BMBqa9
A A C','+2yUBxAdZpApVFa0QPCXRw')


Fatal error: catreq.c:492 attribute create error.
2010-07-16 10:19:06
borusse.ewmr.base-sd
JobId=9 Job=borusse.2010-07-16_09.50.07_05 marked to be canceled.


Job write elapsed time = 00:28:56, Transfer rate = 20.77 M Bytes/second
2010-07-16 10:19:07
borusse.ewmr.base-fd
Fatal error: backup.c:1019 Network send error to SD. ERR=Unterbrochene
Pipe
--

Greetings

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with dbcheck

2010-07-15 Thread Alex Huth
On Tue, Jul 13, 2010 at 08:53:55AM +0700, Ken wrote:
 Hello Alex,
 
 If you read make_catalog_backup.pl the accepted parameters are $1 dbname,
 and $2 dbuser, so I would suggest you try
 
 RunBeforeJob = /usr/lib64/bacula/make_catalog_backup.pl bacula bacula
 
 Hope that helps.
 Ken
 
 
Even when i run it with su it doesn´t work. It not the only problem.
dbcheck tells me that -B is a unknown option. I have testetd the same
configuration on FreeBSD and it works there.
I have used the RPM in the SLES 11 tree of OpenSuSE. Anyone else using
this RPM´s or have you compiled the source?

-- 
Mit freundlichen Grüßen
 
Alex Huth
 


TMR - Telekommunikation
Mittleres Rurgebiet GmbH
Brenscheder str. 62
D-44799 Bochum
Tel.:  +49 0234 960 3843
Mobil: +49 163 5960638
a.h...@tmr.net
http://www.tmr.net


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with dbcheck

2010-07-15 Thread Alex Huth
On Tue, Jul 13, 2010 at 08:53:55AM +0700, Ken wrote:
 Hello Alex,
 
 If you read make_catalog_backup.pl the accepted parameters are $1 dbname,
 and $2 dbuser, so I would suggest you try
 
 RunBeforeJob = /usr/lib64/bacula/make_catalog_backup.pl bacula bacula
 
 Hope that helps.
 Ken
 
I have solved the problems:

1. The permissions on the configs are wrong, must be set to bacula
2. When you use mysql, you have to change the string in
make_catalog_backup.pl from dbcheck to dbcheck.mysql
3. In the bacula-dir.conf execute the make_catalog_backup.pl as user
bacula

Hope that helps, for everyone using the OpenSuSE/SLES11 rpm!

Greetings

Alex


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bootstrap bat

2010-07-15 Thread Alex Huth
Hello!

When i use the bat to create manually a job i didn´t get the information
for the bootstrap. I have set that in the conf.

Do i miss here something or how can i check if it´s only a error in the
bat?

Greetings

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Newbie] Differences to Amanda

2010-07-15 Thread Alex Chekholko
On Thu, 15 Jul 2010 15:46:38 +0100
Rory Campbell-Lange r...@campbell-lange.net wrote:

 We are presently trying to use Amanda to write 7-10TB of data from one
 server to an LTO4 tape library. We are frustrated with problems in
 retrieving files from the second tape onwards. Amanda seems to suffer
 from an intrinsic problem about knowing where to find a file from the
 backup set, which is frustrating the process of resolving this problem
 as the whole backup has to be dumped to disk to try and find the file.
 
 Consequently we are considering moving to Bacula. The integration with
 Postgres and python sounds very good to us.
 
 I'd be grateful to know if the Bacula catalogue records allow Bacula to
 more rapidly restore data from large tape sets by understanding which
 tape it is stored upon.


Restoring particular files is quite easy in Bacula because that
information is stored in the database.  So it knows where to find which
file on the tapes.  

If the database is not available (e.g. you've pruned the file entries
or your database server failed), then you can scan the tapes and build
the database.  This does take longer and has more steps. 

 I'd also be grateful for comments on how to best deal with an
 environment where the main storage server will act as Bacula Director,
 Client and Storage, and in an environment with only ssh access to a
 shell console.

That is my environment as well, I only use bconsole, and my tape
library is attached to a machine which NFS mounts all of the stuff that
needs to be backed up.  And the database daemon is local there as
well.  The main thing is to have enough hardware performance to handle
the DB workload and the tape streaming, etc.  I have the DB on
dedicated spindles and then also a large spool area where files get
staged before getting written to tape.

 
 A final question about the on-tape format:
 We chose Amanda originally because we could cite it as using an open
 standard which would allow people to easily restore data in 15 years'
 time assuming the tapes hadn't become corrupt. I understand that Bacula
 uses its own tape format and that over time, this has changed.


The format is documented and the utilities required to read/write it
are Free Software.  So it's equivalent to, say, GNU tar.


Set it up and try it out!  I think you will find it easier than Amanda.


Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems with dbcheck

2010-07-12 Thread Alex Huth
Hello!

I am using bacula on SLES 11 and getting errors doing backup of the
catalog:

12-Jul 13:02 dfs.ewmr.base-dir JobId 1: shell command: run BeforeJob
/usr/lib64/bacula/make_catalog_backup.pl MyCatalog
12-Jul 13:02 dfs.ewmr.base-dir JobId 1: BeforeJob: Can't find your
catalog (MyCatalog) in director configuration
12-Jul 13:02 dfs.ewmr.base-dir JobId 1: Error: Runscript: BeforeJob
returned non-zero status=1. ERR=Child exited with code 1

-

I am using the default definitions of catalog in the conf:

# Backup the catalog database (after the nightly save)
Job {
   Name = BackupCatalog
   JobDefs = DefaultJob
   Level = Full
   FileSet=Catalog
   Schedule = WeeklyCycleAfterBackup
   # This creates an ASCII copy of the catalog
   # Arguments to make_catalog_backup.pl are:
   #  make_catalog_backup.pl catalog-name
   RunBeforeJob = /usr/lib64/bacula/make_catalog_backup.pl MyCatalog
   # This deletes the copy of the catalog
   RunAfterJob = /usr/lib64/bacula/delete_catalog_backup
   Write Bootstrap = /var/lib/bacula/working/%n.bsr
   Priority = 11   # run after main backup
  }
--

# Generic catalog service
Catalog {
   Name = MyCatalog
   # Uncomment the following line if you want the dbi driver
   # dbdriver = dbi:sqlite3; dbaddress = 127.0.0.1; dbport =  
 dbname = bacula; dbuser = bacula; dbpassword = 
 }

Can someone help with that error?

Greetings

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Starting from scratch

2010-07-12 Thread Alex Huth
Hello!

I would like to start from scratch for debugging. That are the steps
i have done:

1. Stop all services
2. Drop the tables
3. Drop the database
4. Delete the files in working and the volumes in storage
5. create database
6. make table
7. grant privileges
8. restart services

When  i connect with the bconsole and call the status, i can see all
jobs i have done so far. What is missing to start from scratch?

Greetings

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Starting from scratch

2010-07-12 Thread Alex Huth
On Mon, Jul 12, 2010 at 08:15:30AM -0400, Dan Langille wrote:
 On 7/12/2010 7:56 AM, Alex Huth wrote:
 
 If you're really worried about job status, see the FAQ.  Pretty sure 
 it's in there, or in the wiki
 
It´s not only the job status. I am not sure everything is doing jobs
like it should. In the FAQ is mentioned only to drop the tables. But
this doesn´t seem to be enough.

As i already posted in another thread everything worked fine, only the
backup of the catalog is not working.

Greetings

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Client defs

2010-07-08 Thread Alex Huth
Hello!

Is it possible to build Client defaults like JobDefaults? I have nothing
found in the doc and google. This would be good when having lots of
clients.

Greetings

Alex Huth

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a way...

2010-07-08 Thread Alex Chekholko
On Thu, 8 Jul 2010 08:18:34 -0700 (PDT)
gnowar g.no...@gmail.com wrote:

 
 Hey,
 
 I was wondering if there is a way to tell bacula not to ask the oldest tape
 it wrote on..
 
 I mean, when a tape is pruned, it's status come to Recycle. Is there a way
 to put all the status tape to recycle (those who the retention is over, that
 means they could be pruned), and not only the oldest one ?
 
 Why.. ?
 
 Because I'm using 20 tapes, but every twenty days (one tape per day), one
 tape goes to the bank. I take a new tape and the cycle goes on during twenty
 days etc..
 
 The problème is, if I put a tape in the bank, 19 days later Bacula will ask
 me THIS special tape, which is not available (cause in the bank..).
 
 Is there a solution for this problem or it is inherent to the way Bacula
 actually works ?

Your description is a bit confusing.

Are these tapes all in the same pool?  What is the retention period?

Read up on the retention periods for files, jobs, volumes.

Do you do an update slots after you remove the tape?  Bacula
shouldn't ask for a tape that's not available.

-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems running Bacula BAT

2010-06-23 Thread Alex Huth
On Tue, Jun 22, 2010 at 03:42:36PM +0200, Cato Myhrhagen wrote:
 
 Now I checked the log (/var/db/backula/log) and got the following error
 message:
 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418
 Unable to authenticate console *UserAgent* at client:127.0.0.1:36131.
 
Try first to connect to the director using bconsole. It seems the
passwords between director and fd or sd are different.

Greetings

Alex Huth

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using HP Storageworks 1/8 G2 with Bacula

2010-06-19 Thread Alex Chekholko
On Sat, 19 Jun 2010 10:22:49 +1000
James Harper james.har...@bendigoit.com.au wrote:

  
  On Fri, 11 Jun 2010 22:36:47 -0300
  Daniel Bareiro daniel-lis...@gmx.net wrote:
  
   Hi all!
  
   I'm doing tests with a brand new HP Storageworks 1/8 G2 I plan to
 use
   with Bacula on Debian GNU/Linux Lenny.
  
   The tape autoloader is connected to a PC through an HP Smart Array
 P212
   card. It is HP's entry level PCI Express Serial Attached SCSI RAID
   controller.
  
  
  For Dell/IBM, you really can't use a RAID controller to access tape.
  You have to buy a plain SAS controller. However, that may not be the
  case for your HP hardware.
  
  When you go into the RAID card's BIOS interface at boot, does it
 detect
  all of devices you have physically connected to it?
  
 
 The HP Smart Array P212 does specifically support tape drives, and the
 HP Storageworks 1/8 G2 does specifically claim support for that card,
 but in the past it has been recommended to put tape drives on their own
 controllers even if it is supported on the RAID controller.
 
 But as you say, that support is a feature of the card and is not a
 normal feature of RAID controllers.


When you go into the RAID card's BIOS interface at boot, does it
detect and show all of devices you have physically connected to it?


Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using HP Storageworks 1/8 G2 with Bacula

2010-06-18 Thread Alex Chekholko
On Fri, 11 Jun 2010 22:36:47 -0300
Daniel Bareiro daniel-lis...@gmx.net wrote:

 Hi all!
 
 I'm doing tests with a brand new HP Storageworks 1/8 G2 I plan to use
 with Bacula on Debian GNU/Linux Lenny.
 
 The tape autoloader is connected to a PC through an HP Smart Array P212
 card. It is HP's entry level PCI Express Serial Attached SCSI RAID
 controller.
 

For Dell/IBM, you really can't use a RAID controller to access tape.
You have to buy a plain SAS controller. However, that may not be the
case for your HP hardware.

When you go into the RAID card's BIOS interface at boot, does it detect
all of devices you have physically connected to it?

-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula on SLES 11

2010-06-16 Thread Alex Huth
Hello!

I have installed Bacula on SLES 11 using the SLES 11/RPM provided by
OpenSuSE. The RPM´s didn´t create a bacula user and the daemons all run
as root.
On a FreeBSD machine running bacula i see the dir/sd daemon running as
bacula and the fd deamon as root/wheel. Now i have created a bacula
user, but how can i make the two daemons run as bacula?

Also i can´t connect with the bconsole. I have set all passwords in the
conf files. When i use bconsole it does nothing on the console.

How can i solve this two problems?

Greetings

Alex

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on SLES 11

2010-06-16 Thread Alex Huth
On Wed, Jun 16, 2010 at 03:22:29PM +0200, Alex Huth wrote:
 Hello!
 
 I have installed Bacula on SLES 11 using the SLES 11/RPM provided by
 OpenSuSE. The RPM´s didn´t create a bacula user and the daemons all run
 as root.
 On a FreeBSD machine running bacula i see the dir/sd daemon running as
 bacula and the fd deamon as root/wheel. Now i have created a bacula
 user, but how can i make the two daemons run as bacula?
 
 Also i can´t connect with the bconsole. I have set all passwords in the
 conf files. When i use bconsole it does nothing on the console.
 
 How can i solve this two problems?
 
 Greetings
 
 Alex
 
 --
 ThinkGeek and WIRED's GeekDad team up for the Ultimate 
 GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
 lucky parental unit.  See the prize list and enter to win: 
 http://p.sf.net/sfu/thinkgeek-promo
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
I have solved one problem. In all configs was the name=build13. After
changing this to the hostname bconsole did his job.

Still concerned about the process running under ?wrong? user. Hope there
will be not any other problems i can´t see yet.

Greetings

Alex

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] labeling my volumes

2010-06-08 Thread Alex Chekholko
On Tue, 8 Jun 2010 13:59:32 -0700
Jeremiah D. Jester jj...@u.washington.edu wrote:

 
 I've just bacula is working state where it  can connect to clients and the 
 the required daemons. I'm now trying to prepare a volume to write too via 
 bconsole. Is manual load usually required for bacula or is this a 
 configuration issue?
 
 Thanks.
 JJ
 
 *label
 Automatically selected Catalog: MyCatalog
 Using Catalog MyCatalog
 The defined Storage resources are:
  1: File
  2: Tape
 Select Storage resource (1-2): 2
 Enter autochanger drive[0]:
 Enter new Volume name: Offsite-Vol1-6-8-10
 Enter slot (0 or Enter for none):
 Defined Pools:
  1: Catalog
  2: Offsite
  3: Onsite
  4: Scratch
 Select the Pool (1-4): 2
 Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ...
 Sending label command for Volume Offsite-Vol1-6-8-10 Slot 0 ...
 Invalid slot=0 defined in catalog for Volume  on Drive1 (/dev/st0). 
 Manual load may be required.
 3301 Issuing autochanger loaded? drive 0 command.
 3302 Autochanger loaded? drive 0, result: nothing loaded.
 3910 Unable to open device Drive1 (/dev/st0): ERR=dev.c:491 Unable to open 
 device Drive1 (/dev/st0): ERR=No medium found
 
 Label command failed for Volume Offsite-Vol1-6-8-10.
 Do not forget to mount the drive!!!
 You have messages.
 *

You probably forgot an 'update slots'.  But more generally, make sure all of 
the btape tests work first (see tape testing section of the manual.

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] IBM TS3100 autochanger

2010-06-01 Thread Alex Chekholko
On Sun, 30 May 2010 08:17:27 -0400
masker bacula-fo...@backupcentral.com wrote:

 
 
 Phil Stracchino wrote:
  
  What is this lin-tape you speak of?
  
  If your Linux kernel is properly configured (i.e, SCSI HBA support, SCSI
  tape support, and the PERC6 low-level SCSI driver enabled), it should
  Just Work.  If those aren't compiled into your kernel, see if you have
  them present as modules.
  
 
 
 The lin-tape or lin_tape means the driver name of IBM ULTRIUM-HH5 tape 
 drive.
 I've download the lin_tape-1.38.0-1.src.rpm from IBM website. But I can't 
 compile it in Debian 5.0.4.
 The SAS HBA driver is mpt2sas, it was installed in my system, successfully. 
 Then I could use mt -f /dev/st0 status, but I got error message like read 
 error..  if I type  mt -f /dev/st0 tell. 
 Under this situation , it could write by tar command, but show write 
 error... after several hours.
 If I connect the tape drive to a machine of CentOS with right driver, it show 
 /dev/IBMtape0 as the device name, and I could have right answer by mt -f 
 /dev/IBMtape0 tell
 
 So. I need some help. If anyone have any suggestion to help me install the 
 tape in Debian OS?
 

It should just work without using the special driver.  My LTO drives are IBM 
and my library is IBM and I don't use any special driver, just the 'st' kernel 
module or whatever its official name is.

What is your output of 'cat /proc/scsi/scsi' or check dmesg for relevant 
messages or also try the 'tapeinfo' command on the various sg devices.  


-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mail error: bsmtp cannot find libbac-5.0.1.so after upgrade from 3.0.3 to 5.0.2

2010-05-27 Thread Alex Chekholko
On Wed, 12 May 2010 13:01:51 +0200
Foo bfo...@yahoo.co.uk wrote:

 Just a FYI if someone else runs into this:
 
 after upgrading from 2.4.3 to 3.0.3 and then to 5.0.2 I'm getting  
 (ironically) the following mail from logcheck:
 
 May 12 11:45:10 HOSTNAME bacula-dir: 12-May 11:45  Message delivery ERROR:  
 Mail prog: /sbin/bsmtp: error while loading shared libraries:  
 libbac-5.0.1.so: cannot open shared object file: No such file or directory
 
 May 12 11:45:10 HOSTNAME bacula-dir: 12-May 11:45  Message delivery ERROR:  
 Mail program terminated in error. CMD=/sbin/bsmtp -h mailgw -f 'Bacula  
 bacula-...@domain' -s Bacula: Backup OK of OTHERHOST-fd Incremental  
 f...@domain ERR=Child exited with code 127
 
 But it does exist:
 -rwxr-x--- 1 root root 1010330 2010-05-12 11:11 /usr/lib/libbac-5.0.1.so
 
 
 The fix was to do a chown root:bacula on /usr/lib/libbac*
 
 The bacula group has the bacula-dir and -sd users in it here, as well as  
 some people who need to run bconsole (so executables like /sbin/bconsole  
 are all also root:bacula)
 
 Not sure if this is handled correctly by packaging, I used source for all  
 versions so far.
 

I just want to confirm that I had the same problem (or very similar).
I built 5.0.2 from the src rpm on CentOS 5.4

11-May 17:08 bac-dir JobId 10262: shell command: run
BeforeJob /opt/bacula/scripts/make_catalog_backup.pl MyCatalog 11-May
17:08 bac-dir JobId 10262:
BeforeJob: /opt/bacula/bin/dbcheck: error while loading shared
libraries: libbacsql-5.0.1.so: cannot open shared object file: No such
file or directory

The fix was as Foo suggested (my libs are at a different path):
# chown root:bacula /opt/bacula/lib64/libbac*

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu  

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to configure bacula to backup servers on different network domains

2010-05-18 Thread Alex Chekholko
On Tue, 18 May 2010 13:54:37 -0400
John Drescher dresche...@gmail.com wrote:

 On Tue, May 18, 2010 at 1:42 PM, Rogerio Luiz rogl...@yahoo.com wrote:
  Hello,
 
  Our computer center is served by two independent network domains, each one 
  attached to different Autonomous Systems. We´d like to backup all of our 
  hosted servers using a single bacula system that controls a Tandberg Magnum 
  224 LTO tape library.
 
  Bacula has been already deployed and has been working smoothly, but so far 
  it is attached to only one of the networks. Is there a way to connect the 
  servers running bacula to the second network domain and use the same tape 
  library to backup all of our servers?
 
 
 Use FQDNs that return a different IP address for the SD depending on
 what network you are on.
 

Yep.  The crudest way being totally manual: Bacula is configured with 
bacula-sd.your.domain.com as the SD address and then each client has a local 
/etc/hosts entry that points to the appropriate IP for that client.

The dir connects to the fd and tells the fd to connect to the sd.  But it 
passes it the hostname, not the IP.

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Concurrent Jobs Setup

2010-05-18 Thread Alex Chekholko
On Tue, 18 May 2010 12:01:02 -0700
Lampzy lam...@gmail.com wrote:

 Right now the jobs are running one by one. I read all the documentation 
 I can find and still can't figure out how to configure it to spool 4 
 jobs simultaneously and de-spool them one by one to the tape drive.

I just de-spool them all simultaneously.  I mean, I don't do that
explicitly, that's what Bacula does by default.  They get multiplexed,
but that's OK.

I don't think you can do it the other way.

I have three LTO-4 drives, de-spool two jobs each simultaneously:

# grep urrent *
bacula-dir.conf:  Maximum Concurrent Jobs = 6
bacula-dir.conf:  Maximum Concurrent Jobs = 6
bacula-fd.conf:  Maximum Concurrent Jobs = 20
bacula-sd.conf:  Maximum Concurrent Jobs = 20
clients.conf:maximum concurrent jobs = 6

-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] I need to buy a Tape Library

2010-05-17 Thread Alex Chekholko
On Mon, 17 May 2010 10:30:20 +0200
Simone Martina smart...@noc.skylogicnet.com wrote:

 Hi at all,
 my boss give me a budget of 20.000$ to buy a new tape library for our 
 Bacula 5 server. I've tried to cross informations between MTX HCL 
 (http://mtx.opensource-sw.net/compatibility.php?sorttype=1start=1count=0) 
 and HP, our main supplier.
  From HP I've selected these libraries: 
 http://h71016.www7.hp.com/dstore/ctoBases.asp?oi=E9CEDBEID=19701SBLID=ProductLineId=450FamilyId=2244LowBaseId=LowPrice=familyviewgroup=238viewtype=MatrixMatrix=
 because our goal is:
 - to have an autoloader system :-)
 - to be able to connect two director to the same library (a main Dir and 
 a backup one for HA)

Can you explain more what you want here?  Seems easier to have a cold
standby and swap the cable if the machine dies.

 - if possible, to have two tape reader in the library, due to make 
 speediest search operations
 - we have to use Centos 5.4 x64, so the library needs to be compatible 
 with it.
 
 Someone, from this ML, has bought a new tape library working with Linux 
 and mtx-changer?

I have used several Dell models and an IBM model and a SpectraLogic
model with Bacula.  As well as Overland and Quantum.

They were all LTO-based and very similar in spec and operation.

IMHO, you want LTO-4 today, not LTO-3.

On this list, we have not recently heard of any new libraries _not_
working with Bacula; I think there used to be many more problems back
in the day, but now things are better.  That MSL6030 looks good.

Regards,
-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic labelling from barcodes ?

2010-03-18 Thread Alex Chekholko
On Mon, 15 Mar 2010 13:37:48 +1100
Norberto Meijome numard...@gmail.com wrote:

 
 
  Any time you add/remove tapes from the tape library, you need to do
  'update slots' and 'label barcodes' in bacula.
 
  Does that not behave as you expect?
 
  --
  Alex Chekholko   ch...@pcbi.upenn.edu
 
 
 
 @ Dan, @ Alex,
 yes, it does what I want - almost.
 Just that with only 1 drive, I need to have no jobs running in order to be
 able to label the tapes. Otherwise, as soon as one tape is available, the
 job will pick it up and put on hold the label task.
 
 automount off helps, but that's when I experienced the crash - i haven't had
 a chance to try to reproduce the issue.
 
 On the other hand, if I could put a job on hold / paused state, it would
 solve this issue. i think.
 
 B

Hi,

Yes, if you only have one drive, you need to have no jobs running in order to 
do 'update slots' or 'label barcodes'.

Regards,
-- 
Alex Chekholko   ch...@pcbi.upenn.edu  

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How many jobs can I schedule for the same time?

2010-03-03 Thread Alex Chekholko
On Wed, 3 Mar 2010 10:52:33 +0100
Richard Hartmann richih.mailingl...@gmail.com wrote:

 On Wed, Mar 3, 2010 at 01:55, Mike Ruskai than...@earthlink.net wrote:
 
  That's MySQL complaining about not finding table files.  Check its
  configuration for the value of open_files_limit.  Increase the value
  if it's small.  If it looks large enough, check your system
  configuration for restrictions on the number of open files.
 
 it's set to 1024 -- I would assume this to be more than enough for
 one to two dozen running jobs, but I am very interested in values
 other people work with.
 
 To check, just do
 
 mysql show variables like open_files_limit;
 

Mine says:
mysql show variables like open_files_limit;
+--+---+
| Variable_name| Value |
+--+---+
| open_files_limit | 8192  | 
+--+---+
1 row in set (0.03 sec)

I don't think I've ever had more than 6 jobs running concurrently.

Regards,
-- 
Alex Chekholko   ch...@pcbi.upenn.edu

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] using bscan

2010-02-22 Thread Alex Chekholko
On Mon, 22 Feb 2010 17:17:22 +0100
Tino Schwarze bacula-us...@tisc.de wrote:

 Hi there,
 
 I'm having trouble using bscan to recover the catalog data from a tape
 which was purged by accident.
 
 I get the following output:
 
[snip]
 MJR263L3 on Superloader-Drive (/dev/nst0). Manual load my be
 required.
 22-Feb 17:04 bscan JobId 0: 3301 Issuing autochanger loaded? drive 0
 command.
 22-Feb 17:04 bscan JobId 0: 3302 Autochanger loaded? drive 0, result:
 nothing loaded.


Are you sure the tape was loaded as you expect?

If you're worried about a lower-level problem, use 'mt -f /dev/nstX
status' and 'tapeinfo -f /dev/sgX' to see the status of the drive.

Then you can try something simple like 'dd if=/dev/st0 of=/dev/null'
to see if that causes any error.

Regards,
-- 
Alex Chekholko   ch...@pcbi.upenn.edu

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Quantum Scalar i40 and second tape drive

2010-02-12 Thread Alex Chekholko
On Fri, 12 Feb 2010 16:59:46 +0100
Daniel Kamm y...@ylz.ch wrote:

 Dear all,
 
 I need some hints, ideas whatever. I have a Quantum Scalar i40 with two 
 separate LTO-4 SAS drives. I've conneced the drives with two SAS cables 
 to two separate SAS controller within the backup server.
 
 # cat /proc/scsi/scsi
 Attached devices:
 Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: HP   Model: Ultrium 4-SCSI   Rev: U51Z
Type:   Sequential-AccessANSI  SCSI revision: 05
 Host: scsi4 Channel: 00 Id: 00 Lun: 01
Vendor: QUANTUM  Model: Scalar i40-i80   Rev: 100G
Type:   Medium Changer   ANSI  SCSI revision: 03
 Host: scsi5 Channel: 00 Id: 00 Lun: 00
Vendor: HP   Model: Ultrium 4-SCSI   Rev: U51Z
Type:   Sequential-AccessANSI  SCSI revision: 05
 
 So far, so good, but mtx is not willing to see the second drive:
 
 # mtx -f /dev/sg1 status
Storage Changer /dev/sg1:1 Drives, 29 Slots ( 5 Import/Export )
 Data Transfer Element 0:Full (Storage Element 20 Loaded):VolumeTag = 
 MZ2019
Storage Element 1:Empty:VolumeTag=
Storage Element 2:Empty:VolumeTag=
   [..]
 

Yes, there should be a Data Transfer Element 1 there.

 And mtx is not willing to load a tape into the second drive:
 
 # mtx -f /dev/sg1 load 22 1
 illegal drive-number argument '1' to 'load' command
 
 Any ideas what I did wrong? Any hints where I can start debugging? 
 Because since Baculas mtx-changer is using mtx, I think I am not able to 
 use the second drive.
 

Check dmesg for relevant messages and do something like
ls -lah /dev/*st* 
to see if they're there?

Regards,
-- 
Alex Chekholko   ch...@pcbi.upenn.edu 

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] how to configure tls for SD to remote FD

2010-02-11 Thread Alex Florescu
Hi again,
After RTFM'ing for the past hours, I have been able to do the following:
- become a CA;
- create a .key and sign a .crt for the backup server (where the Director
and SD are);
- create a .key and sign a .crt for the remote client (where the FD is).
 
I have followed the instructions in
http://bacula.org/5.0.x-manuals/en/main/main/Bacula_TLS_Communications.html
but it is very unclear which .cert and .key is which. 
In what config do I point to the client's certificates and in what config do
I point to the server's certificates?
Remember, I need to encrypt traffic from the SD to FD and eventually from
DIR to FD.
 
Just point me to the right way to configure the DIR, SD and FD.
Thank you,
 
Alex F.
 
 
Hello,
 
I'm in need of some help with configuring tls encryption.
 
I've already read the manual but it isn't very clear.
 
I have the following setup:
Director + Storage on the backup server
File daemon on a remote machine
and I need to encrypt traffic from the File daemon to the Storage
daemon and eventually from the Director to the File daemon.
 
I will be signing my own certificates (so will not be using any other CA
out
there). Note that I do not have FQDNs.
 
In my endeavor I encountered the following error:
Fatal error: Failed to authenticate Storage daemon.
Fatal error: Bad response to Storage command: wanted 2000 OK storage, got
2902 Bad storage
so it would be best to start from scratch.
 
1.   Where do I need to place the TLS related syntax?
 
2.   When creating certificates I used the method described in
http://openvpn.net/index.php/open-source/documentation/howto.html#pki
and have the following: the CA.crt (which will be the same on both
machines),
the BackupDirector's .crt and .key (which should stay on the backup server)
and the
remote FileDaemon's .crt and .key (which will be on the remote FD). 
It is not clear to me how these relate. Also I read that the Common Name
should be a
FQDN that points to the remote FD.
This is again unclear to me, because I encounter 3 Common Name inputs along
the way: when creating CA, the server's key and the remote machine's key.
 
Please help. Thank you.
 
Alex F

 

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Building Bat + ActionOnPurge

2010-02-03 Thread Alex Ehrlich
Hello,

By no means was I going to upset or blame anybody. I just wanted to 
point out some weaknesses and shortcomings that currently exist and 
maybe to warm up some discussion -- what would benefit Bacula and its 
[even] wider adoption ;-). I see that the discussion has kind of 
started, although -- what a pity -- at the level of Thats not Bacula 
community problem and Windows sux (these quotes are not from Kern) :-(.

  Just some examples of documentation points that would be worth 
improving:
  ...
  Those are good points and would make good contributions.
Our company is currently working on some. But while I have set up 3 
production sites with Bacula backup so far I still don't know *good* 
answers for some of those questions -- and, consequently, cannot 
contribute (some other have been documented by now and are on the way to 
be added to howtos). Maybe I ain't the sharpest tool in the shed? 
Possibly, but who is the intended audience then?

  This is an Open Source project that counts on contributions from the 
community.
  ...
  All I can say is: what do you expect from a community project
I consider the project as having achieved very good results for an open 
source one (and for commercial one, too, actually). It is a really good 
backup system (after all, why would I implement it in production 
otherwise?). But most things in our life could be even better than they are.

  You apparently have not been reading what I have written about Bacula 
Systems.
I have. However, I believed that even providing support and 
consultancy would benefit from the list of potential issues that might 
negatively affect deployments -- *for example*, in larger AD 
environments; but this was just my opinion about mostly-windows-based 
environments. There are other people around that could list most 
critical points for some other tasks/environments; backing up Exchange 
is a great example of resent task/environment-focused development.

  undocumented /S option, which if it exists must be some NSIS 
installer supported option
Yes it's a NSIS option (some say that it is case sensitive) and I tried 
it and it worked for upgrade (not overwriting the existing 
bacula-fd.conf, that was very nice of it).

Regards,

Alex Ehrlich

On 03.02.2010 15:38, Kern Sibbald wrote:


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bat 3.0.3 - no files in version browser for Catalog backup

2010-01-22 Thread Alex Ehrlich

Hello,

Using Bacula 3.0.3 on Linux. If I choose any standard Catalog backup 
in the Version Browser then no directories and no files are shown 
(nothing to choose to restore from). The same is in v 2.4.1.
However, if I list files on a Catalog job it shows 
/var/lib/bacula/bacula.sql (or whatever is appropriate for a given 
Linux distro) as expected.


Is it a bug in BAT or am I missing something?

Regards,

Alex Ehrlich
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Failed jobs hang as running in director status

2010-01-20 Thread Alex Ehrlich

Hello,

I have got the following problem (probably since upgrading to v 3): the 
failed jobs tend to hang in the running state from the director's 
point of view. This causes other jobs to stall (with ... is waiting for 
higher priority jobs to finish or waiting for maximum concurrent).
In configs, Rerun Failed Levels = yes, but no Reschedule set in job 
defaults.
Restarting bacula-dir resolves the problem (no more pseudo-running jobs 
in status dir).


In the status client and status dir output below, look at the job 9219.

Does anybody have an idea what's wrong?

--
*status client=danillap-fd
Connecting to Client danillap-fd at lap-danil:9102

lap-danil-fd Version: 3.0.2 (18 July 2009)  VSS Linux Cross-compile Win32
Daemon started 19-Jan-10 11:04, 5 Jobs run since started.
 Heap: heap=0 smbytes=174,774 max_bytes=275,357 bufs=89 max_bufs=277
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1

Running Jobs:
Director connected at: 20-Jan-10 12:17
No Jobs running.


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName
==
...
  9219  Incr  329.99 M  Error20-Jan-10 10:46 
danillap_outlook



*status dir
backupsrv-dir Version: 3.0.3 (18 October 2009) i686-redhat-linux-gnu redhat
Daemon started 19-Jan-10 08:58, 38 Jobs run since started.
 Heap: heap=8,122,368 smbytes=196,142 max_bytes=350,199 bufs=1,314 
max_bufs=2,527

...

Running Jobs:
Console connected at 20-Jan-10 12:12
 JobId Level   Name   Status
==
  9219 Increme  danillap_outlook.2010-01-20_10.45.00_57 is running
...

--

Regards,

Alex Ehrlich
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  1   2   >