[Bacula-users] Bacula Job stuck after one successful job

2010-03-05 Thread haridas n
hi all,


We are facing a serious problem while install a fresh version of bacula
3.0.3 .The installation has no problem but after that when running the jobs
, the first job went correctly after that all other jobs that we run shows
the message *waiting for execution *. After restart the bacula daemons we
can run one job correctly but after that every thing like waiting for
execution.

what is the missing thing here is there any installation problem or any
thing related to bacula internal problem, please help he to overcome this
problem .

Thanks ,
Haridas N.

-- 
Have a nice day...
--
Download Intel® 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] Bacula FS

2010-03-05 Thread Arno Lehmann
Hello,

05.03.2010 18:08, Dan Langille wrote:
> Is anyone using this?  Comments? Feedback?

I don't. Looks good, though. I'm pretty sure Eric will like to see 
this (though he prefers perl over python :-) and you might want to 
talk about it to Ted T'so (who once expressed he'd like something like 
this in a blog post).

Thanks for bringing this to our attention!

Arno

> http://code.google.com/p/baculafs/
>  - Exposes the Bacula catalog and storage as a Filesystem in USErspace
> 
> I've heard FUSE mentioned here before.
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Download Intel® 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


[Bacula-users] Windows XP File Daemon - Service Stops With Unknown Error

2010-03-05 Thread Drew Bentley
I can't seem to figure out what's going on because I've never
encountered this issue when backing up a Windows XP client with the
latest version of Bacula.

I have no problems backing up the client but the file daemon
unexpectedly dies randomly, usually before a backup is even scheduled.

The error I'm seeing in the event log goes something like this:

Bacula Error: /home/kern/bacula/k/bacula/src/lib/bsock.c:518
Read error from Director daemon::9101:
ERR=Unknown error

Above that it complains about local computer and registry info or
message DLL files to display messages from a remote computer, use
/AUXSOURCE=flag to retrieve this description, see Help and Support for
more details.

Anyone encounter this? Is this machine missing something? I'm not a
Windows guy, more of a Unix guy. Everything seems to work okay when I
restart the FD service and backups run without issues. I have backups
kick off at like 7pm and it always seems to die before 3 or 4pm. No
one really remotes into this machine, it's a Quickbooks machine and
only shares out the Intuit QB stuff to the HR persons machine.

Any other info I can provide if necessary. I couldn't seem to locate
this type of issue in the mailing list archives.

-Drew

--
Download Intel® 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


[Bacula-users] Fwd: [bacula 0001523]: Wrong freetype2 reference

2010-03-05 Thread Scott Barninger
Hello all,

This is a minor bug in the 5.0.0 and 5.0.1 bat rpm packages which will be 
fixed in the next release. It is safe to install using --nodeps until fixed.
--- Begin Message ---

The following issue has been ASSIGNED. 
== 
http://bugs.bacula.org/view.php?id=1523 
== 
Reported By:neteler
Assigned To:barninger
== 
Project:bacula
Issue ID:   1523
Category:   bat
Reproducibility:always
Severity:   minor
Priority:   normal
Status: assigned
== 
Date Submitted: 2010-03-05 08:50 UTC
Last Modified:  2010-03-05 16:32 UTC
== 
Summary:Wrong freetype2 reference
Description: 
Using self-compiled RPM from SRPM taken from bacula.org Web site.
It compiles successfully but refuses to install:

[r...@fep x86_64]# rpm -Uhv bacula-bat-5.0.1-1.x86_64.rpm
bacula-mysql-5.0.1-1.x86_64.rpm bacula-updatedb-5.0.1-1.x86_64.rpm
bacula-mtx-5.0.1-1.x86_64.rpm
error: Failed dependencies:
freetype2 is needed by bacula-bat-5.0.1-1.x86_64

Indeed, the package is installed but has a different name scheme:
rpm -qa | grep freetype
freetype-2.2.1-21.el5_3.i386
freetype-2.2.1-21.el5_3.x86_64
freetype-devel-2.2.1-21.el5_3.x86_64
freetype-devel-2.2.1-21.el5_3.i386

I assume that a SPEC file tweak is needed.
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2010-03-05 08:50 netelerNew Issue
2010-03-05 16:32 kern   Status   new => assigned 
2010-03-05 16:32 kern   Assigned To   => barninger   
==


--- End Message ---
--
Download Intel® 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] bacula and WORM cartridges

