[Bacula-users] Post starting bacula-dir does not succeed error on line 29

2013-08-16 Thread Benny_pixelweb
hi,

when i tried to start bacula-dir i always get the folowing error:
Executing /etc/rc.d/init.d/bacula-dir start ..

Starting bacula-dir: 16-Aug 08:27 bacula-dir: ERROR TERMINATION at 
parse_conf.c:478
Config error: Could not find config Resource bacula-fd referenced on line 29 : 
client=bacula-fd


: line 29, col 18 of file /etc/bacula/bacula-dir.conf
client=bacula-fd

[FAILED]

Annyone who could help with a solution for this?

Benny

+--
|This was sent by be...@pixelweb.be via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] LIP reset occurred (0), device removed.

2013-08-16 Thread Iban Cabrillo
Dear,
  From time to now, I can use the LTO5 drive.
  We are using a debian  bacula installation:

  @bacula:~# dpkg -l | grep bacula
ii  bacula  5.2.6+dfsg-9  all
network backup service - metapackage
ii  bacula-client 5.2.6+dfsg-9all
network backup service - client metapackage
ii  bacula-common5.2.6+dfsg-9amd64network
backup service - common support files
ii  bacula-common-mysql  5.2.6+dfsg-9 amd64network backup
service - MySQL common files
ii  bacula-console 5.2.6+dfsg-9 amd64network backup
service - text console
ii  bacula-console-qt
5.2.6+dfsg-9   amd64network backup service -
Bacula Administration Tool
ii  bacula-director-common
5.2.6+dfsg-9   amd64network backup service -
Director common files
ii  bacula-director-mysql
5.2.6+dfsg-9   amd64network backup service -
MySQL storage for Director
ii  bacula-fd
5.2.6+dfsg-9   amd64network backup service -
file daemon
ii  bacula-sd
5.2.6+dfsg-9   amd64network backup service -
storage daemon
ii  bacula-sd-mysql
5.2.6+dfsg-9   amd64network backup service -
MySQL SD tools
ii  bacula-server
5.2.6+dfsg-9   all  network backup service -
server metapackage
ii  bacula-traymonitor
5.2.6+dfsg-9   amd64network backup service -
tray monitor

The Robot storage systems is formed by 2 tapes (LT03 FC connection 2Gbps
and LT05 8Gbps FC connection) and and autochanger.:

root@bacula:~# lsscsi

[1:0:0:0]tapeIBM  ULT3580-TD3  93GP  /dev/st0
[4:0:0:0]tapeIBM  ULT3580-TD5  C7RC  /dev/st1
[4:0:0:1]mediumx IBM  03584L32 B570  /dev/sch0

Is has been working fine from several months but now every time i try to
access to LT05 a FC lip reset happens, this is not immediately (the tapes
begins to write data, I have used spool data and no spool data with the
same result), but after a few minutes :

  Aug 16 11:40:57 bacula kernel: [168140.448017]  rport-4:0-0: blocked FC
remote port time out: removing target and saving binding
Aug 16 11:40:57 bacula kernel: [168140.660577] st1: Error 1 (driver bt
0x0, host bt 0x1).
Aug 16 11:40:57 bacula kernel: [168140.660624] st1: Error 1 (driver bt
0x0, host bt 0x1).
Aug 16 11:40:57 bacula kernel: [168140.660644] st1: Error 1 (driver bt
0x0, host bt 0x1).
Aug 16 11:40:57 bacula kernel: [168140.661988] st1: Error 1 (driver bt
0x0, host bt 0x1).
then the LT05 and autochanger device disappear from my devices and i have
to lip/scan again, but all the jobs that was running or scheduled fail

The LT03 works grate if i do not use the LT05 of course.
 I have changed the FC card ith the same result, check the tape drive using
the mt commands and works fine too

Any one has seen something similar??

Regards,

Bertrand Russell:
*El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Radosław Korzeniewski
Hello,

2013/8/14 Barak Griffis ba...@glitch-cowboy.com

 That's not friendly with unstable/slow links...  Does anyone have any
 other insightful ideas on how to handle this sort of situation?

marketing

You can use Bacula Enterprise which handles this situation as Incomplete
Job which can be restarted.

/marketing

 If I
 can't ever get a full because of unstable links then bacula is useless
 in my particular setup.

some marketing, but technical stuff inside

On Bacula Enterprise your failed Full will be marked as Incomplete and next
Incremental will proceed as usual. If your next Incremental fail it will be
marked as Incomplete and next Incremental will proceed as usual, etc.

/some marketing, but technical stuff inside

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Radosław Korzeniewski
Hello,

2013/8/14 Mark bacula-l...@nerdish.us

 Hi Barak,

  If I can't ever get a full because of unstable links then bacula
  is useless in my particular setup.

 Out of curiosity, what backup product are you currently using that _does_
 cleanly handle loss of communication between the client and the backup
 server, resuming the next backup at exactly there the previous one failed?