2010-03-05 Thread Martin Simmons
> On Mon, 01 Mar 2010 09:44:42 +0100, Albert Pauw said:
> 
> I am using bacula and a vtl (mhvtl) which actually works very nice.
> 
> Now I am experimenting with the WORM cartridges setting of mhvtl and 
> tried to get bacula to work with it.
> 
> Here is what works:
> 
> - Write data on the cartridge and rewind -> ok
> - Verify the data written -> ok
> - Try to write data again -> error -> that's what it should do
> - Add another set of data behind the data (mt -f /dev/nst0 EOD, and a 
> new tar command) -> ok
> - Verify that both sets can be retrieved -> ok
> 
> So, so far so good.
> 
> When I add this WORM tape to a bacula pool, I had to label it. 
> Unfortunately, I am not able to use the tape
> as bacula rewrites the label again when trying to use it, and gets an 
> error from the drive. Well, that's
> what I think is going wrong. So, is it actually possible to use a WORM 
> cartridge in bacula? And how
> do I do it?

I think Bacula can't work with WORM cartridges at the moment.  The label is
always part of the first tape file, but you have to label a tape before you
can use it.

__Martin

--
Download Intel® 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] Fwd: Bacula GDB traceback of bacula-dir on zanburu.batz.es

2010-03-05 Thread Martin Simmons
> On Mon, 1 Mar 2010 10:26:48 +0100, Koldo Santisteban said:
> 
> Good morning, on friday i have upated my bacula server from 5.00 to 5.01
> (centos 5.4). All was working fine until this weekend that i receive this
> email from my  bacula server. I try to connecto to it and was impossible , i
> have to restart all bacula services. Any idea?? Is the first time that i
> have a similar problem, with bacula 3.0.3 and bacula 5.00 all went
> perfectlyAll weekend jobs have been missing...

It looks like the error happened when Bacula was trying to cancel the job, so
something went wrong before this error.

Did it write any messages to the log file?

__Martin

--
Download Intel® 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] Odd behaviour with Verify Jobs

2010-03-05 Thread Daniel De Marco
I just updated to 5.0.1 and I can confirm the problem is still present.

I also filed the report at:
http://bugs.bacula.org/view.php?id=1524

Daniel.

* Thomas  [03/05/2010 13:13]:
> Hi Daniel,
> 
> 
> i see the same behaviour on my systems,
> this problem exists since the "accurate backup" feature was implemented in 
> 3.0.0.
> (i don't know if this causes the problem, but it is  my favourite candidate 
> for that :) )
> 
> someone should file a bug report :)
> 
> Thomas
> 
> 
> 
> Daniel De Marco schrieb:
> > Hi,
> > 
> > I've been using InitCatalog and Verify jobs to monitor my production
> > machines. This seems to work very well when there are modified files. 
> > However if a new files appears in one of the monitored directories then
> > all the files from then on will be reported at the same time as missing
> > and as new files with the same name/path/attributes...
> > 
> > I debugged this problem a bit and it seems to be due to the fact that
> > when bacula queries the DB for the file attributes one of the where
> > clauses is the FileIndex. If there are added or missing files the
> > FileIndex is no longer correct for all subsequent files and they are all
> > reported as missing and new. I think a possible solution would be to
> > tweak the local FileIndex variable when doing the Verify pass: so if a
> > file is new don't increment the FileIndex and if a file is missing
> > increment it anyway. In this way the proper FileIndex would be used in
> > the query and only "real" problematic files would be reported. 
> > 
> > Daniel.
> > 
> > --
> > Download Intel® 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
> 
> -- 
> [:O]###[O:]
> 
> --
> Download Intel® 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

--
Download Intel® 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


[Bacula-users] Some beginner Bacula questions

2010-03-05 Thread Stuart McGraw
Hello all,

I am new at Bacula and am trying to work out a ]
reasonable scheme for backing up my home network.
I had some questions I hope someone can answer...

1) Sometimes my Bacula server machine is down at
   the scheduled backup time.  No problem, I just
   kick of the backup jobs manually the next morning.
   Is there some way to start all the jobs as though
   the time was last night?  Right now I start each
   of the five client jobs, and the catalog job
   individually.  (I was a little surprised there 
   is not something like a JobSet resource for
   aggregating several jobs into one schedulable
   unit.)
  
2) I write each job to a separate (file) backup volume
   (to be written to DVD later).  Is there any point
   to writing .bsr files?  They are for locating a 
   particular job within a volume that contains multiple
   jobs, yes?

3) Is there any supported way to change the labels of
   existing (file) volumes?  I have changed the label
   format several times and don't want to wait until
   some of the old volumes expire after a year to get
   rid of the volumes with "weird" names.

Thanks for any information/advice.

--
Download Intel® 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] bacula 5.0.1 installation errors

2010-03-05 Thread Brian C. Huffman
Rawhide / F13 source package includes the necessary patch to make 5.0.0
Compile on F12.  Unfortunately there's a qmake requirement change that
breaks if I try to use the 5.0.1 tarball with the 5.0.0 SPEC file.

ftp://download.fedora.redhat.com/pub/fedora/linux/development/rawhide/source/SRPMS/bacula-5.0.0-1.fc13.src.rpm