This situation is perfectly handled by Bacula Enterprise with Incomplete
Jobs. It require Accurate Job option.


  I don't know how many remote sites you're going to be backing up, but if
 it were me and just a few sites, I'd probably deploy a bacula host in each
 site (you don't need a lot of expensive server horsepower to deploy a
 perfectly functional and reliable bacula server).  If your links are
 unstable enough that it's a problem for backups, then imagine when you need
 to do restores and you're having those same circuit stability issues while
 everyone is frantically asking you, How much longer?!?!.  People don't
 much care if a backup takes 8 hours overnight, but they care *immensely*
 when everything has ground to a halt during a business day and you're
 explaining that the restore will take that same 8+ hours, and may have to
 start over completely because your links are bad.  At restore time, I'd
 much rather be restoring at near wire speed from a local system.


It depend on requirements. Sometimes data is worth more then time to
recover, sometimes in case of disaster you will recover locally, not to the
remote site... etc.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unneeded database index

2013-08-16 Thread Radosław Korzeniewski
Hello,

2013/8/13 azurIt azu...@pobox.sk


 No statement from developers regarding this?

 Wrong list... :) Developers are on bacula-devel, not bacula-users.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Post starting bacula-dir does not succeed error on line 29

2013-08-16 Thread Ana Emília M . Arruda
Hi,

Check if you have defined the client resource named bacula-fd at your
bacula-dir.conf. Maybe you referrenced this client at a job definition and
you didn´t defined this client at your bacula-dir.conf.

Best regards,
Ana


On Fri, Aug 16, 2013 at 3:45 AM, Benny_pixelweb 
bacula-fo...@backupcentral.com wrote:

 hi,

 when i tried to start bacula-dir i always get the folowing error:
 Executing /etc/rc.d/init.d/bacula-dir start ..

 Starting bacula-dir: 16-Aug 08:27 bacula-dir: ERROR TERMINATION at
 parse_conf.c:478
 Config error: Could not find config Resource bacula-fd referenced on line
 29 : client=bacula-fd


 : line 29, col 18 of file /etc/bacula/bacula-dir.conf
 client=bacula-fd

 [FAILED]

 Annyone who could help with a solution for this?

 Benny

 +--
 |This was sent by be...@pixelweb.be via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [bacula] problem with the db

2013-08-16 Thread Radosław Korzeniewski
Hello,

2013/8/5 webmaster webmas...@leworm.fr

 **
 Ok thx, but just for me (for my personal culture)  is it a bug?

 I don't know.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Building directory tree for JobId(s) very slow

2013-08-16 Thread Kern Sibbald
Hello,

For the number of files in your backup, it is clear to me that either
you are running with modified indexes on your catalog (unlikely) or
your MySQL is not properly tuned.  I am not a MySQL expert, but from
what you show below, the memory sizes you are giving it are probably
way too small.  Be careful though tuning a DB requires experience or
at least getting advice, because giving too much memory to some of
the parameters can cause as many or more problems than not giving
enough.

As one user suggested, it would be best to upgrade to a newer
MySQL version, and to use one of the bigger MySQL sample conf
(my.cnf) files.

By the way, here with a machine not much bigger than yours I can
load in 10 Million files in less than a minute (if I remember right).
I'm using a nicely tuned Postgres DB though ...

Regards,
Kern

PS: If you do decide to switch to Postgres, which I am not sure I would
recommend until you try a my.cnf more suited to your needs, I recommend
at least version 8.4, but *far* better 9.0 or 9.1.

On 08/14/2013 07:31 PM, Simone Martina wrote:
 Hi at all,
 recently I got troubles with the Bacula's DB (mysql 5.0.77). Trying to
 restore a file from a very huge backup (500GB and 846532 files) the
 InnoDB occupies one core for many hours before to let me select the
 target files.

 During these days I've builded index for File, Filename and Path, as
 described here:
 http://www.bacula.org/en/dev-manual/main/main/Catalog_Maintenance.html#SECTION004292000

 Now I got this:

 mysql show index from Filename;
 +--++--+--+-+---+-+--++--++-+
 | Table| Non_unique | Key_name | Seq_in_index | Column_name |
 Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 +--++--+--+-+---+-+--++--++-+
 | Filename |  0 | PRIMARY  |1 | FilenameId  | A
  | 1560215 | NULL | NULL   |  | BTREE  | |
 | Filename |  1 | Name |1 | Name| A
  | 1560215 |  255 | NULL   |  | BTREE  | |
 +--++--+--+-+---+-+--++--++-+
 2 rows in set (0.00 sec)

 mysql show index from Path;
 +---++--+--+-+---+-+--++--++-+
 | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
 | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 +---++--+--+-+---+-+--++--++-+
 | Path  |  0 | PRIMARY  |1 | PathId  | A
   |  194046 | NULL | NULL   |  | BTREE  | |
 | Path  |  1 | Path |1 | Path| A
   |  194046 |  255 | NULL   |  | BTREE  | |
 +---++--+--+-+---+-+--++--++-+
 2 rows in set (0.00 sec)

 mysql show index from File;
 +---+++--+-+---+-+--++--++-+
 | Table | Non_unique | Key_name   | Seq_in_index | Column_name |
 Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 +---+++--+-+---+-+--++--++-+
 | File  |  0 | PRIMARY|1 | FileId  | A
 |39079621 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId  |1 | JobId   | A
 |  18 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2|1 | JobId   | A
 |  18 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2|2 | PathId  | A
 | 2605308 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2|3 | FilenameId  | A
 |39079621 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | idxPIchk   |1 | PathId  | A
 |  167006 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | file_jobid_idx |1 | JobId   | A
 |  18 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | file_jpf_idx   |1 | JobId   | A
 |  18 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | 

Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Kern Sibbald
Hello,

I see you have received a number of suggestions, but another one
that might improve things if the hangups are due to Windows machines
or switches is to use the Bacula heartbeat feature.  This will not prevent
a hang up due to a real comm line failure, but it will prevent most
causes of hang ups, which are switch/Windows timeouts.

Regards,
Kern

On 08/14/2013 03:37 PM, Barak Griffis wrote:
 Feel free to direct me to a URL, since this seems like an obvious newb
 question, but I don't see an obvious search result on the webs.

 If a job gets interrupted (say network drops out midway through a
 full).  What happens the next time?  does it pick up where it left off
 or does it start over?

 Barak




--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Josh Fisher
On 8/16/2013 9:07 AM, Kern Sibbald wrote:
 Hello,

 I see you have received a number of suggestions, but another one
 that might improve things if the hangups are due to Windows machines
 or switches is to use the Bacula heartbeat feature.  This will not prevent
 a hang up due to a real comm line failure, but it will prevent most
 causes of hang ups, which are switch/Windows timeouts.

 Regards,
 Kern

Also, while Bacula properly handles Windows power management, the PM 
state Bacula, or any daemon, can set using the Windows API 
(SetThreadExecutionState()), is overridden by the user manually entering 
sleep mode. And from what I've seen, the user closing the lid of a 
laptop constitutes manually entering sleep mode. Then there are users 
who physically remove their laptop from the building. And of course 
there is the very rare real comm link failure.

Bottom line is that as the World moves to more portable workstations 
there just isn't much of a way to guarantee a successful full backup at 
every attempt. So I have learned to live with daily failed jobs, even 
failed incremental jobs. ( Some way to get a warning notification after 
N failures would be welcome.) The best method for handling these 
clients, IMHO, is Bacula's virtual full backups. I have a user with a 
nearly year old Macbook that has never had a successful full backup, 
other than the initial one I made before I let him get his hands on it. 
But it has had incrementals most days and many virtual fulls. I feel 
confident that I could restore every valuable file from that laptop, 
though it regularly has failed jobs.


 On 08/14/2013 03:37 PM, Barak Griffis wrote:
 Feel free to direct me to a URL, since this seems like an obvious newb
 question, but I don't see an obvious search result on the webs.

 If a job gets interrupted (say network drops out midway through a
 full).  What happens the next time?  does it pick up where it left off
 or does it start over?

 Barak



 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Barak Griffis
Thank you all for your insight and responses.  Virtual Full sounds very 
interesting.  I have some reading to do!

Barak

On 2013-08-16 09:13, Josh Fisher wrote:
 On 8/16/2013 9:07 AM, Kern Sibbald wrote:
 Hello,
 
 I see you have received a number of suggestions, but another one
 that might improve things if the hangups are due to Windows machines
 or switches is to use the Bacula heartbeat feature.  This will not 
 prevent
 a hang up due to a real comm line failure, but it will prevent most
 causes of hang ups, which are switch/Windows timeouts.
 
 Regards,
 Kern
 
 Also, while Bacula properly handles Windows power management, the PM
 state Bacula, or any daemon, can set using the Windows API
 (SetThreadExecutionState()), is overridden by the user manually
 entering sleep mode. And from what I've seen, the user closing the lid
 of a laptop constitutes manually entering sleep mode. Then there are
 users who physically remove their laptop from the building. And of
 course there is the very rare real comm link failure.
 
 Bottom line is that as the World moves to more portable workstations
 there just isn't much of a way to guarantee a successful full backup
 at every attempt. So I have learned to live with daily failed jobs,
 even failed incremental jobs. ( Some way to get a warning notification
 after N failures would be welcome.) The best method for handling these
 clients, IMHO, is Bacula's virtual full backups. I have a user with a
 nearly year old Macbook that has never had a successful full backup,
 other than the initial one I made before I let him get his hands on
 it. But it has had incrementals most days and many virtual fulls. I
 feel confident that I could restore every valuable file from that
 laptop, though it regularly has failed jobs.
 
 
 On 08/14/2013 03:37 PM, Barak Griffis wrote:
 Feel free to direct me to a URL, since this seems like an obvious 
 newb
 question, but I don't see an obvious search result on the webs.
 
 If a job gets interrupted (say network drops out midway through a
 full).  What happens the next time?  does it pick up where it left 
 off
 or does it start over?
 
 Barak
 
 
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Kern Sibbald
Hello Josh,