-b

On Fri, 2010-03-05 at 10:17 -0800, Jerry Lowry wrote:
> That would work but it really is a pain to get all the dependent 
> software working with the old version.  I really don't use ssl for my 
> backups so just turning off the openssl for qt would be fine.
> 
> thanks 
> 
> 
> 
> 
> Hugh Brown wrote:
> > Jerry Lowry wrote:
> >   
> >> Hi, I am trying to install bacula 5.0.1 on a new backup server.  I have
> >> attached the error that I am getting during the make and the config.out.
> >> The server configuration is:
> >>
> >> fedora 12 x86_64
> >> mysql 5.1.42
> >> bacula src 5.0.1
> >> 
> >
> > Perhaps old version of OpenSSL libs?
> >
> > --
> > Hugh Brown, Systems Manager
> > The Centre for High-Throughput Biology
> > hbr...@chibi.ubc.ca
> >   


--
Download Intel® 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] bacula 5.0.1 installation errors

2010-03-05 Thread Jerry Lowry
That would work but it really is a pain to get all the dependent 
software working with the old version.  I really don't use ssl for my 
backups so just turning off the openssl for qt would be fine.

thanks 




Hugh Brown wrote:
> Jerry Lowry wrote:
>   
>> Hi, I am trying to install bacula 5.0.1 on a new backup server.  I have
>> attached the error that I am getting during the make and the config.out.
>> The server configuration is:
>>
>> fedora 12 x86_64
>> mysql 5.1.42
>> bacula src 5.0.1
>> 
>
> Perhaps old version of OpenSSL libs?
>
> --
> Hugh Brown, Systems Manager
> The Centre for High-Throughput Biology
> hbr...@chibi.ubc.ca
>   

--
Download Intel® 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] Odd behaviour with Verify Jobs

2010-03-05 Thread Thomas
Hi Daniel,


i see the same behaviour on my systems,
this problem exists since the "accurate backup" feature was implemented in 
3.0.0.
(i don't know if this causes the problem, but it is  my favourite candidate for 
that :) )

someone should file a bug report :)

Thomas



Daniel De Marco schrieb:
> Hi,
> 
> I've been using InitCatalog and Verify jobs to monitor my production
> machines. This seems to work very well when there are modified files. 
> However if a new files appears in one of the monitored directories then
> all the files from then on will be reported at the same time as missing
> and as new files with the same name/path/attributes...
> 
> I debugged this problem a bit and it seems to be due to the fact that
> when bacula queries the DB for the file attributes one of the where
> clauses is the FileIndex. If there are added or missing files the
> FileIndex is no longer correct for all subsequent files and they are all
> reported as missing and new. I think a possible solution would be to
> tweak the local FileIndex variable when doing the Verify pass: so if a
> file is new don't increment the FileIndex and if a file is missing
> increment it anyway. In this way the proper FileIndex would be used in
> the query and only "real" problematic files would be reported. 
> 
> Daniel.
> 
> --
> Download Intel® 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

-- 
[:O]###[O:]

--
Download Intel® 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


[Bacula-users] Problem with RunScript

2010-03-05 Thread Daniel De Marco
Hi,

I have the following RunScript directive in my jobdefs to notify nagios
about the status of backups:
RunScript {
Command = "/usr/local/sbin/bacula2nagios.sh \"%n\" \"%e\" \"%e %l %v\""
RunsWhen = After
RunsOnFailure = yes
RunsOnClient  = no
RunsOnSuccess = yes
}

This seems to work fine for Backup jobs: the script gets run both for
successful and failed jobs. I use the same directive/script for my
Verify jobs and in that case the script is being called only if the
Verify job completed without finding differences, if differences are
found, the script is not being executed.

Any idea of how I could fix this and have the script run all times?

Thanks, Daniel.


--
Download Intel® 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


[Bacula-users] Odd behaviour with Verify Jobs

2010-03-05 Thread Daniel De Marco
Hi,

I've been using InitCatalog and Verify jobs to monitor my production
machines. This seems to work very well when there are modified files. 
However if a new files appears in one of the monitored directories then
all the files from then on will be reported at the same time as missing
and as new files with the same name/path/attributes...

I debugged this problem a bit and it seems to be due to the fact that
when bacula queries the DB for the file attributes one of the where
clauses is the FileIndex. If there are added or missing files the
FileIndex is no longer correct for all subsequent files and they are all
reported as missing and new. I think a possible solution would be to
tweak the local FileIndex variable when doing the Verify pass: so if a
file is new don't increment the FileIndex and if a file is missing
increment it anyway. In this way the proper FileIndex would be used in
the query and only "real" problematic files would be reported. 

Daniel.

--
Download Intel® 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] bacula 5.0.1 installation errors