Yes, I am aware of the SetThreadExecutionState() API, the problem is that
it at the last time I looked it was not in the mingw code which we use 
for compiling
Windows.  I'll take another look, maybe a newer mingw version includes 
it.  Many times
when mingw does not have the code, I add it myself, but I've been a bit 
too busy
to spend time on that feature.  The source code is ready, but the API call
is commented out.

I have the same problem with Encrypted Windows filesystems, but that
has a much higher priority, and I have most of the code already written, so
it should be available before too long.

On using Virtual Fulls: yes, they are very useful.  Tip: don't use them 
without
using Accurate mode on your Incrementals.  You can even use accurate mode
occasionally rather than all the time.  The point is that is the only 
way to be 100%
sure that new files in the FileSet that have old dates/times are backed 
up and that deleted
files actually go away and don't remain in your backup forever.

Best regards,
Kern

On 08/16/2013 04:13 PM, Josh Fisher wrote:
 On 8/16/2013 9:07 AM, Kern Sibbald wrote:
 Hello,

 I see you have received a number of suggestions, but another one
 that might improve things if the hangups are due to Windows machines
 or switches is to use the Bacula heartbeat feature.  This will not 
 prevent
 a hang up due to a real comm line failure, but it will prevent most
 causes of hang ups, which are switch/Windows timeouts.

 Regards,
 Kern

 Also, while Bacula properly handles Windows power management, the PM 
 state Bacula, or any daemon, can set using the Windows API 
 (SetThreadExecutionState()), is overridden by the user manually 
 entering sleep mode. And from what I've seen, the user closing the lid 
 of a laptop constitutes manually entering sleep mode. Then there are 
 users who physically remove their laptop from the building. And of 
 course there is the very rare real comm link failure.

 Bottom line is that as the World moves to more portable workstations 
 there just isn't much of a way to guarantee a successful full backup 
 at every attempt. So I have learned to live with daily failed jobs, 
 even failed incremental jobs. ( Some way to get a warning notification 
 after N failures would be welcome.) The best method for handling these 
 clients, IMHO, is Bacula's virtual full backups. I have a user with a 
 nearly year old Macbook that has never had a successful full backup, 
 other than the initial one I made before I let him get his hands on 
 it. But it has had incrementals most days and many virtual fulls. I 
 feel confident that I could restore every valuable file from that 
 laptop, though it regularly has failed jobs.


 On 08/14/2013 03:37 PM, Barak Griffis wrote:
 Feel free to direct me to a URL, since this seems like an obvious newb
 question, but I don't see an obvious search result on the webs.

 If a job gets interrupted (say network drops out midway through a
 full).  What happens the next time?  does it pick up where it left off
 or does it start over?

 Barak



 --
  

 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk 

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



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] spool size

2013-08-16 Thread Kern Sibbald

Try turning on heartbeat.  Reducing the spool size probably won't
help.

If you still have problems please contact Bacula Systems :-)

Kern

On 08/08/2013 05:07 PM, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote:


I have two LTO5 tape drives. In the bacula-sd.conf file I have the 
spool size set-up as follows for both drives:


Maximum File Size = 10G

  Maximum Network Buffer Size = 65536

  Maximum Block Size = 262144

*maximum spool size = 900 G*

 spool directory = /tower4/bacula_spool

I am having trouble backing up one server. I get network error while 
despoiling 900GB of spooled data. I want to reduce the spool size 
*_only_* for backing up this client to 500G. How do I manually run the 
backup of this client and specify the max spool size=500G? Please note 
that I don't want to change the spool size for all the jobs or  clients.


Thank you.

Uthra



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk


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


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows Server 2012 with built-in deduplication

2013-08-16 Thread Kern Sibbald

Hello,

This sounds like an interesting problem, and yet another incompatibility or
complication thrown in by Microsoft.  I am aware of their new deduplication
feature (the press seems pretty unenthusiastic about it), but if it requires
changes to backup programs, Bacula including the Bacula Enterprise one
for sale will be totally ignorant of these changes, so please don't 
spend your

money for nothing (though it is a very small price).

Can you explain to me why the size of the files are listed as 0 bytes?  Any
reasonable underlying OS deduplication system should be totally transparent
to application programs or service programs such as Bacula, so I don't see
why the sizes would be zero.  It sounds like Microsoft requires the 
application
to do something special to have the files rehydrated -- if so, it is one 
of their

worst farces since Vista.

Best regards,
Kern



On 08/05/2013 10:20 AM, Bojan Zdrnja (SANS ISC) wrote:

Hi,

I just installed Bacula server on a Linux box and I'm testing various 
clients.


I have a Windows Server 2012 machine which has deduplication enabled 
(https://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-to-data-deduplication-in-windows-server-2012.aspx?Redirected=true). 
This is a new feature in Windows Server 2012 which does chunk based 
deduplication.

It saves quite a bit of disk space.

I installed the latest free Bacula client for Windows (5.2.10, 64-bit).

The problem is that the backups are incomplete. The client goes over 
all files, but most of files are 0 bytes on the server. When trying to 
restore them, I get a 0 byte file as well.
This can be seen from the backup's report as well - it says 1 GB total 
while the total amount of files is about 50 GB.


Does anyone know if the latest version of the client (6.0.6) works OK 
with Windows Server 2012 that has deduplication turned on? I don't 
mind buying it, of course, but would like to know that it works ok :)
Or if there is a setting that might help with the free version. When I 
disable VSS I get the same results as when it is enabled.


Thanks,

Bojan


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk


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


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] spool size

2013-08-16 Thread Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
I have Heartbeat interval set to 120 on the server and client.

When I tried to do a full backup of this client it seems to be running fine and 
after backing up 2.6TB it  failed with the following error:

15-Aug 02:14 ldy-sd JobId 7336: Writing spooled data to Volume. Despooling 
536,871,105,512 bytes ...
15-Aug 02:30 mabo-fd JobId 7336: Fatal error: backup.c:892 Network send error 
to SD. ERR=Broken pipe 15-Aug 02:30 mabo-fd JobId 7336: Error: bsock.c:306 
Write error sending 65536 bytes to Storage daemon:ldy.gsfc.nasa.gov:9103: 
ERR=Broken pipe 15-Aug 02:30 ldy-sd JobId 7336: Fatal error: spool.c:301 Fatal 
append error on device Drive-1 (/dev/nst0): ERR=dev.c:513 Unable to open 
device Drive-1 (/dev/nst0): ERR=No medium found

All the other backups are running fine I don't understand why it is saying 
unable to open device after backing up 2.6TB. I would really appreciate any 
ideas.

Thank you.
Uthra


From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Friday, August 16, 2013 11:17 AM
To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] spool size

Try turning on heartbeat.  Reducing the spool size probably won't
help.

If you still have problems please contact Bacula Systems :-)

Kern

On 08/08/2013 05:07 PM, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote:
I have two LTO5 tape drives. In the bacula-sd.conf file I have the spool size 
set-up as follows for both drives:

Maximum File Size = 10G
  Maximum Network Buffer Size = 65536
  Maximum Block Size = 262144
  maximum spool size = 900 G
 spool directory = /tower4/bacula_spool

I am having trouble backing up one server. I get network error while despoiling 
900GB of spooled data. I want to reduce the spool size only for backing up this 
client to 500G. How do I manually run the backup of this client and specify the 
max spool size=500G? Please note that I don't want to change the spool size for 
all the jobs or  clients.

Thank you.
Uthra






--

Get 100% visibility into Java/.NET code with AppDynamics Lite!

It's a free troubleshooting tool designed for production.

Get down to code-level detail for bottlenecks, with 2% overhead.

Download for free and get started troubleshooting in minutes.

http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk




___

Bacula-users mailing list

Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.net

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

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] spool size

2013-08-16 Thread compdoc
 All the other backups are running fine I don't understand why it is saying
unable to open device after backing up 2.6TB. I would really appreciate any
ideas.

 

Back when I began building computers, problem with the motherboards,
chipset, or ram weren't always apparent. One thing I discovered was that
copying a very large amount of files over the network to the machine being
tested was an excellent way to know if there were any hardware problems. 

 

You might do a simple test of your own - copy a couple of terabytes worth of
files by hand to the pc you're using as backup storage. It should copy
flawlessly.

 

 

 

 

 

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does bacula handled interrupted jobs?

2013-08-16 Thread Barak Griffis
So if I correctly understand you, you're having a Virtual Full that's 
essentially empty and then you take incrementals from that point on?  Or 
are you creating virtual fulls from various incrementals and then going 
from there?

Barak