2010-03-05 Thread Hugh Brown
Jerry Lowry wrote:
> Hi, I am trying to install bacula 5.0.1 on a new backup server.  I have
> attached the error that I am getting during the make and the config.out.
> The server configuration is:
>
> fedora 12 x86_64
> mysql 5.1.42
> bacula src 5.0.1

Perhaps old version of OpenSSL libs?

--
Hugh Brown, Systems Manager
The Centre for High-Throughput Biology
hbr...@chibi.ubc.ca

--
Download Intel® 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


[Bacula-users] Bacula FS

2010-03-05 Thread Dan Langille
Is anyone using this?  Comments? Feedback?

http://code.google.com/p/baculafs/
 - Exposes the Bacula catalog and storage as a Filesystem in USErspace

I've heard FUSE mentioned here before.

-- 
Dan Langille -- http://langille.org/


--
Download Intel® 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


[Bacula-users] Error: "The number of files mismatch!"

2010-03-05 Thread SiegfriedKurz

Hello forum,
since several weeks I'm trying to use bacula to backup our Linux server in our 
small company.
Beforehand we've used cpio to backup our Linux server (SuSE Enterprise 10, 
Linux kernel 2.6.16.60-0.21-smp i386).
Since we're a small company, our server ist switched off overnight and the 
backup is done during the business times.
When using cpio we didn't have any problem with this kind of backup process.

But then the data grew more and more and didn't fit on a single tape any more, 
so I decided to try bacula. (Version is 3.0.2)
I've run the btape test and the fill test (with 2 tapes) with my device (HP DAT 
160) successfully.

After some first problems, everything seems to work fine, but now I end up with 
this error, and I can't solve the problem:

error message:
==
05-Mar 08:58 hit-linux-dir JobId 117: Start Backup JobId 117, 
Job=Tagessicherung.2010-03-05_08.57.58_09
05-Mar 08:58 hit-linux-dir JobId 117: Using Device "DDS-4"
05-Mar 08:58 hit-linux-sd JobId 117: Volume "Tagessicherung2" previously 
written, moving to end of data.
05-Mar 09:06 hit-linux-sd JobId 117: Error: Bacula cannot write on tape Volume 
"Tagessicherung2" because:
The number of files mismatch! Volume=27 Catalog=28
05-Mar 09:06 hit-linux-sd JobId 117: Marking Volume "Tagessicherung2" in Error 
in Catalog.
05-Mar 09:07 hit-linux-sd JobId 117: Job Tagessicherung.2010-03-05_08.57.58_09 
waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
Storage:  "DDS-4" (/dev/st0)
Pool: TagessicherungPool
Media type:   DDS-4
===


Bacula made a full backup on Tagessicherung1 and Tagessicherung2 on 04-Mar and 
directly after that,
just for testing purposes, I once more started a "Tagessicherung"-job and 
bacula made a differential backup.
So everything was ok on the 04-Mar, but today (05-Mar, after the nightly 
reboot),  I got this error.

I've already searched through the forum an found many hits concerning the 
"number of files mismatch"-problem,
but I couldn't find any solution.

I hope I gave enough information so that somebody could give me a hint to save 
my problem.

Best regards
Siegfried Kurz


Here the config files:
bacula-sd.conf: 
=
Storage {   
  Name = hit-linux-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = "/etc/bacula/working"
  Pid Directory = "/etc/bacula/working"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = hit-linux-dir
  Password = "XXX"
}

Director {
  Name = hit-linux-mon
  Password = "XXX"
  Monitor = yes
}

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /tmp
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = yes
  AlwaysOpen = no
}

Device {
  Name = DDS-4
  Description = "DDS-4 for FreeBSD"
  Media Type = DDS-4
  Archive Device = /dev/st0
  AutomaticMount = no
  AlwaysOpen = yes
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = yes
  # If you have smartctl, enable this, it has more info than tapeinfo 
  Alert Command = "sh -c 'smartctl -H -l error %c'"  
}

Messages {
  Name = Standard
  director = hit-linux-dir = all
}
===

# bacula-fd.conf 
==
Director {
  Name = hit-linux-dir
  Password = "XXX"
}
Director {
  Name = hit-linux-mon
  Password = "XXX"
  # Monitor = yes
}
FileDaemon {  # this is me
  Name = hit-linux-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /etc/bacula/working
  Pid Directory = /etc/bacula/working
  Maximum Concurrent Jobs = 20
}
Messages {
  Name = Standard
  director = hit-linux-dir = all, !skipped, !restored
}
===

# bacula-dir.conf 
==

Director {
  Name = hit-linux-dir
  DIRport = 9101   
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/etc/bacula/working"
  PidDirectory = "/etc/bacula/working"
  Maximum Concurrent Jobs = 1
  Password = "XXX"
  Messages = Daemon
}
JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = hit-linux-fd 
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}