On 2013-08-16 09:13, Josh Fisher wrote:
 On 8/16/2013 9:07 AM, Kern Sibbald wrote:
 Hello,
 
 I see you have received a number of suggestions, but another one
 that might improve things if the hangups are due to Windows machines
 or switches is to use the Bacula heartbeat feature.  This will not 
 prevent
 a hang up due to a real comm line failure, but it will prevent most
 causes of hang ups, which are switch/Windows timeouts.
 
 Regards,
 Kern
 
 Also, while Bacula properly handles Windows power management, the PM
 state Bacula, or any daemon, can set using the Windows API
 (SetThreadExecutionState()), is overridden by the user manually
 entering sleep mode. And from what I've seen, the user closing the lid
 of a laptop constitutes manually entering sleep mode. Then there are
 users who physically remove their laptop from the building. And of
 course there is the very rare real comm link failure.
 
 Bottom line is that as the World moves to more portable workstations
 there just isn't much of a way to guarantee a successful full backup
 at every attempt. So I have learned to live with daily failed jobs,
 even failed incremental jobs. ( Some way to get a warning notification
 after N failures would be welcome.) The best method for handling these
 clients, IMHO, is Bacula's virtual full backups. I have a user with a
 nearly year old Macbook that has never had a successful full backup,
 other than the initial one I made before I let him get his hands on
 it. But it has had incrementals most days and many virtual fulls. I
 feel confident that I could restore every valuable file from that
 laptop, though it regularly has failed jobs.
 
 
 On 08/14/2013 03:37 PM, Barak Griffis wrote:
 Feel free to direct me to a URL, since this seems like an obvious 
 newb
 question, but I don't see an obvious search result on the webs.
 
 If a job gets interrupted (say network drops out midway through a
 full).  What happens the next time?  does it pick up where it left 
 off
 or does it start over?
 
 Barak
 
 
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows Server 2012 with built-in deduplication

2013-08-16 Thread shouldbe q931
On Mon, Aug 5, 2013 at 9:20 AM, Bojan Zdrnja (SANS ISC)
bojan@gmail.com wrote:
 Hi,

 I just installed Bacula server on a Linux box and I'm testing various
 clients.

 I have a Windows Server 2012 machine which has deduplication enabled
 (https://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-to-data-deduplication-in-windows-server-2012.aspx?Redirected=true).
 This is a new feature in Windows Server 2012 which does chunk based
 deduplication.
 It saves quite a bit of disk space.

 I installed the latest free Bacula client for Windows (5.2.10, 64-bit).

 The problem is that the backups are incomplete. The client goes over all
 files, but most of files are 0 bytes on the server. When trying to restore
 them, I get a 0 byte file as well.
 This can be seen from the backup's report as well - it says 1 GB total while
 the total amount of files is about 50 GB.

 Does anyone know if the latest version of the client (6.0.6) works OK with
 Windows Server 2012 that has deduplication turned on? I don't mind buying
 it, of course, but would like to know that it works ok :)
 Or if there is a setting that might help with the free version. When I
 disable VSS I get the same results as when it is enabled.

 Thanks,

 Bojan


I usually see no less than 4k as the size on disk for deduped files,
I would suggest testing that you can open the 0k files from the server
before they are backed up, this might have nothing to do with Bacula.

Cheers

Arne

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows Server 2012 with built-in deduplication

2013-08-16 Thread Bojan Zdrnja (SANS ISC)
Hi Kern,


On Fri, Aug 16, 2013 at 5:40 PM, Kern Sibbald k...@sibbald.com wrote:

  Hello,

 This sounds like an interesting problem, and yet another incompatibility or
 complication thrown in by Microsoft.  I am aware of their new deduplication
 feature (the press seems pretty unenthusiastic about it), but if it
 requires
 changes to backup programs, Bacula including the Bacula Enterprise one
 for sale will be totally ignorant of these changes, so please don't spend
 your
 money for nothing (though it is a very small price).

 Can you explain to me why the size of the files are listed as 0 bytes?  Any
 reasonable underlying OS deduplication system should be totally transparent
 to application programs or service programs such as Bacula, so I don't see
 why the sizes would be zero.  It sounds like Microsoft requires the
 application
 to do something special to have the files rehydrated -- if so, it is one
 of their
 worst farces since Vista.


So, an update for everyone.
This is definitely caused by deduplication. I have two Windows 2012 servers
in a DFS cluster and deduplication was turned on on both of them.
Couple of days after I posted this, on one of the servers I turned off
deduplication (since it really has enough disk and I don't actually need
deduplication there).

After turning off deduplication nothing really happens initially on the
server (the old files are still deduplicated) so I had to run a job to do
that:

Start-DedupJob -Verbose -Type Unoptimization -Volume D:

After couple of hours the system deduplicates all files.

I started Bacula again and the backup worked flawlessly. So my conclusion
is that it definitely doesn't support deduplication in Windows 2012.
I read some articles about it and I would say that you definitely need to
do something special with the files, besides VSS.
I presume that the current Bacula client on Windows does not do it -- and
from some reading it appears that other backup solutions (commercial
products) have similar issues.

At the moment I'm running backup from one DFS node which has the files
deduplicated and everything works ok. The other node is not backed up.

Cheers,

Bojan
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows Server 2012 with built-in deduplication

2013-08-16 Thread Bojan Zdrnja (SANS ISC)
Hi Arne,


On Fri, Aug 16, 2013 at 9:06 PM, shouldbe q931 shouldbeq...@gmail.comwrote:

 On Mon, Aug 5, 2013 at 9:20 AM, Bojan Zdrnja (SANS ISC)
 bojan@gmail.com wrote:
  Hi,
 
  I just installed Bacula server on a Linux box and I'm testing various
  clients.
 
  I have a Windows Server 2012 machine which has deduplication enabled
  (
 https://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-to-data-deduplication-in-windows-server-2012.aspx?Redirected=true
 ).
  This is a new feature in Windows Server 2012 which does chunk based
  deduplication.
  It saves quite a bit of disk space.
 
  I installed the latest free Bacula client for Windows (5.2.10, 64-bit).
 
  The problem is that the backups are incomplete. The client goes over all
  files, but most of files are 0 bytes on the server. When trying to
 restore
  them, I get a 0 byte file as well.
  This can be seen from the backup's report as well - it says 1 GB total
 while
  the total amount of files is about 50 GB.
 
  Does anyone know if the latest version of the client (6.0.6) works OK
 with
  Windows Server 2012 that has deduplication turned on? I don't mind buying
  it, of course, but would like to know that it works ok :)
  Or if there is a setting that might help with the free version. When I
  disable VSS I get the same results as when it is enabled.
 
  Thanks,
 
  Bojan
 

 I usually see no less than 4k as the size on disk for deduped files,
 I would suggest testing that you can open the 0k files from the server
 before they are backed up, this might have nothing to do with Bacula.


It is definitely deduplication -- see my other post. After I turned off
deduplication and performed a deduplication job backups started working
flawlessly.

Cheers,

Bojan
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] exclude day from schedule

2013-08-16 Thread Kern Sibbald

On 08/02/2013 09:12 AM, Süleyman Kuran wrote:

Hi,

I read the docs but couldn't find any info. 


Is it possible to exclude from schedule? 

Yes, but you have to invert your normal way of thinking and simply
include only the days/months/... that you want.

By the way, I think some other people have mentioned it, but the
schedule listed below is going to create a few ugly surprises for you
by running several Full jobs at the same time.  I suggest you start
over and rethink things, perhaps taking a calendar and marking
F/I in days as you add Run lines. If adding a new line creates tries
to add a second backup over one that you have, you are in trouble.




My schedule is as follows:

Schedule {
  Name = MultipleRUN
  Run = Level=Full Pool=Daily mon-sun at 3:17
  Run = Level=Full Pool=Weekly sun at 9:05
  Run = Level=Incremental Pool=Weekly mon-sat at 19:05
  Run = Level=Full Pool=Monthly 1st sat at 2:05
  Run = Level=Full Pool=Offsite 1st fri at 2:05
}

What I'm trying to do is to prevent Daily full backup from running 
when thereis a Monthly full backup is scheduled for the same day.



Is the following possible?

Run = Level=Full Pool=Daily mon-sun at 3:17 *not 1 st sat*

Thanksfor your time.






--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk


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


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Post starting bacula-dir does not succeed error on line 29

2013-08-16 Thread Benny_pixelweb
hi Ana,

i think the client is defined but its the first time i tried to set up bacula. 

but this is what i have in Jobdefs on the line that the error reply:

client=bacula-fd

so anny sugestions what could be wrong with this.