Job {
  Name = "BackupKurz"
  Client = kurz-fd
  JobDefs = "DefaultJob"
  FileSet = "windows"
  Storage = File
  Write Bo

[Bacula-users] bacula 5.0.1 installation problems

2010-03-05 Thread Jerry Lowry
ok, I have bacula installed without openssl and without bat. But I would 
like to use bat for management of bacula.


QT make problem:
When I run the qt make I am getting errors from the openssl modules. I 
went looking through the configure files in the qt directory but did not 
see anything that specified openssl.  I have attached the std output 
showing the errors.  They are coming from the ssl modules.


How does one turn off openssl in qt? Which configure file is it hiding in?

thanks,

jerry
--

qnativesocketengine_unix.cpp:167: note: initialized from here
In file included from qsslcertificate.cpp:124:
qsslsocket_openssl_symbols_p.h:271: error: variable or field ‘q_sk_free’ 
declared void
qsslsocket_openssl_symbols_p.h:271: error: ‘STACK’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:271: error: ‘a’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:272: error: ‘STACK’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:272: error: ‘a’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:273: error: ‘STACK’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:273: error: ‘a’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:273: error: expected primary-expression before 
‘int’
qsslsocket_openssl_symbols_p.h:273: error: initializer expression list treated 
as compound expression
qsslcertificate.cpp: In member function 
‘QMultiMap 
QSslCertificate::alternateSubjectNames() const’:
qsslcertificate.cpp:371: error: ‘STACK’ was not declared in this scope
qsslcertificate.cpp:371: error: ‘altNames’ was not declared in this scope
qsslcertificate.cpp:371: error: expected primary-expression before ‘)’ token
qsslcertificate.cpp:371: error: expected ‘;’ before ‘q_X509_get_ext_d2i’
qsslcertificate.cpp:383: error: ‘q_sk_free’ was not declared in this scope
make[2]: *** [.obj/release-static/qsslcertificate.o] Error 1
make[2]: *** Waiting for unfinished jobs
make[1]: *** [sub-network-make_default-ordered] Error 2
In file included from qsslcertificate.cpp:124:
qsslsocket_openssl_symbols_p.h:271: error: variable or field ‘q_sk_free’ 
declared void
qsslsocket_openssl_symbols_p.h:271: error: ‘STACK’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:271: error: ‘a’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:272: error: ‘STACK’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:272: error: ‘a’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:273: error: ‘STACK’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:273: error: ‘a’ was not declared in this 
scope
qsslsocket_openssl_symbols_p.h:273: error: expected primary-expression before 
‘int’
qsslsocket_openssl_symbols_p.h:273: error: initializer expression list treated 
as compound expression
qsslcertificate.cpp: In member function 
‘QMultiMap 
QSslCertificate::alternateSubjectNames() const’:
qsslcertificate.cpp:371: error: ‘STACK’ was not declared in this scope
qsslcertificate.cpp:371: error: ‘altNames’ was not declared in this scope
qsslcertificate.cpp:371: error: expected primary-expression before ‘)’ token
qsslcertificate.cpp:371: error: expected ‘;’ before ‘q_X509_get_ext_d2i’
qsslcertificate.cpp:383: error: ‘q_sk_free’ was not declared in this scope
make[2]: *** [.obj/release-static/qsslcertificate.o] Error 1
make[1]: *** [sub-network-install_subtargets-ordered] Error 2

--
Download Intel® 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] Force serialization only for a subset of hosts ?

2010-03-05 Thread Phil Stracchino
On 03/05/10 10:40, Matija Nalis wrote:
> To make a clear picture, imagine the following groups of hosts:
> 
> Group A = hostA1, hostA2, hostA3, ... (those are on one xen physical machine)
> Group B = hostB1, hostB2, hostB3, ... (those are on other xen phys. machine)
> Group C = all other hosts. (those are all other [non-virtual] hosts).
> 
> What we want to do is to have absolute maximum concurrency possible (of up
> to 50 hosts backing up at once), with only restriction that at any one time,
> *at most* 1 host from group A will be running, and *at most* 1 host from group
> B will be running. There is no limit on number of group C hosts that may be
> running at the same time (other than global concurrency limit of 50 hosts,
> of course)
> 
> So, for example, at any moment, having 48 backups running from group C, 1
> from group A and 1 from group B is OK.
> So is 49 from group C, and 1 from group A. 
> 
> But 48 from group C, and 2 from group A is NOT ok.

[...]