Maybe you get a better vieuw at this printscreen?
 (http://postimg.org/image/osu65xw71/)


best regards and thanx for the help.

Bennyundefined[/img]

+--
|This was sent by be...@pixelweb.be via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Post starting bacula-dir does not succeed error on line 29

2013-08-16 Thread Ana Emília M . Arruda
Hi Benny,

Can you post here your bacula-dir.conf? In your bacula-dir.conf there must
bem a client resource definition. It is differente from the definition in
the bacula-fd.conf. If you have a client1 defined, with a bacula-fd.conf in
some host, you have to have a section in your bacula-dir.conf with the
client1 definitions.

Best regards. Your´re welcome.
Ana


On Fri, Aug 16, 2013 at 6:01 PM, Benny_pixelweb 
bacula-fo...@backupcentral.com wrote:

 hi Ana,

 i think the client is defined but its the first time i tried to set up
 bacula.

 but this is what i have in Jobdefs on the line that the error reply:

 client=bacula-fd

 so anny sugestions what could be wrong with this.

 Maybe you get a better vieuw at this printscreen?
  (http://postimg.org/image/osu65xw71/)


 best regards and thanx for the help.

 Bennyundefined[/img]

 +--
 |This was sent by be...@pixelweb.be via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem Bacula windows binarys

2013-08-16 Thread Kern Sibbald

Hello,

The Bacula Enterprise Demo binaries are not meant for production
use and they only work as a part of the demo, which means that they
are not compatible with any Bacula component whether it be a community
version or an Enterprise version.

Kern

On 07/31/2013 11:53 AM, Felix Geschwindner wrote:


Hey Guys,

I'm close to getting nuts on my bacula deployment. Hopefully someone 
of you can pull me out of it!


Bacula Version: 5.2.6

Our environment consists of 3 Linux Servers that are backed up on a 
nightly basis. Server1 and Server2 copy their files via FD to Server3 
which runs the DIR and SD. Server3 is copying those files to USB. This 
all works great!


Now to the Problem:

A Windows fileserver has to be integrated into the mentioned backup 
structure:


I installed the windows binarys Demo v6.4.2 onto the Windows Server 
2008R2 (x64) and configured the conf files as seen on the bottom of 
the mail.


Now, the connection fails in any direction with a challenge response 
error:


-Console - Director

-Director - FileDeamon

*/Connecting to Director backup02:9101/*

*/bconsole: lib/bsock.c:239-0 Current host[ipv4:192.168.1.14:9101] All 
host[ipv4:192.168.1.14:9101]/*


*/bconsole: lib/bsock.c:160-0 who=Director daemon host=backup02 
port=9101/*


*/bconsole: lib/cram-md5.c:139-0 cram-get received: auth cram-md5 
784047324.1375263008@backup02-dir ssl=0/*


*/bconsole: lib/cram-md5.c:161-0 sending resp to challenge: 
x79iAx+X41Nduw+5ex+ZqC/*


*/bconsole: lib/cram-md5.c:170-0 Received bad response: 1999 
Authorization failed./*


*//*

*/Director authorization problem./*

*/Most likely the passwords do not agree./*

*/If you are using TLS, there may have been a certificate validation 
error during the TLS handshake./*


*/Please see 
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0026 
for help./*


I know that this is propably related to a password mismatch ... and 
that's what I've been trying to resolve for the past 3 hours:


-I copy/pasted the PW

-I used PWs with and without special characters

-I used simple PWs as 123456

-I used blank PWs

-I used DNS names to connect to the Server/Client

-I used IPs to connect to the Server/Client

-I tried only small/capital letters in hostnames

The weird part here is when I copy the bconsole.conf from the windows 
client to the linux client (respectively it's content) then the 
console can connect without any problems ... same with the FD ... 
works perfectly on the directors local system


Both Servers are listening on the correct ports ... the daemons are 
not bound to specific addresses and NO firewall is between or  on the 
client or server.


As  a last resort I installed a new Linux machine and stripped down 
the conf files to the very minimum requirements ... you can see them 
at the bottom of the mail (I left out the schedule and FileSet/Job 
Parts as they are unnecessary for the connection).


So what am I missing? Is there any problem with the Windows binarys 
like the client is sending a different PW than the one set in the conf 
files? The readme states that the conf files need to be UTF8 
formatted. I explicitly saved those as copys in UTF8 and used them for 
console/FD ... in vain as it turns out. First I thought that the error 
is DNS related but it doesn't work with IP addresses either.


Greetings,

Felix

*bacula-fd.conf (Windows Client)*

Director {

  Name = backup02-dir

  Password = 1234

}

Director {

  Name = backup02-mon

  Password = 4321

  Monitor = yes

}

FileDaemon {

  Name = file02-fd

  WorkingDirectory = C:\\Program Files\\Bacula\\working

  Pid Directory = C:\\Program Files\\Bacula\\working

  Plugin Directory = C:\\Program Files\\Bacula\\plugins

}

Messages {

  Name = Standard

  director = backup02-dir = all, !skipped, !restored

}

*bconsole.conf (Windows client)*

Director {

  Name = backup02-dir

  address = backup02

  Password = 123456

}

*bacula-fd.conf (Linux client)*

Director {

  Name = backup02-dir

  Password = 12345

}

Director {

  Name = backup02-mon

  Password = 4321

  Monitor = yes

}

FileDaemon {

  Name = backup02-fd

  WorkingDirectory = /var/lib/bacula

  Pid Directory = /var/run/bacula

  Maximum Concurrent Jobs = 20

}

Messages {

  Name = Standard

  Director = backup02-dir = all, !skipped, !restored

}

*bconsole.conf (Linux client)*

Director {

  Name = backup02-dir

  address = backup02

  Password = 1234

}

*bacula-dir.conf*

Director {

  Name = backup02-dir

  QueryFile = /etc/bacula/scripts/query.sql

  WorkingDirectory = /var/lib/bacula

  PidDirectory = /var/run/bacula

  Password = 123456

  Maximum Concurrent Jobs = 10

}

Client {

  Name = file02-fd

  Address = file02

  Catalog = FILE02

  Password = 1234

}

Client {

  Name = backup02-fd

  Address = backup02

  Catalog = BACKUP02

  Password = 12345

  File Retention = 60d

  Job Retention = 1y

  AutoPrune = yes

}

Catalog {

  Name = FILE02

  dbname = bacula; user