> which would give us some head start of 50 parallel "C" hosts, and serialize
> A and B groups (as host with prio21 will wait for host with prio20 to finish
> first, and those for prio22 will wait for prio21 and prio20 etc)
> 
> But as soon as groups A and B start running, the "C" group would slowly
> starve - the initial 50 C-hosts will end one by one, but new ones won't be
> starting until both group A and B finish (which could take quite some time
> in our situation -- so we would waste a good part of the backup window
> running just one "A" host and one "B" host at the same time).
> 
> Anybody has a better idea ? Thanks!

Why don't you try this (I'm assuming you're backing up to disk, as you
didn't specify):

Set up three Storage devices on your Storage daemon, and three Pools,
each tied to one of the Storage devices.  So you have Pool A on Storage
device A, Pool B on Storage device B, Pool C on Storage device C.  (They
can all point to the same physical disk pool.  That's OK.)  Assign the
clients from group A to use pool A, group B to pool B, group C to pool
C.  Then set maximum concurrency to 50 on Storage C, and to 1 on Storage
A and B.  To achieve the same effect, you could use the same basic setup
and limit Pools A and B to one Job per volume.  Either way, any number
of Group C backups (up to 50) will be able to run at once, but only one
each from groups A and B, without having to play Priority games.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Download Intel® 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


[Bacula-users] Force serialization only for a subset of hosts ?

2010-03-05 Thread Matija Nalis
Hi everyone,

we're having a bacula backup with an order of magnitude of 150 hosts,
and some of them are xen DomU virtual machines sharing same physical host.

Because of the number of hosts, we need the maximum parallelization possible
(so the backups can finish in allowed timeslot), which we achieve by setting
"Maximum Concurrent Jobs = 50" and "SpoolData = yes". That part works fine,
and Director/SD machine can handle the load quite well.

It however breaks down when the time comes to backup DomU virtual machines.
It tries to run all of them at the same time, which (while making no problem
for Director/SD) puts too big a load to xen physical host (whose I/O load
goes up to the skies and all DomU machines become unresponsive).

We could hand-tweak the start times for each of machines, of course, but it
is painful and prone to errors, and conditions change often so it would be
administrative nightmare.

We've tried using different priorities (with "Allow Mixed Priority = no" on
them) for DomU hosts, and that does serialize them ok, but has a
disadvantage that when any of the DomU hosts run, nothing else will run
until it finishes (what reduces our concurrency way down, and so makes a
problem as not all machines manage to run their daily backup in allowed
timeslots)

To make a clear picture, imagine the following groups of hosts:

Group A = hostA1, hostA2, hostA3, ... (those are on one xen physical machine)
Group B = hostB1, hostB2, hostB3, ... (those are on other xen phys. machine)
Group C = all other hosts. (those are all other [non-virtual] hosts).

What we want to do is to have absolute maximum concurrency possible (of up
to 50 hosts backing up at once), with only restriction that at any one time,
*at most* 1 host from group A will be running, and *at most* 1 host from group
B will be running. There is no limit on number of group C hosts that may be
running at the same time (other than global concurrency limit of 50 hosts,
of course)

So, for example, at any moment, having 48 backups running from group C, 1
from group A and 1 from group B is OK.
So is 49 from group C, and 1 from group A. 

But 48 from group C, and 2 from group A is NOT ok.

Does anybody have the idea how to do that (if it is possible at all with
bacula 5.0.x series) ?

The best I could come up with is run with global "Allow Mixed Priority = yes", 
and setup bacula with:

hostC* - priority=50, start=03:59

hostA1 - priority=20, start=04:00
hostA2 - priority=21, start=04:01
hostA3 - priority=22, start=04:02
...
hostB1 - priority=20, start=04:00
hostB2 - priority=21, start=04:01
hostB3 - priority=22, start=04:02
...

which would give us some head start of 50 parallel "C" hosts, and serialize
A and B groups (as host with prio21 will wait for host with prio20 to finish
first, and those for prio22 will wait for prio21 and prio20 etc)

But as soon as groups A and B start running, the "C" group would slowly
starve - the initial 50 C-hosts will end one by one, but new ones won't be
starting until both group A and B finish (which could take quite some time
in our situation -- so we would waste a good part of the backup window
running just one "A" host and one "B" host at the same time).

Anybody has a better idea ? Thanks!

-- 
Opinions above are GNU-copylefted.

--
Download Intel® 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] Bacula Exchange plugin question

2010-03-05 Thread Gregory Durham
Sorry if this is a repost I did not reply to the actual group...

1)For the mailbox store there are two stores and they are 4gb in total

2)All the log i see is:

The VSS service is shutting down due to idle timeout.

and this is 3 mins after the backup errors out.

3)Defiantly using the 64bit file daemon.

On Thu, Mar 4, 2010 at 4:53 PM, James Harper
wrote:

> There have been a few reports of problems on 2007 but I've been unable
> to replicate them. The reports are somewhat different to yours though.
> Here's some questions...
>
> Can you tell me how big your mailbox store is?
>
> Are there any messages in the windows event log that might be relevant?
>
> Are you definitely running the 64 bit version of bacula?
>
> Thanks
>
> James
>
> > -Original Message-
> > From: Gregory Durham [mailto:gregory.dur...@gmail.com]
> > Sent: Friday, 5 March 2010 11:50
> > To: James Harper
> > Cc: bacula-users@lists.sourceforge.net
> > Subject: Re: [Bacula-users] Bacula Exchange plugin question
> >
> > Thanks for replying and it is Server 2008 x64 and Exchange 2007. I
> completely
> > forgot to mention it.
> >
> > Thanks,
> > Greg
> >
> >
> > On Thu, Mar 4, 2010 at 4:40 PM, James Harper
> 
> > wrote:
> >
> >
> >   Exchange 2003 or 2007? (or 2010?)
> >
> >   James
> >
> >
> >   > -Original Message-
> >   > From: Gregory Durham [mailto:gregory.dur...@gmail.com]
> >   > Sent: Friday, 5 March 2010 04:02
> >   > To: bacula-users@lists.sourceforge.net
> >   > Subject: [Bacula-users] Bacula Exchange plugin question
> >   >
> >   > Hello all,
> >   > I am having a problem with bacula backing up exchange server.
> The
> >   error logs
> >   > are at the bottom. I just upgraded to version 5.0.1 as I was
> having a
> >   similar
> >   > issue on 3.0.3.
> >   >
> >   > My configuration on the server is as follows:
> >   >
> >   > JobDefs {
> >   >   Name = "ExchangeJob"
> >   >   Type = Backup
> >   >   Level = Full
> >   >   Schedule = "DailyCycleMultipleTimes"
> >   >   Storage = "priTape"
> >   >   Messages = Standard
> >   >   Pool = MondayPool
> >   >   Priority = 5
> >   > }
> >   >
> >   > Storage {
> >   >   Name = "priTape"
> >   >   Address = San02.example.com
> >   >   Device = "bigTape"
> >   >   Media Type = Tape
> >   >   Password = ""
> >   > }
> >   >
> >   > FileSet {
> >   > Name = "exchangeBackup"
> >   > Include {
> >   > options {sparse = yes}
> >   > File = "E:/"
> >   > File = "F:/"
> >   > Plugin = "exchange:/@EXCHANGE/Microsoft
> Information
> >   Store"
> >   > }
> >   > Exclude {
> >   > File = "E:/MAILBOX/e00.chk"
> >   > File = "E:/MAILBOX/Mailbox Database.edb"
> >   > File = "E:/MAILBOX/tmp.edb"
> >   > File = "E:/PUBLIC FOLDERS/e01.chk"
> >   > File = "E:/PUBLIC FOLDERS/Public Folder
> Database.edb"
> >   > File = "E:/PUBLIC FOLDERS/tmp.edb"
> >   > File = "E:/EXECUTIVE MB/E02.chk"
> >   > File = "E:/EXECUTIVE MB/Executive Mailbox.edb"
> >   > File = "E:/EXECUTIVE MB/tmp.edb"
> >   > }
> >   > }
> >   >
> >   > Job {
> >   > Name ="exchangeBK"
> >   > JobDefs = "ExchangeJob"
> >   > FileSet = "exchangeBackup"
> >   > Client = "exchange-fd"
> >   > Messages = Standard
> >   > RunBeforeJob = "/opt/bacula/etc/resetTape.sh"
> >   > }
> >   >
> >   > Schedule {
> >   >   Name = "DailyCycleMultipleTimes"
> >   >   Run = Full POOL=MondayPool Monday at 18:00
> >   >   Run = Full POOL=TuesdayPool Tuesday at 18:00
> >   >   Run = Full POOL=WednesdayPool Wednesday at 18:00
> >   >   Run = Full POOL=ThursdayPool Thursday at 18:00
> >   >   Run = Full POOL=FridayPool Friday at 18:00
> >   > }
> >   >
> >   > Client {
> >   >   Name = exchange-fd
> >   >   Address = exchange.example.com
> >   >   FDPort = 9102
> >   >   Catalog = MyCatalog
> >   >   Heartbeat Interval = 60
> >   >   Password = ""  # password for FileDaemon
> >   >   File Retention = 30 days# 30 days
> >   >   Job Retention = 6 months# six months
> >   >   AutoPrune = yes # Prune expired
> Jobs/Files
> >   > }
> >   >
> >   > Here is a pool, there are 5 of them (one for each day of the
> week.
> >   >
> >   > Pool {
> >   >   Name = MondayPool
> >   >   Pool Type = Backup
> >   >   Recycle = yes   # Bacula can
> automatically
> >   recycle
> >   > Volumes
> >   >   AutoPrune = yes # Prune expired vo

Re: [Bacula-users] HELP - Bacula 5.0.0 migration jobs not honoring retention period

2010-03-05 Thread Robert LeBlanc
On Thu, Mar 4, 2010 at 8:40 AM, Robert LeBlanc  wrote:
> I've set up some migration jobs from tapes that had errors and were
> not using full capacity to disk so that I could migrate them back. I
> started these jobs using bacula 3.x then upgraded in the middle. I've
> set the disk pool to have a retention period of 1 month 7 days and
> there were two volumes from when 3.x created them. Over night last
> night, these two volumes have been purged and recycled 5 times instead
> of having new volumes created. There is plenty of space left on the
> disk and there is no volume number restriction.
>
> All my tapes are showing that all the jobs are migrated, so it won't
> remigrate the jobs. The data on the tapes are still there. Please
> advise on why the retention period was not honored and how to
> remigrate the jobs.
>
> Storage {
>  Name = DD-tmp
>  Address = bacsd0.byu.edu
>  Password = "secretpassword"
>  Media Type = DD-tmp
>  Device = DD-tmp
>  Maximum Concurrent Jobs = 8
> }
>
> Pool {
>  Name = DD-tmp
>  Pool Type = Backup
>  LabelFormat = "tmp-"
>  Recycle = yes
>  AutoPrune = yes
>  Storage = DD-tmp
>  Volume Retention = 37 days
> #  Use Volume Once = yes
>  Maximum Volume Bytes = 100G
> }
>
> Job {
>  Name = "Redo_454FLX"
>  Type = Migrate
>  Level = Full
>  Client = 454datarig-fd
>  FileSet = "FULL Windows"
>  Messages = Standard
>  Pool = 454FLX
>  Maximum Concurrent Jobs = 4
>  Selection Type = Volume
>  Selection Pattern = ".*[2,4]L4"
> }
>
> Thanks,
>
> Robert LeBlanc
> Life Sciences & Undergraduate Education Computer Support
> Brigham Young University
>

My backups are honoring retention time just fine and are creating new
volumes as needed, but I still need help with these failed migrations.

Thanks,

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University

--
Download Intel® 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


[Bacula-users] Problem mass deploying Win32 5.0.1 Client

2010-03-05 Thread Hajmási , Zoltán AL/SSH-PI
> Hi All,
> 
> I am trying to mass deploy to new clients the newest 32bit bacula-fd via OCS, 
> but i am experiencing a popup window as the installer in silent mode willing 
> to stop the previous version of bacula-fd service. Because it does not 
> exists, it says that "an existing Bacula service could not be found for 
> removal> ...> ..". After pressing ok, the installer continues.
> 
> I wonder if the automatic removal of service could be switched off with a 
> command line parameter?
> 
> bye,
> Zoltán
> 
--
Download Intel® 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


[Bacula-users] Exchange Plugin

2010-03-05 Thread skipunk

Hi Greg,

The plug-in folder was there and i made sure that it was part of the FD on the 
windows 2k8 server.

I ended up doing a few tests on a dummy mailbox and everything restored fine.  
I'm in the process of fixing a few small issues, but looking to see if anyone 
else was able to resolve it before i post my questions.

Thanks,
Steve

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



--
Download Intel® 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


[Bacula-users] Filset for all drives on windows

2010-03-05 Thread Pierre Lavoisier
Hello bacula users.

Do you know a way to get a generic Fileset that covers all local drives on
Windows system ?

I tried to use something like that,

  File = "c:/"
  File = "d:/"
  File = "e:/"
  File = "f:/"
  .
  .
  .
  File = "z:/"

But it writes bad things on log for missing drives.

I'd like to know for sure that all drive are saved without errors.


Regards,
Pierre.
--
Download Intel® 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] potential concurrency bug in SD?

2010-03-05 Thread Martin Simmons
> On Thu, 4 Mar 2010 12:52:39 -0500, Joseph Dickson said:
> 
> > There are several disk-changer bacula-sd configs in the
> > regress/scripts/
> > directory.  Are there any differences in your device config compared to
> > those?
> 
> I'm not sure where you mean -- I don't see any regress/scripts dir in either
> the source distribution or the installed files..

No, it isn't installed -- you have to check it out from git.

http://sourceforge.net/scm/?type=git&group_id=50727
http://www.bacula.org/5.0.x-manuals/en/developers/developers/Git_Usage.html

__Martin

--
Download Intel® 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] Backing up 32bit clients with a 64 bit director/sd?

2010-03-05 Thread John Drescher
On Fri, Mar 5, 2010 at 12:24 AM, Stan Meier  wrote:
> Hi there,
>
> is it possible to backup a 32 bit filedaemon client using a 64bit
> server?
>

Yes. That works.

John

--
Download Intel® 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