Re: [Bacula-users] Fileset depending on ClientRunBefore

2007-10-09 Thread Troy Daniels
Dan Langille wrote:
> On 9 Oct 2007 at 20:05, Leon Bruno wrote:
> 
>> On 9 Oct 2007 at 19:54, Leon Bruno wrote:
>>
>>> Hi all,
>>>
>>> One of my job is calling a script to do some databases backup.
>>> The fileset is then defined to call that same script with another
>>> parameter that list the backup that has just been done.
>>>
>>> >From what I've tested, it seems that the fileset is estimated
 before the
>>> runbefore task. This is preventing my backup because at the time the
>>> fileset is estimated, the backup is not yet done... Is there any way
>>> to tell bacula to do the fileset estimation after the runbefore task
>>> ?
>> Have you considered the estimate command in bconsole?
>>
>> Would that output be useful for you?
> 
> Leon wrote:
> 
>> Yes I did the estimate command on the fileset and the result is what I
>> expected. That's why I believe at the time bacula get the list of
>> files to backup, the backup is not yet done, thus the runbefore
>> command is actually executed after the fileset has been estimated.
> 
> Please do not reply at the top of the email.
> 
> I do not understand what you need.  From the subject, I think you 
> want to create a FileSet from ClientRunBefore.  But I have a hard 
> time parsing the content of your email to understand your objective.
> 
> I will guess again: If you are trying to dynamically create a 
> FileSet, I suggest reading this URL:
> 
>http://www.bacula.org/rel-manual/Configuring_Director.html
> 
> And search for this test:
> 
> "There are a number of special cases when specifying directories and 
> files in a file-list. They are:"
> 
> If that is not what you need, please tell us your goal / objective.  
> You are asking how "to do the fileset estimation after the runbefore 
> task".  I think you've already decided what the solution is but I 
> think some context will help us find a solution for you that will 
> work.
> 


I might be wrong, but I read this to mean Bruno was having problems 
because Bacula builds the fileset/filelist it is going to back up before 
it runs the RunBefore job.

However, Bruno's script is designed to do a Database backup first and 
then provide the fileset information on where this Backup is stored second.

As far as I know there is no way to control this behavior, I can see a 
couple of ways to work around it:

1) Have the actual Database Backup done as part of an Admin job 
scheduled to occur just before the Bacula Backup job runs. If you are 
running multiple concurrent jobs this might be hard to implement.

2) Backup the files to a location you can calculate in advance - For 
example, make every days backup get created in a subfolder named after 
the date for example. The 'fileset building script' can then easily pass 
this folder back to Bacula.

3) Have the fileset building process run the backup directly first - No 
idea whether this would even work, nor exactly how bad an idea it would be.

Hope this helps,


Troy.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Media-type = File

2007-10-09 Thread Arno Lehmann
Hi,

09.10.2007 18:59,, [EMAIL PROTECTED] wrote::
> Hi,
> 
>  My version of bacula is 2.0.3

I recommend to upgrade to 2.2.4 as soon as possible. A serious bug has 
been fixed.

>  My stockage is several directories on a fixed filesystem.
>  Each Job has a specific "stockage resource" with a specific "device 
> directive"
> which corresponds to a specific "device resource" in bacula-sd.conf
>  All the "stockage resources" (bacula-dir.conf) and all "device resources"
> (bacula-sd.conf) have the same "Media-Type" :
>  Media-Type = File
> 
>  All is OK
> 
>  I read in the documentation that it would be better to use a specific
> "media-type directive" for each "device directive".
>  Is it necessary when we use a fixed filesystem already mounted ?

Yes.

>  Could I have a problem with a general "Media-Type = File" for all devices ?

Yes.

The simplest case of problems would be that Bacula tries to access a 
volume from one storage directory in another one during a restore.

Arno

> Mike
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Exclude file: documentation vs. actual behavior confusion

2007-10-09 Thread Ivan Adzhubey
Hi,

I am running Bacula 2.2.4 on Ubuntu Server 7.04.

Bacula documentation for FileSet directive here:

http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION00147

states under section describing file lists:

"Include { Options {} ...;  }

Options {  }

Exclude {  }

<...skipped...>

 is a list of directory and/or filename names specified with a File 
= directive. To include names containing spaces, enclose the name between 
double-quotes. Wild-cards are not interpreted in file-lists. They can only be 
specified in Options resources."

This is not true. Wildcards (e.g. '*') work perfectly fine at least inside 
Exclude { } sections. Is it documentation bug or Bacula regression/bug? What 
about Include { } file lists, I haven't tried it myself? Overall, the whole 
paragraph sounds rather confusing which is a shame bearing in mind this is a 
crucial part of setup.

--Ivan


The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fileset depending on ClientRunBefore

2007-10-09 Thread Dan Langille
On 9 Oct 2007 at 20:05, Leon Bruno wrote:

> On 9 Oct 2007 at 19:54, Leon Bruno wrote:
> 
> > 
> > Hi all,
> > 
> > One of my job is calling a script to do some databases backup.
> > The fileset is then defined to call that same script with another
> > parameter that list the backup that has just been done.
> > 
> > >From what I've tested, it seems that the fileset is estimated
> > >before the
> > runbefore task. This is preventing my backup because at the time the
> > fileset is estimated, the backup is not yet done... Is there any way
> > to tell bacula to do the fileset estimation after the runbefore task
> > ?
> 
> Have you considered the estimate command in bconsole?
> 
> Would that output be useful for you?

Leon wrote:

> Yes I did the estimate command on the fileset and the result is what I
> expected. That's why I believe at the time bacula get the list of
> files to backup, the backup is not yet done, thus the runbefore
> command is actually executed after the fileset has been estimated.

Please do not reply at the top of the email.

I do not understand what you need.  From the subject, I think you 
want to create a FileSet from ClientRunBefore.  But I have a hard 
time parsing the content of your email to understand your objective.

I will guess again: If you are trying to dynamically create a 
FileSet, I suggest reading this URL:

   http://www.bacula.org/rel-manual/Configuring_Director.html

And search for this test:

"There are a number of special cases when specifying directories and 
files in a file-list. They are:"

If that is not what you need, please tell us your goal / objective.  
You are asking how "to do the fileset estimation after the runbefore 
task".  I think you've already decided what the solution is but I 
think some context will help us find a solution for you that will 
work.

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fileset depending on ClientRunBefore

2007-10-09 Thread Leon Bruno

Yes I did the estimate command on the fileset and the result is what I
expected.
That's why I believe at the time bacula get the list of files to backup,
the backup is not yet done, thus the runbefore command is actually
executed after the fileset has been estimated.

Bruno
 

-Original Message-
From: Dan Langille [mailto:[EMAIL PROTECTED] 
Sent: mardi 9 octobre 2007 19:58
To: Leon Bruno
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Fileset depending on ClientRunBefore

On 9 Oct 2007 at 19:54, Leon Bruno wrote:

> 
> Hi all,
> 
> One of my job is calling a script to do some databases backup.
> The fileset is then defined to call that same script with another 
> parameter that list the backup that has just been done.
> 
> >From what I've tested, it seems that the fileset is estimated before 
> >the
> runbefore task. This is preventing my backup because at the time the 
> fileset is estimated, the backup is not yet done... Is there any way 
> to tell bacula to do the fileset estimation after the runbefore task ?

Have you considered the estimate command in bconsole?

Would that output be useful for you?

--
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fileset depending on ClientRunBefore

2007-10-09 Thread Dan Langille
On 9 Oct 2007 at 19:54, Leon Bruno wrote:

> 
> Hi all,
> 
> One of my job is calling a script to do some databases backup.
> The fileset is then defined to call that same script with another
> parameter that list the backup that has just been done.
> 
> >From what I've tested, it seems that the fileset is estimated before
> >the
> runbefore task. This is preventing my backup because at the time the
> fileset is estimated, the backup is not yet done... Is there any way
> to tell bacula to do the fileset estimation after the runbefore task ?

Have you considered the estimate command in bconsole?

Would that output be useful for you?

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fileset depending on ClientRunBefore

2007-10-09 Thread Leon Bruno

Hi all,

One of my job is calling a script to do some databases backup.
The fileset is then defined to call that same script with another
parameter that list the backup that has just been done.

>From what I've tested, it seems that the fileset is estimated before the
runbefore task. This is preventing my backup because at the time the
fileset is estimated, the backup is not yet done...
Is there any way to tell bacula to do the fileset estimation after the
runbefore task ?

Regards.
--
Bruno LEON

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] version upgrade

2007-10-09 Thread Kilaru Sambaiah
Hello All,
   I am using currently Bacula 1.38.11-3 and like to move current version.
   I am looking into announce mailing list, but like to query your
experiances
   regarding upgrade. What are the benefits with upgrade.

Thanks and Regards,
Sam
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Reality check

2007-10-09 Thread Paul Heinlein
On Tue, 9 Oct 2007, John Drescher wrote:

> On 10/9/07, Paul Heinlein <[EMAIL PROTECTED]> wrote:
>> I recently migrated from an LTO-1 drive (in a PowerVault 122T) to 
>> an LTO-3 (PowerVault 124T).
>>
>> Bacula (2.0.3) is locally configured to spool up to 50 GB to disk 
>> before writing to tape. Bacula reports that transfer rates have 
>> risen from about 22 Mbytes/second on the LTO-1 to about 43 
>> Mbytes/second on the LTO-3.
>>
>> Does anyone have logs lying around that might confirm or deny 
>> whether those numbers are in the range of reasonable?
>>
> Although these numbers are highly dependent on a lot of factors 
> (compression, filesystem performance, database, network speed) which 
> make comparing numbers not exactly perfect however your numbers look 
> pretty good to me.

I understand the caveats about equating one network's numbers with 
another's -- but thanks for letting me know mine are at least within 
a standard deviation of reasonable. :-)

-- 
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] solaris zfs

2007-10-09 Thread Attila Fülöp
Markus,

Markus Goldberg wrote:
> Hi,
> what is the status of backing up Solaris-10-zfs-filesystems?
> 
> Files seems to be backuped but i get the following error-message(s):
> Warning: backup.c:974 Error reading ACL of /export/mail/

the problem is that the ACL interface changed from ufs (posix style)
to zfs (NFSv4). Bacula can handle posix style ACL, but not the new
NFSv4 ones. I have written code (for the 2.0 HEAD) which fully
supports NFSv4 ACL on Solaris 10. The problem is, the code isn't
tested well enough and I need to write regression tests for the ACL
handling.

Since we postponed the use of NFSv4 ACL in one of our projects, I
cannot do this in working hours anymore. Well, actually I ended up
programing NFSv4 ACL support in my spare time anyhow.

If there is enough interest I could port the code to the current
HEAD and start writing regression tests. A backport to 2.2.x
shouldn't be a big problem then. The drawback is that my spare time
is quite limited, so this may take a while.

Just a few further notes: Unless you are using ACL on your zfs your
data schould be save. You just have to live with the annoying error
messages. You can check for this: "find /zfs_mount_point -acl" prints
all files with ACL, "ls -V file_with_acl" show the associated ACL.

Attila


> bye,
>Markus
> 
> 
> Markus Goldberg | Universität Hildesheim
>  | Rechenzentrum
> Tel +49 5121 883203 | Marienburger Platz 22, D-31141 Hildesheim, Germany
> Fax +49 5121 883205 | email [EMAIL PROTECTED]
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Media-type = File

2007-10-09 Thread maimic
Hi,

 My version of bacula is 2.0.3
 My stockage is several directories on a fixed filesystem.
 Each Job has a specific "stockage resource" with a specific "device directive"
which corresponds to a specific "device resource" in bacula-sd.conf
 All the "stockage resources" (bacula-dir.conf) and all "device resources"
(bacula-sd.conf) have the same "Media-Type" :
 Media-Type = File

 All is OK

 I read in the documentation that it would be better to use a specific
"media-type directive" for each "device directive".
 Is it necessary when we use a fixed filesystem already mounted ?
 Could I have a problem with a general "Media-Type = File" for all devices ?

Mike




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Reality check

2007-10-09 Thread John Drescher
On 10/9/07, Paul Heinlein <[EMAIL PROTECTED]> wrote:
> I recently migrated from an LTO-1 drive (in a PowerVault 122T) to an
> LTO-3 (PowerVault 124T).
>
> Bacula (2.0.3) is locally configured to spool up to 50 GB to disk
> before writing to tape. Bacula reports that transfer rates have risen
> from about 22 Mbytes/second on the LTO-1 to about 43 Mbytes/second on
> the LTO-3.
>
> Does anyone have logs lying around that might confirm or deny whether
> those numbers are in the range of reasonable?
>
Although these numbers are highly dependent on a lot of factors
(compression, filesystem performance, database, network speed) which
make comparing numbers not exactly perfect however your numbers look
pretty good to me.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup to file - delete on monthly basis

2007-10-09 Thread Rich
not yet (well, not without using some heavy sql magic).

check out 'projects' at bacula page (it's like a feature request list) - 
this feature is number 5, if i remember correctly

On 2007.09.25. 19:10, sgraves66 wrote:
> I have a full backup scheduled monthly and incremental daily. Since space is
> limited, every month during the full backup, I'd like to completely delete
> the prior months backups. At the moment, I'm doing this manually prior to
> the monthly full. Is there a way to automate this process?
-- 
  Rich

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Reality check

2007-10-09 Thread Paul Heinlein
I recently migrated from an LTO-1 drive (in a PowerVault 122T) to an 
LTO-3 (PowerVault 124T).

Bacula (2.0.3) is locally configured to spool up to 50 GB to disk 
before writing to tape. Bacula reports that transfer rates have risen 
from about 22 Mbytes/second on the LTO-1 to about 43 Mbytes/second on 
the LTO-3.

Does anyone have logs lying around that might confirm or deny whether 
those numbers are in the range of reasonable?

-- 
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] service name typo on windows

2007-10-09 Thread Kern Sibbald
On Tuesday 09 October 2007 16:33, Michel Meyers wrote:
> Kern Sibbald wrote:
> > On Monday 01 October 2007 10:40, Silver Salonen wrote:
> >> Hi!
> >>
> >> I just noticed that installing Bacula 2.2.4 on Windows created a service
> >> named "Bacula Storagee Service". I believe one "E" is redundant :)
> >
> > Thanks.  Fixed.
>
> Will future installers take care of fixing this on users' machines? I'm
> worried about them installing the service again (under the correct name)
> and leaving the old one, 

Everyone will have to deal with it the best he can -- probably best to 
uninstall and reinstall. The Win32 Servicer code is not support for lack of a 
Win32 programmer in the project, so I have corrected the appropriate place in 
the code, but that is all.

Kern

>
> Greetings,
>Michel
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] service name typo on windows

2007-10-09 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kern Sibbald wrote:
> On Monday 01 October 2007 10:40, Silver Salonen wrote:
>> Hi!
>>
>> I just noticed that installing Bacula 2.2.4 on Windows created a service
>> named "Bacula Storagee Service". I believe one "E" is redundant :)
> 
> Thanks.  Fixed.

Will future installers take care of fixing this on users' machines? I'm
worried about them installing the service again (under the correct name)
and leaving the old one, 

Greetings,
   Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHC5E/2Vs+MkscAyURAhP4AJ99dT1JgnDGnXD1jgYaW26wVRd1swCgpwfu
qUcHkDI18729lHQHI8mEaAM=
=TebQ
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO 3, Volume Bytes

2007-10-09 Thread Robert LeBlanc
Yes that is probably right. I've gotten 1 TB on LTO-2 tapes a couple of
times. It just means that you have highly compressible data. I've found that
my incremental and differentials have much higher compression then my full
back-ups.

Robert


On 9/27/07 5:02 AM, "hgrapt" <[EMAIL PROTECTED]> wrote:

> 
> I'm using a Quantum Autoloader with LTO 3 tapes (400/800 GB) with
> HW-compression on.
> 
> I'm just wondering if the output from bacula is correct ?
> 
> "Volume Bytes: 1,470,728,448,000 (1.470 TB)"
> 
> It's still writing
> 
> Thank you

 
Robert LeBlanc
College of Life Sciences Computer Support
Brigham Young University
[EMAIL PROTECTED]
(801)422-1882



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-fd maximum memory usage

2007-10-09 Thread Drew Bentley
On 9/14/07, le dahut <[EMAIL PROTECTED]> wrote:
> Hello,
>
> We have some problems with bacula-fd. On many sites where bacula is
> used, we see some servers going on alert due to more than 95% of swap
> usage. top says :
>
> top - 11:09:27 up 84 days,  2:46,  1 user,  load average: 0.86, 0.31, 0.10
> Tasks: 175 total,   2 running, 172 sleeping,   0 stopped,   1 zombie
> Cpu(s):  50.5% user,   5.0% system,   0.0% nice,  44.6% idle
> Mem:   1032140k total,  1021716k used,10424k free, 3652k buffers
> Swap:   257000k total,   237160k used,19840k free,57004k cached
>
>PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  Command
> 20820 root   9   0  565m 358m 1720 S  0.0 35.6   0:00.00 bacula-fd
> 20824 root   9   0  565m 358m 1720 S  0.0 35.6   0:11.45 bacula-fd
> 20825 root   9   0  565m 358m 1720 S  0.0 35.6   0:01.58 bacula-fd
>   9356 root  14   0  179m 179m 1304 R 99.9 17.8  29:01.89 clamd
>   9454 root   8   0  179m 179m 1304 S  0.0 17.8   0:00.31 clamd
> 23599 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.12 perl5.8.0
> 23601 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.30 perl5.8.0
> 23603 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.28 perl5.8.0
> 19654 sympa  9   0 23680  23m 3220 S  0.0  2.3  10:46.90 task_manager.pl
> 20779 root   9   0 16888  16m 2408 S  0.0  1.6   0:01.99 bacula-dir
> 20788 root   9   0 16888  16m 2408 S  0.0  1.6   0:12.14 bacula-dir
> 20789 root   9   0 16888  16m 2408 S  0.0  1.6   0:00.00 bacula-dir
> 20790 root   9   0 16888  16m 2408 S  0.0  1.6   0:01.58 bacula-dir
> 19621 sympa  9   0 15884  15m 2992 S  0.0  1.5   0:36.45 sympa.pl
> 19632 sympa  9   0 15500  15m 2900 S  0.0  1.5   0:17.02 archived.pl
> 19643 sympa  9   0 15036  14m 2908 S  0.0  1.5   0:28.19 bounced.pl
> 19590 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.67 mysqld
> 19597 mysql  8   0 14928  14m 3824 S  0.0  1.4   0:04.22 mysqld
> 19598 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
> 19599 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
> 19600 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
> 19601 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
> 19605 mysql  9   0 14928  14m 3824 S  0.0  1.4   1:24.20 mysqld
> 19606 mysql  9   0 14928  14m 3824 S  0.0  1.4   1:05.15 mysqld
> 19607 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
>
>
> I have to restart bacula-fd, why ? what's happening ?!
>
> K.
>

What distro? What version? Did you compile or download binaries? Is a
backup running when the resources are used up? Is this just a client
or director as well? If it's just a client, why do you have bacula-dir
running? Are you running concurrent jobs? Perhaps the server can't
handle the amount your throwing at it if you are. More details
probably get better responses. Server specs? Type of backup, full,
incrementals, amount backing up? Tape or Disk? Anything else running
on this server that we should know about that might be causing this
memory issue? Load averages look to be ok.

-drew

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mysql error at bacula install

2007-10-09 Thread Drew Bentley
On 9/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> After some recent woes with bacula (1.36.2) on Debian 3.1 I have decided
> to re-install. My mySQL is going OK,I have various other scripts happily
> using it, but when trying to re-install bacula I got the following error:
>
>
> Checking DB connectivity...Ok.
> Creating Catalog "bacula" ...Ok.
> Creating tables ...Ok.
> ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
> dpkg: error processing bacula-director-mysql (--configure):
>  subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of bacula:
>  bacula depends on bacula-director-sqlite (= 1.36.2-2sarge1) |
> bacula-director; however:
>   Package bacula-director-sqlite is not installed.
>   Package bacula-director is not installed.
>   Package bacula-director-sqlite which provides bacula-director is not
> installed.
>   Package bacula-director-mysql which provides bacula-director is not
> configured yet.
> dpkg: error processing bacula (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  bacula-director-mysql
>  bacula
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> I was using 'apt-get install bacula' and 'apt-get install
> bacula-director-mysql'  from a local repo to re-install the same old
> version (on account of wanting to use the same 'bacula.db' we have used
> for the past year and not being sure about updating)
>
> After 'apt-get install bacula-director-mysql' I was prompted for 'MySQL
> 'root' password' which I entered correctly (I hope...) and that's when it
> bailed with the above output.
>
> What am I doing wrong?
>
> I would be extremely grateful for any advice (as always!)
>
> Thanks,
> Kris
>
>

Verify that the password is correct by trying to login manually.

mysql -u root -p

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 fd 2.0.3 builds?

2007-10-09 Thread Drew Bentley
On 9/25/07, Ryan Parrish <[EMAIL PROTECTED]> wrote:
> I'm looking for the win32 bacula-fd builds for v 2.0.3 but they apper
> to not be on SF, was there ever a binary build of that version?  If
> there isn't a version out there can I use the 2.2.x fd that is up on SF
> with my 2.0.3 director/sd?
>
>

A quick google search found this one available online:

http://www.latgold.com/winbacula-2.0.3.exe

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole problem

2007-10-09 Thread Drew Bentley
On 9/21/07, mucimon <[EMAIL PROTECTED]> wrote:
>
> Hi! I have a problem with a bconsole from bacula 1.38.11-8 from debian etch.
> When execute bconsole I have this :
>
> [EMAIL PROTECTED]:~$ sudo bconsole
> request 1 done
> request 2 done
> request 3 done
> request 4 done
> Connecting to Director servstudio:9101
>
> and nothing.
>
> In netstat results opened the ports referred to bacula:
>
> [EMAIL PROTECTED]:~$ netstat -l |grep bacula
> tcp0  0 localhost:bacula-dir*:* LISTEN
> tcp0  0 localhost:bacula-fd *:* LISTEN
> tcp0  0 localhost:bacula-sd *:* LISTEN
>
> Any idea ?

Can you run netstat as root? It will provide more information. Also,
does your passwords match for the Director? And I'm assuming you are
running bconsole from the director server or not? If not, are you sure
a firewall isn't blocking port 9101? Try running nmap against the
director server to find out.

-drew

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Where do we go after Bacula 2.2.0?

2007-10-09 Thread David Boyes
> My thoughts on this would be to make the SD-MUX a a totally separate
> daemon with perhaps it's own DB. And the mux logic be left completely
> out of the Director. 

The director has to be involved to some degree to ensure that device
reservations are properly registered (to prevent it from trying to make
conflicting reservations for devices for non-mux jobs). If we're that
far down the road, then having the director tell the sd-mux how to set
up the sessions isn't that much further to go. I do agree that the
sd-mux has to be a separate daemon, though -- it can borrow a lot of
code from the existing sd and fd, though. 

I think there's several key problems to solve here: 

1) having the database record multiple locations for a file
2) having the sd-mux daemon
3) having the director understand how to use the sd-mux (eg, how to know
when one is needed, and how to instruct it what to do)
4) modifying the restore process to understand multiple copies and
restore from the most preferred one

#1 is (IMHO) the least difficult problem: the last major rev of the
database schema provided the data structure to record multiple
locations. AFAIK, none of the code references anything beyond the first
entry, but the space is there to record things once there is code to do
so. 

#2 is essentially a meld of a SD and FD, plus a setup connection to the
director. I'd suggest this be a daemon controlled by inetd, triggered by
a connection request from the director to the control session port
(minimize the # of static ports needed to 1 new port). Inetd would spin
off a copy of the sd-mux for the director. The director would then
instruct the sd-mux about the # of streams required and which actual SDs
are involved. The director would then go about the usual device
reservation and volume selection process already in place for normal
jobs. Once the actual SDs report ready, the director informs the real FD
of the address and port # of the sd-mux, and backups occur as normal,
with the sd-mux as the target SD for the real FD. The sd-mux acts like a
FD to the real SDs, thus requiring no protocol changes on real FD or
SDs. The SDs handle media as normal, signaling the director to notify it
of volume changes as required. The sd-mux receives data, writes it to
each real SD, and returns status when all the writes complete. At EOJ,
the sd-mux handles the shutdown of the sessions to the real SDs, and
then shuts down the session to the real FD. It then informs the director
of the EOJ state, and exits. 

This would also require some minor updates to the real SD logic to test
for the presence of a file and update it's media record rather than
inserting it (if such code doesn't already exist now).

#3 is somewhat covered in the above description. The sd-mux would need
to know how many streams to prepare (3 is about the practical maximum
based on experience with mainframe apps that do this type of work now),
and the hostname/ip address and port numbers for the real SDs to use for
this job, based on the reservations made by the director. The sd-mux
would also need to know how to abort a job if a session to a real SD
failed during the job. 
The sd-mux would also need to know the range of ports valid on the
sd-mux host (note that the host running the sd-mux may NOT be the same
host running the director, and we should design accordingly), and there
may be a good reason to constrain the available ports on the sd-mux host
for firewall friendliness reasons. 

#4 is pretty simple once all the other things are done...8-) Your idea
of a priority in the pool definition is a good one; I'd argue that there
is a implicit method of defining this priority. If the file is available
in a disk pool (or other random access storage), then we should prefer
to pull the restored file from the disk. Media pools in the same
location should have a lower priority, and media with a different
location value should have a even lower priority. If a volume is marked
missing or unavailable, it should be automatically skipped. 

An alternative method that would require more work, but would be
ultimately better in terms of self management, would be to measure
response time of storage daemons in the director over the last 10-20
requests (eg, time from start of reservation to SD ready) in the
director database, and choose the fastest responding SD that contains a
copy of the file (subject to conditions listed above wrt to location).
This would tend over time to spread out the load over multiple SDs at
the same site.  

In a more general sense, this kind of approach would also be helpful in
implementing multiple site migration jobs (a sd-mux could be used to
move files between SDs, if a migration job spun off a daemon copy to act
as a restore FD that immediately turned around and resent the data to a
sd-mux. 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  St

Re: [Bacula-users] [Bacula-devel] Storage director segfaults, bacula 2.2.4 useless

2007-10-09 Thread Kern Sibbald
You apparently are not subscribed to one or more of the lists you sent to so 
your email required manual intervention.

On Monday 08 October 2007 20:21, [EMAIL PROTECTED] wrote:
> I haven't seen any response to the query that I posted last week. Please
> let me know if there's any more information that I can provide, or any
> suggested changes in my configurate that will resolve the segmentation
> faults in the storage director.
>
> I'd appreciate any help with this issue, as it's preventing me from
> upgrading my current bacula installation.
>
> Thanks,
>
> Mark
>
>
> In the message dated: Thu, 04 Oct 2007 11:11:47 EDT,
> The pithy ruminations from [EMAIL PROTECTED] on
> <[Bacula-users] bacula-sd 2.2.4 goes kaboom! (segfault on despooling data)>
> wer e:
> => This is a multipart MIME message.
> =>
> => --==_Exmh_1191510464_44420
> => Content-Type: text/plain; charset=us-ascii
> =>
> =>
> => I'm testing bacula 2.2.4 and the bacula-sd daemon repeatedly exits with
> a => segmentation fault. Bacula 1.38.11 works reliably on the same machine
> with the => same hardware and configuration
> => files.
> =>
> => Environment:
> =>Fedora Core 1
> =>Kernel 2.4.26
> =>gcc 3.3.2
> =>MySQL 5.0.22
> =>Dell PV 132T autochanger
> =>
> => Build configuration script:
> =>./configure \
> => --prefix=/usr/local/bacula-2.2.4  \
> => --disable-nls \
> => --disable-ipv6\
> => --enable-batch-insert \
> => [EMAIL PROTECTED]\
> => [EMAIL PROTECTED] \
> => --with-db-name=bacula2\
> => --with-mysql  \
> => --mandir=/usr/local/bacula-2.2.4/man  \
> => --with-pid-dir=/usr/local/bacula-2.2.4/var/run\
> => --with-subsys-dir=/usr/local/bacula-2.2.4/var/subsys  \
> => --with-dir-user=bacula\
> => --with-dir-group=bacula   \
> => --with-sd-user=bacula \
> => --with-sd-group=bacula\
> => --with-fd-user=root   \
> => --with-fd-group=root && make
> =>
> =>
> => I'm using the same configuration files for the director, sd, and fd that
> work => with the 1.38.11 installation (after removing the "Accept Any
> Volume" directive, changing => the paths for 2.2.4, and adding the
> directive "RecyclePool = Scratch"). =>
> => The software compiles without error. There were no errors from "btape
> test" or => "btape autochanger".
> =>
> => The bacula-sd daemon crashes repeatedly whether or not the variable
> => LD_ASSUME_KERNEL was set to "2.4.19" before compiling bacula.
> =>
> => The bacula-sd daemon is running as root (while I sort out an issue
> that's not => present in 1.38.11 with permissions on the tape device). The
> bacula-dir normally => runs as user "bacula".
> =>
> => Even if I modify the bacula-dir options to run it as root, no traceback
> file is => generated. The message (received via email) from Bacula is:
> =>
> =>Using host libthread_db library "/lib/libthread_db.so.1".
> =>0x401728d1 in ?? ()
> =>/usr/local/bacula-2.2.4/etc/btraceback.gdb:1: Error in sourced command
> file: =>  Cannot access memory at address 0x80a2e34
> =>
> => The fault seems to occur right after the SD begins despooling data. I've
> got 4 => log files from running the SD with debugging on (set to 200 or
> higher), and the => error always happens after the first instance of
> despooling data. In each case, => the log file shows "stored.c:582 In
> terminate_stored() sig=11". =>
> => I've attached an excerpt from the SD debugging output.
> =>
> =>
> => Thanks,
> =>
> => Mark
> =>
> =>
> => 
> => Mark Bergman  [EMAIL PROTECTED]
> => System Administrator
> => Section of Biomedical Image Analysis 215-662-7310
> => Department of Radiology,   University of Pennsylvania
> =>
> =>
> http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upen
>n.edu =>
> =>
>
> - --==_Exmh_1191860770_278340
> Content-Type: application/octet-stream ; name="bacula-2.2.4_SD_debugging"
> Content-Description: bacula-2.2.4_SD_debugging
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="bacula-2.2.4_SD_debugging"
>
> cGFydGhlbm9uLXNkOiBqb2IuYzoxNzMgYXJjaGl2ZS4yMDA3LTEwLTAzXzE3LjEwLjA0IHdh
> aXRpbmcgMTgwMCBzZWMgZm9yIEZEIHRvIGNvbnRhY3QgU0QKcGFydGhlbm9uLXNkOiBibmV0
> LmM6NjY2IHdobz1jbGllbnQgaG9zdD0xNzAuMjEyLjEyMy40NTYgcG9ydD0zNjY0MwpwYXJ0
> aGVub24tc2Q6IGRpcmNtZC5jOjE3MSBDb25uOiBIZWxsbyBTdGFydCBKb2IgYXJjaGl2ZS4y
> MDA3LTEwLTAzXzE3LjEwLjA0CnBhcnRoZW5vbi1zZDogZGlyY21kLmM6MTczIEdvdCBhIEZE
> IGNvbm5lY3Rpb24KcGFydGhlbm9uLXNkOiBqb2IuYzoyMTUgRm91bmQgSm9iIGFyY2hpdmUu
> MjAwNy0xMC0wM18xNy4xMC4wNApwYXJ0aGVub24tc2Q6IGNyYW0tbWQ1LmM6NzEgc2VuZDog
> YXV0aCBjcmFtLW1kNSA8MTA5NTkzMDY2LjExOTE0NDU4MDVAcGFydGhlbm9uLXNkPiBzc2w9
> MApwYXJ0aGVub24tc2Q6IGNyYW0tbWQ1LmM6MTMxIGNyYW0tZ2V0OiBhdXRoIGNyYW0tbWQ1
> IDwxNzI0NzgwMTE5LjExOTE0NDU4MDVAcGFydGhl

Re: [Bacula-users] [Bacula-devel] bacula-sd 2.2.4 goes kaboom! (segfault on despooling data)

2007-10-09 Thread Kern Sibbald
Hello,

Most likely you forgot to put in an Autochanger resource for controlling your 
autochanger.  Barring that, you will need to run the SD under the debugger as 
defined in the Kaboom chapter of the manual and obtain a good traceback.

Regards,

Kern

On Thursday 04 October 2007 17:11, [EMAIL PROTECTED] wrote:
> I'm testing bacula 2.2.4 and the bacula-sd daemon repeatedly exits with a
> segmentation fault. Bacula 1.38.11 works reliably on the same machine with
> the same hardware and configuration
> files.
>
> Environment:
>   Fedora Core 1
>   Kernel 2.4.26
>   gcc 3.3.2
>   MySQL 5.0.22
>   Dell PV 132T autochanger
>
> Build configuration script:
>   ./configure \
>--prefix=/usr/local/bacula-2.2.4  \
>--disable-nls \
>--disable-ipv6\
>--enable-batch-insert \
>[EMAIL PROTECTED]\
>[EMAIL PROTECTED] \
>--with-db-name=bacula2\
>--with-mysql  \
>--mandir=/usr/local/bacula-2.2.4/man  \
>--with-pid-dir=/usr/local/bacula-2.2.4/var/run\
>--with-subsys-dir=/usr/local/bacula-2.2.4/var/subsys  \
>--with-dir-user=bacula\
>--with-dir-group=bacula   \
>--with-sd-user=bacula \
>--with-sd-group=bacula\
>--with-fd-user=root   \
>--with-fd-group=root && make
>
>
> I'm using the same configuration files for the director, sd, and fd that
> work with the 1.38.11 installation (after removing the "Accept Any Volume"
> directive, changing the paths for 2.2.4, and adding the directive
> "RecyclePool = Scratch").
>
> The software compiles without error. There were no errors from "btape test"
> or "btape autochanger".
>
> The bacula-sd daemon crashes repeatedly whether or not the variable
> LD_ASSUME_KERNEL was set to "2.4.19" before compiling bacula.
>
> The bacula-sd daemon is running as root (while I sort out an issue that's
> not present in 1.38.11 with permissions on the tape device). The bacula-dir
> normally runs as user "bacula".
>
> Even if I modify the bacula-dir options to run it as root, no traceback
> file is generated. The message (received via email) from Bacula is:
>
>   Using host libthread_db library "/lib/libthread_db.so.1".
>   0x401728d1 in ?? ()
>   /usr/local/bacula-2.2.4/etc/btraceback.gdb:1: Error in sourced command
> file: Cannot access memory at address 0x80a2e34
>
> The fault seems to occur right after the SD begins despooling data. I've
> got 4 log files from running the SD with debugging on (set to 200 or
> higher), and the error always happens after the first instance of
> despooling data. In each case, the log file shows "stored.c:582 In
> terminate_stored() sig=11".
>
> I've attached an excerpt from the SD debugging output.
>
>
> Thanks,
>
> Mark
>
>
> 
> Mark Bergman  [EMAIL PROTECTED]
> System Administrator
> Section of Biomedical Image Analysis 215-662-7310
> Department of Radiology,   University of Pennsylvania
>
> http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upen
>n.edu

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: How can I start BAT (Bacula Admin Tool)?

2007-10-09 Thread John Drescher
On 9/27/07, shawn <[EMAIL PROTECTED]> wrote:
> I install Bacula console, it runs well. Then I want to try BAT. Then I 
> reinstall
> with --enable-bat and --with-qwt options. But I can't find how to start BAT
> GUI?! And there is no icon on desktop. Anyone can help me?
>
On a linux machine. Open a shell and execute the following two commands:

cd /etc/bacula
bat

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] service name typo on windows

2007-10-09 Thread Kern Sibbald
On Monday 01 October 2007 10:40, Silver Salonen wrote:
> Hi!
>
> I just noticed that installing Bacula 2.2.4 on Windows created a service
> named "Bacula Storagee Service". I believe one "E" is redundant :)

Thanks.  Fixed.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How can I start BAT (Bacula Admin Tool)?

2007-10-09 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You really provided no information -- who knows even what OS you're
talking about?

shawn wrote:
> I install Bacula console, it runs well. Then I want to try BAT. Then I 
> reinstall
> with --enable-bat and --with-qwt options. But I can't find how to start BAT
> GUI?! And there is no icon on desktop. Anyone can help me?
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHC4bPmb+gadEcsb4RAvgEAKCK4Y0VWRu5qqcxoQswbDRXzJWUnQCfdp8G
ngX59Z6HTLM4Ja2Vmq4z824=
=00fd
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Where do we go after Bacula 2.2.0?

2007-10-09 Thread Kern Sibbald
On Wednesday 12 September 2007 05:06, Nick Pope wrote:
> On Sep 11, 2007, at 1:26 PM, David Boyes wrote:
> >> Couldn't the migrate capability be altered ever so slightly to allow
> >> the "migration" of a job without purging the old job from the
> >> catalog?  This would allow bitwise identical backup(s) to be created
> >> without having to create a forking/muxing SD/FD.
> >>
> >> This, of course, does not create the identical backups at the same
> >> instant in time, but it would solve the off-site backup problem with
> >> much less effort.
> >
> > As I said, that wouldn't be sufficient to satisfy our auditors.
> > YMMV. In
> > our case (which IMHO isn't unusual in the enterprise space), if we
> > can't
> > stand up and say under penalty of perjury that the bits on volume A
> > are
> > the same exact bits on volume B, then it's not good enough and we
> > stand
> > a good chance of seeing jail time.
>
> In the case of a migrate-without-purge, the bacula blocks would,
> presumably, be copied block for block.  

No, Bacula always copies record for record. There is no way to guarantee that 
the blocking factor on the two Volumes is the same, and various critical 
items are or can be different (Volume name, JobId, Pool, ...).

Kern

> So your backed up data would 
> be identical.  The metadata Bacula uses to encapsulate your data
> would be recreated for the second job, so that would be different.
> So maybe the migrate-without-purge feature won't satisfy your
> auditors, but that doesn't make the simpler feature pointless.  You
> seem to be implying it has to be one or the other (sorry if I'm
> misreading you here).  I think there's a use for BOTH the simpler
> feature (especially if it comes quicker) and the full-blown muxing SD.
>
> > Also, there is still a period of time where only one copy of the
> > backed-up data exists; all the easy solutions to this problem don't
> > address that requirement.
>
> This is the major drawback of the simpler solution (again, doesn't
> invalidate its usefulness in other scenarios)
>
> > If we could get away with that, we'd just
> > duplicate the tapes outside of Bacula and be done with it.
>
> If I do that, I can't track the copied volumes with the Bacula
> catalog.  One might foresee Bacula at some point enforcing a minimum
> number of duplicate copies, etc.
>
> > The related
> > problem is how Bacula handles multiple locations where the file can be
> > found, and how Bacula prioritizes restores. I have some interesting
> > ideas on that when/if Kern gets time to think about the design for
> > this
> > stuff.
>
> That certainly seems like the main challenge to the copy job.
>
> > There are some easier ways to deal with some of the symptoms of the
> > problem. I think that if we start solving symptoms rather than the
> > problem, we're going to waste a lot of effort, particularly testing
> > time, on a partial solution that doesn't get Bacula to enterprise
> > grade
> > solution space. This is major surgery to Bacula; it's going to take a
> > lot of testing resources to get this one right. I'd really rather see
> > that testing done to get to the final solution.
>
> I'm not sure I agree that the migrate-without-purge is treating a
> symptom.  I think it addresses a major shortcoming (fresh offsite
> backups) rather effectively.  While it may not solve all enterprise-
> grade offsite scenarios, it does address many basic offsite backup
> scenarios.  I don't really agree that the migrate-without-purge is an
> interim solution.  I think people will use it even when Bacula gets
> the full-blown muxing SD.  Not everyone is running Bacula in a large
> enterprise.
>
> >> This would allow me to backup to disk at night as usual.  Then once
> >> the backups are done and the clients are freed up, the copy/migrate
> >> job could run and copy the jobs to tape or an offsite pool.  The
> >> migrate job would not involve the clients, so it wouldn't have to run
> >> in the middle of the night.
> >
> > Assuming the connection between the SD and the offsite server doesn't
> > run over the same network...8-)
>
> Fair point :)  In my case, I just need to have a full offsite tapeset
> to take offsite and I don't want to wait 6 months for my fullbackups
> to migrate to tape (making my offsite backup 6 months out of date).
> i do see your point: the simpler solution won't work for large
> enterprises.  Fair 'nuff.
>
> -Nick
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel

-
This SF.net email is sp

Re: [Bacula-users] restore a specific job

2007-10-09 Thread Dan Langille
On 26 Sep 2007 at 9:52, Raphael Perrin wrote:

> 
> 
> Hi,
> 
> I'd like to add the jobid to restore in the bacula-dir.conf. Is this
> possible ?
> 
> Job {
>   Name = "CheckRestore"
>   Type = Restore
>   Client = castor-fd
>   FileSet = "CheckData"
>   Schedule = "RestoreCycle"
>   RunBeforeJob = "/etc/bacula/scripts/getJobId"
>   JobId="cat /root/bacula.JobId"
>   Storage = Exabyte
>   Pool = Default
>   Messages = Standard
>   Where = /data/backup/
> }

No, it is not possible, as far as I know.

Consider the restore job as a starting point.  Issue the restore 
command within bconsole, and go from there.  

Perhaps there is something more you want to tell us regarding this 
issue.

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup to file - delete on monthly basis

2007-10-09 Thread Dan Langille
On 25 Sep 2007 at 9:10, sgraves66 wrote:

> 
> I have a full backup scheduled monthly and incremental daily. Since
> space is limited, every month during the full backup, I'd like to
> completely delete the prior months backups. At the moment, I'm doing
> this manually prior to the monthly full. Is there a way to automate
> this process?

Read up on Recycle/Recycling.  And Retention.

NOTE: You'll want to keep at least one monthly backup at all times.  
Do not let your previous backup expire before the new one is 
completed.

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Win32 fd 2.0.3 builds?

2007-10-09 Thread Ryan Parrish
I'm looking for the win32 bacula-fd builds for v 2.0.3 but they apper 
to not be on SF, was there ever a binary build of that version?  If 
there isn't a version out there can I use the 2.2.x fd that is up on SF 
with my 2.0.3 director/sd?



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup to file - delete on monthly basis

2007-10-09 Thread sgraves66

I have a full backup scheduled monthly and incremental daily. Since space is
limited, every month during the full backup, I'd like to completely delete
the prior months backups. At the moment, I'm doing this manually prior to
the monthly full. Is there a way to automate this process?
-- 
View this message in context: 
http://www.nabble.com/Backup-to-file---delete-on-monthly-basis-tf4516682.html#a12883118
Sent from the Bacula - Users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula messages verbosity

2007-10-09 Thread Brian A. Seklecki
There is a bug where "saved" and "all" message types do not get matched
in the DIR.  The PR was a "not fix".  Google "bacula seklecki message
saved"

~BAS

On Wed, 2007-06-27 at 15:28 -0500, Zeratul wrote:
> Hi
> 
> I'm trying to increase the messages verbosity for the director to receive a
> complete list of processed files by a specific job. I'm trying to play with
> different options for the Messages resource, but I'm not getting what I want.
> There is anybody who already did this and can give me at least a hint? Thank 
> you. 
> 
> Daniel
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> 
> 
> 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Using Bacula to backup Windows systems

2007-10-09 Thread CVA Billing
Your operating system
CentOS5 (full patch) server / Windows XP Pro SP2 (full patch) client
 
The version of Bacula you are using
Server: 2.2.4 / Client: Winbacula2.2.4
 
A clear and concise
  description
of the problem

Windows bacula bwx-console reports this when attempting to obtain
status info on client-fd

08-Oct 11:45 bacula-dir: -Console-.2007-10-08_11.44.53 Fatal
error: Unable to authenticate with File daemon at
"client-fd.RCNS.local:9102". Possible causes:

Passwords or names not the same or

Maximum Concurrent Jobs exceeded on the FD or

FD networking messed up (restart daemon).

Please see
http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help.

Linux Server reports the following when attempting to run the Job
associated with this machine:

Connecting to Director bacula:9101

1000 OK: bacula-dir Version: 2.2.4 (14 September 2007)

run job="Windows Backup" fileset="WinXP" level=Incremental
client="client-fd" pool="Default" when="2007-10-08 11:49:51" where=""
storage="File" priority="10"

Using Catalog "MyCatalog"

Run Backup job

JobName: Windows Backup

Level: Incremental

Client: client-fd

FileSet: WinXP

Pool: Default (From Job resource)

Storage: File (From command line)

When: 2007-10-08 11:49:51

Priority: 10

OK to run? (yes/mod/no): 

Job queued. JobId=60

08-Oct 11:50 bacula-dir: No prior Full backup Job record found.

08-Oct 11:50 bacula-dir: No prior or suitable Full backup found
in catalog. Doing FULL backup.

08-Oct 11:50 bacula-dir: Start Backup JobId 60,
Job=Windows_Backup.2007-10-08_11.50.09

08-Oct 11:50 bacula-dir: Using Device "FileStorage"

08-Oct 11:50 bacula-dir: Windows_Backup.2007-10-08_11.50.09
Fatal error: Unable to authenticate with File daemon at
"client.RCNS.local:9102". Possible causes:

Passwords or names not the same or

Maximum Concurrent Jobs exceeded on the FD or

FD networking messed up (restart daemon).

Please see
http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help.

08-Oct 11:50 bacula-dir: Windows_Backup.2007-10-08_11.50.09
Error: Bacula bacula-dir 2.2.4 (14Sep07): 08-Oct-2007 11:50:22

Build OS: i686-redhat-linux-gnu redhat 

JobId: 60

Job: Windows_Backup.2007-10-08_11.50.09

Backup Level: Full (upgraded from Incremental)

Client: "client-fd" 

FileSet: "WinXP" 2007-10-08 10:03:13

Pool: "Default" (From Job resource)

Storage: "File" (From command line)

Scheduled time: 08-Oct-2007 11:49:51

Start time: 08-Oct-2007 11:50:11

End time: 08-Oct-2007 11:50:22

Elapsed time: 11 secs

Priority: 10

FD Files Written: 0

SD Files Written: 0

FD Bytes Written: 0 (0 B)

SD Bytes Written: 0 (0 B)

Rate: 0.0 KB/s

Software Compression: None

VSS: no

Encryption: no

Volume name(s): 

Volume Session Id: 2

Volume Session Time: 1191858113

Last Volume Bytes: 3,032,784 (3.032 MB)

Non-fatal FD errors: 0

SD Errors: 0

FD termination status: 

SD termination status: Waiting on FD

Termination: *** Backup Error ***

 

I've checked passwords, duped config files between the two, restarted
the services on both, but still can't connect.  The Linux server is
running local DNS, so the PC does have a FQDN as far as the server is
concerned.  All 3 bacula ports are open on each machine.  Thanks in
advance for any help.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How can I start BAT (Bacula Admin Tool)?

2007-10-09 Thread shawn
I install Bacula console, it runs well. Then I want to try BAT. Then I reinstall
with --enable-bat and --with-qwt options. But I can't find how to start BAT
GUI?! And there is no icon on desktop. Anyone can help me?


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula presentation!!

2007-10-09 Thread YGLESIAS REYES JUAN ISRAEL
Greattings Bacula User
 
My name is Israel Yglesias from Mexico and i'm working for INEGI 
www.inegi.gob.mx
 
The porpouse of this e-mail is introduce my self to the bacula users' list and 
for aks you for more information about this wonderful project, i already have 3 
servers with bacula and this number will be more in 2 or 3 moths.
 
The next 17 of octuber i'll give a conference at national level for all the 
workmates interested in Bacula, i think this will be a good begining for the 
project, but i need information about all of you.I'll show Testimonials and 
institution working with bacula around the world and how the project was 
growing in all the environments.
 
i'm tring to contact all the bacula developers but i didn't have success with 
that.
 
Please let me know if your have any commen or advice for my presentation, all 
your testimonials and comment will be very apreciate
 
Thanks a lot
 
Regards
 
RHCE.L.I. Israel Yglesias Reyes
Red Hat Certified Enginner
 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] old bacula windows version

2007-10-09 Thread Bertrand Kotewall
Dear fellow users,

I have a dilemma.  We are deploying a site wide bacula network with 
about 100 machines.  It's expected to go live soon.  Due to some 
politics, I now have a non trivial amount of windows clients to support 
too.  Off the original 100 machines, they were all macs and were loaded 
with bacula-fd clients, talking to a bacula-sd and director of a similar 
version, i.e. 2.03.  I went with that version because it was in fink.

Now I can't find the windows 2.03 bacula client.  Due to some posts of 
bacula misbehaving between version mismatches, I'm really reeling from 
trying to do bacula-sd and dir in 2.03 and running 2.2.4 windows 
clients.  Is there still a 2.03 windows client available somewhere?  It 
is not on sourceforge, and if the only recourse is to compile a windows 
client from the svn checkout, then so be it.  It's just that I'd rather 
not set up another development environment because of time constraints. 

Sincerely yours,

Bertrand Kotewall

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Writing to same volume every day

2007-10-09 Thread Ben Ramsfield
We are running Bacula 2.2.4. We have two pools; Daily and Weekend. The Daily 
pool has 9 volumes, A1-A5, B1-B4. A1 - A4 and B1 - B4 are used for Monday - 
Thursday, switching between the two sets every other week. A5 is left in as an 
overflow volume in case the regular tapes fill up. We are using an Exabyte VXA 
320 - 1x10 1U packet loader. This is a 10 tape auto loader library.

So, our problem is that the daily backups are always getting written to A5. How 
can we get the dailys to write to the A* or B* tapes. And yes, the tapes are 
purged and their status set to append.

Thanks

Ben


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Iron Mountain offsite

2007-10-09 Thread Brian A. Seklecki
Not yet, AFAIK -- But the next time feature voting happens, vote of
Job/Stoage multiplexing!

It's been on Collaborative Fusion's list of "We'll pay you to develop
that." list for a while :)

~BAS

On Wed, 2007-07-18 at 14:16 +0100, Gavin Hamill wrote:
> Hi :)
> 
> We're finally dipping our toe into the 'fun' world of tape backup.
> Initial tests with Bacula have proved very positive, but I have a small
> dilemma on which I'd appreciate input.
> 
> We (as a company) want to send one full-backup tape per week to Iron
> Mountain for secure offsite storage.
> 
> I (as sysadmin) want to have a bit-for-bit copy of that full-backup so
> we can do our daily incrementals against it. Thus Iron Mountain becomes
> a last-resort disaster recovery solution which we'll hopefully never
> need to call on.
> 
> Is this possible without having to run two sets of backups each night? 
> 
> Cheers,
> Gavin.
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> 
> 
> 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore a specific job

2007-10-09 Thread Raphael Perrin


Hi,

I'd like to add the jobid to restore in the bacula-dir.conf. Is this possible ?

Job {
  Name = "CheckRestore"
  Type = Restore
  Client = castor-fd
  FileSet = "CheckData"
  Schedule = "RestoreCycle"
  RunBeforeJob = "/etc/bacula/scripts/getJobId"
  JobId="cat /root/bacula.JobId"
  Storage = Exabyte
  Pool = Default
  Messages = Standard
  Where = /data/backup/
}



Best regards
Raphael



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage <-> Volumes <-> Pool - Newbie

2007-10-09 Thread StevenE

Hi everybody,

I have the following problem
What happens if a job run and the free space of a media go to zero.
Can I add a volume in the pool for the same job on an other storage? So that
the backuo can continue even though the free space of the first media is
zero?

Or how is that problem to solve?

Greetz
Steven


-- 
View this message in context: 
http://www.nabble.com/Storage-%3C-%3E-Volumes-%3C-%3E-Pool---Newbie-tf4587274.html#a13094037
Sent from the Bacula - Users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] mysql error at bacula install

2007-10-09 Thread monsk

Hi there,

After some recent woes with bacula (1.36.2) on Debian 3.1 I have decided
to re-install. My mySQL is going OK,I have various other scripts happily
using it, but when trying to re-install bacula I got the following error:


Checking DB connectivity...Ok.
Creating Catalog "bacula" ...Ok.
Creating tables ...Ok.
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
dpkg: error processing bacula-director-mysql (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula:
 bacula depends on bacula-director-sqlite (= 1.36.2-2sarge1) |
bacula-director; however:
  Package bacula-director-sqlite is not installed.
  Package bacula-director is not installed.
  Package bacula-director-sqlite which provides bacula-director is not
installed.
  Package bacula-director-mysql which provides bacula-director is not
configured yet.
dpkg: error processing bacula (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bacula-director-mysql
 bacula
E: Sub-process /usr/bin/dpkg returned an error code (1)


I was using 'apt-get install bacula' and 'apt-get install
bacula-director-mysql'  from a local repo to re-install the same old
version (on account of wanting to use the same 'bacula.db' we have used
for the past year and not being sure about updating)

After 'apt-get install bacula-director-mysql' I was prompted for 'MySQL
'root' password' which I entered correctly (I hope...) and that's when it
bailed with the above output.

What am I doing wrong?

I would be extremely grateful for any advice (as always!)

Thanks,
Kris



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bconsole problem

2007-10-09 Thread mucimon

Hi! I have a problem with a bconsole from bacula 1.38.11-8 from debian etch.
When execute bconsole I have this :

[EMAIL PROTECTED]:~$ sudo bconsole
request 1 done
request 2 done
request 3 done
request 4 done
Connecting to Director servstudio:9101

and nothing.

In netstat results opened the ports referred to bacula:

[EMAIL PROTECTED]:~$ netstat -l |grep bacula
tcp0  0 localhost:bacula-dir*:* LISTEN
tcp0  0 localhost:bacula-fd *:* LISTEN
tcp0  0 localhost:bacula-sd *:* LISTEN

Any idea ?
-- 
View this message in context: 
http://www.nabble.com/bconsole-problem-tf4493342.html#a12815034
Sent from the Bacula - Users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [OT] Postgresql database enconding and heterogeneous clients

2007-10-09 Thread David Ballester
Hi to all:

I've the bacula catalog under Postgresql and the database was created
with UTF8 encoding. Now, trying to protect one 'old' client ( REDHAT 3 )
I get errors from backup job - better said, the errors are raised in the
database - claiming for some characters not valid fro UTF8 encoding,
example

"
Fatal error: sql_create.c:845 sql_create.c:845 query SELECT FilenameId
FROM Filename WHERE Name='Nenúfares.jpg' failed:
"

IIUC, here I have three possible ways taking in mind that the
environment to protect could include UTF8 clients, ISO-8859-1, Windows
machines -By now I don't know default enconding, etc...


1.- Recreate catalog using SQL_ASCII ( the environment to protect could
include UTF8 clients, ISO-8859-1, Windows machines -By now I don't know
default enconding, etc... )

2.- May be, forcing character set in the bacula-fd client processes I
get at least a 'buggy chars' but storable in the database ( ? ) ( This
can be accomplished in Oracle at the risk of lose this characters if you
export/import data )

3.- Touch database config to force character set from UTF8 to SQL_ASCII,
but I don't know how Postgresql stores characters and then, I've no
knowledge about implications of this movement.



Based in your experience, and if you have get this issue before, what
should be the correct way? If you know more ways info is wellcome, of
course.


Best Regards


D.






-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] backup win32 client successful termination, but size and rate are both 0!

2007-10-09 Thread shawn
I am new for Bacula. I am testing backup windows file now. I install win32
client and can communicate with Linux director. When I run the job, all seems
are fine, except the backup size and rate are both 0: 

20-Sep 11:00 imcamk-vm02-dir: Start Backup JobId 35,
Job=immash-w006.2007-09-20_11.00.07
20-Sep 11:00 imcamk-vm02-dir: Using Device "FileStorage"
20-Sep 11:00 imcamk-vm02-sd: Volume "TestVolume001" previously written, moving
to end of data.
20-Sep 11:00 imcamk-vm02-sd: Ready to append to end of Volume "TestVolume001"
size=45670201
20-Sep 10:58 immash-w006-fd: No drive letters found for generating VSS 
snapshots.
20-Sep 11:00 imcamk-vm02-sd: Job write elapsed time = 00:00:08, Transfer rate =
0  bytes/second
20-Sep 11:00 imcamk-vm02-dir: Bacula imcamk-vm02-dir 2.2.3 (09Sep07):
20-Sep-2007 11:00:17
  Build OS:   i686-pc-linux-gnu redhat
  JobId:  35
  Job:immash-w006.2007-09-20_11.00.07
  Backup Level:   Full
  Client: "immash-w006-fd" 2.2.2 (06Aug07) 
Linux,Cross-compile,Win32
  FileSet:"Win Set" 2007-09-19 12:23:16
  Pool:   "Default" (From Job resource)
  Storage:"File" (From Job resource)
  Scheduled time: 20-Sep-2007 11:00:02
  Start time: 20-Sep-2007 11:00:09
  End time:   20-Sep-2007 11:00:17
  Elapsed time:   8 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  VSS:yes
  Encryption: no
  Volume name(s): TestVolume001
  Volume Session Id:  1
  Volume Session Time:1190300392
  Last Volume Bytes:  45,670,601 (45.67 MB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

20-Sep 11:00 imcamk-vm02-dir: Begin pruning Jobs.
20-Sep 11:00 imcamk-vm02-dir: No Jobs found to prune.
20-Sep 11:00 imcamk-vm02-dir: Begin pruning Files.
20-Sep 11:00 imcamk-vm02-dir: No Files found to prune.
20-Sep 11:00 imcamk-vm02-dir: End auto prune.

Anyone can help me?


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] solaris zfs

2007-10-09 Thread Markus Goldberg
Hi,
what is the status of backing up Solaris-10-zfs-filesystems?

Files seems to be backuped but i get the following error-message(s):
Warning: backup.c:974 Error reading ACL of /export/mail/

bye,
   Markus


Markus Goldberg | Universität Hildesheim
 | Rechenzentrum
Tel +49 5121 883203 | Marienburger Platz 22, D-31141 Hildesheim, Germany
Fax +49 5121 883205 | email [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] TL2000 tape drive

2007-10-09 Thread Chen
Hi All,

Just wondering has anyone tried testing any version of bacula with the 
DELL Power vault TL2000 tape library LTO3 or LTO4 types on a linux server ?

thanks,
KC

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-2.2.4 rpm release

2007-10-09 Thread Scott Barninger
I have released the rpm package for 2.2.4 to sourceforge. One item of
note is that I did not release a bacula-mysql package for rhel3 due to a
problem with the current code and mysql-3.23.x.

Bacula-2.2 RPM Release Notes
15 September 2007
D. Scott Barninger


Release 2.2.4-1

This release incorporates a number of significant changes since 1.38.

These release notes refer to the rpm packaging only.
Please refer to the release notes and changelog in the
tarball or on sourceforge for complete information on all changes.


*
* Miscellaneous *
*

Added build targets for rhel5 and clones.

Build target added for Scientific Linux (RHEL clone) thanks to Jon
Peatfield.

Merged Otto Mueller's patch changing some directory locations for FHS
compatibility
but retaining the script directory as /etc/bacula.

gnome-console and wxconsole have been renamed to bgnome-console and
bwx-console 
respectively.

***
* bat (Bacula Admin Tool) *
***

A new subpackage has been added for the new bat QT-based GUI
administration tool.
This requires QT >= 4.2

--define "build_bat 1"

***
* Gnome console dropped on some platforms *
***

The gconsole package has been dropped on older gnome platforms (gtk+ <
2.4). 
Changes in the gnome api and code produced by Glade no longer build. 
In addition, the tray monitor now fails to build on < 2.10 platforms.
gconsole is now not built on the following platforms:
rh7, rh8, rh9, rhel3 (and clones), fc1, fc3, fc4, mdk, su9, su10


* Third party packager support *


A new build tag added to support third party packagers to replace the
information in the Packager: tag in the rpm. Invoking
--define "contrib_packager Your Name <[EMAIL PROTECTED]>"
will substitute your packager identification.

Users interested in building packages for platforms not normally
published
should examine the platforms/contrib-rpm directory in the source code.

***
* Option to build client only *
***

A build define to build the client rpm package only added. This turns 
off all database builds, gnome console and wxconsole.
--define "build_client_only 1"


* Python support added *


Support for compiling with python scripting support added. This is off 
by default but can be enabled with:
--define "build_python 1"
Released binary packages are built with python support.

***
* Database update *
***

The 2.x release requires an update to the bacula database structure
from version 9 to version 10. A pre-install routine has been added to
check for databases older than 9. In that event the install will exit
with an error message indicating that the database must be updated to
version 9 before installing this upgrade. Scripts for updating older
database formats are available for download in the bacula-updatedb
rpm package. In the event a version 9 database is detected a
post-install 
routine will update the database after creating a backup file in the 
bacula working directory.

**
* Platform Notes *
**

The spec file currently supports building on the following platforms:

# RedHat builds
--define "build_rh7 1"
--define "build_rh8 1"
--define "build_rh9 1"

# Fedora Core build
--define "build_fc1 1"
--define "build_fc3 1"
--define "build_fc4 1"
--define "build_fc5 1"
--define "build_fc6 1"

# Whitebox Enterprise build
--define "build_wb3 1"

# RedHat Enterprise builds
--define "build_rhel3 1"
--define "build_rhel4 1"
--define "build_rhel5 1"

# CentOS build
--define "build_centos3 1"
--define "build_centos4 1"
--define "build_centos5 1"

# Scientific Linux build
--define "build_sl3 1"
--define "build_sl4 1"
--define "build_sl5 1"

# SuSE build
--define "build_su9 1"
--define "build_su10 1"
--define "build_su102 1"

# Mandrake 10.x build
--define "build_mdk 1"

# Mandriva build
--define "build_mdv 1"

**
* Database build options *
**

Database support (must select one or build client only)

MySQL support:
--define "build_mysql 1"
# OR if using mysql 4.x define this
# currently: Mandrake 10.x, SuSE 9.x & 10.0, RHEL4, fc4
--define "build_mysql4 1"
# OR if using mysql 5.x define this
# currently: SuSE 10.1, fc5
--define "build_mysql5 1"

PostgreSQL support:
--define "build_postgresql 1"

Sqlite support:
--define "build_sqlite 1"

***
* Other build options *
***

Supress build of Gnome Console:
--define "nobuild_gconsole 1"

Enable X86-64 support
--define "build_x86_64 1"

This build switch remains but should no longer be necessary. The
configure script 
was adjusted in the 1.39 development series to correctly detect the
location of 
64 bit libraries.

Enable wxcons

[Bacula-users] DDS-4

2007-10-09 Thread Naira Kaieski
Hi,

I want activate the hardware compression in my SCSI Tape Sony SDT-1. 
I'm using DDS4 tapes, but i can store only 17GB in each tape and with de 
hardware compression i could store 40GB.
How i can make this?
I already tried: (mt -f /dev/nst0 defcompression 1) but de tape test 
show me a message that i must define de maximum block size and de 
minimun block size. Where i can find this values?

Thanks,

Naira

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-fd maximum memory usage

2007-10-09 Thread le dahut
Hello,

We have some problems with bacula-fd. On many sites where bacula is 
used, we see some servers going on alert due to more than 95% of swap 
usage. top says :

top - 11:09:27 up 84 days,  2:46,  1 user,  load average: 0.86, 0.31, 0.10
Tasks: 175 total,   2 running, 172 sleeping,   0 stopped,   1 zombie
Cpu(s):  50.5% user,   5.0% system,   0.0% nice,  44.6% idle
Mem:   1032140k total,  1021716k used,10424k free, 3652k buffers
Swap:   257000k total,   237160k used,19840k free,57004k cached

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  Command
20820 root   9   0  565m 358m 1720 S  0.0 35.6   0:00.00 bacula-fd
20824 root   9   0  565m 358m 1720 S  0.0 35.6   0:11.45 bacula-fd
20825 root   9   0  565m 358m 1720 S  0.0 35.6   0:01.58 bacula-fd
  9356 root  14   0  179m 179m 1304 R 99.9 17.8  29:01.89 clamd
  9454 root   8   0  179m 179m 1304 S  0.0 17.8   0:00.31 clamd
23599 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.12 perl5.8.0
23601 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.30 perl5.8.0
23603 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.28 perl5.8.0
19654 sympa  9   0 23680  23m 3220 S  0.0  2.3  10:46.90 task_manager.pl
20779 root   9   0 16888  16m 2408 S  0.0  1.6   0:01.99 bacula-dir
20788 root   9   0 16888  16m 2408 S  0.0  1.6   0:12.14 bacula-dir
20789 root   9   0 16888  16m 2408 S  0.0  1.6   0:00.00 bacula-dir
20790 root   9   0 16888  16m 2408 S  0.0  1.6   0:01.58 bacula-dir
19621 sympa  9   0 15884  15m 2992 S  0.0  1.5   0:36.45 sympa.pl
19632 sympa  9   0 15500  15m 2900 S  0.0  1.5   0:17.02 archived.pl
19643 sympa  9   0 15036  14m 2908 S  0.0  1.5   0:28.19 bounced.pl
19590 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.67 mysqld
19597 mysql  8   0 14928  14m 3824 S  0.0  1.4   0:04.22 mysqld
19598 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19599 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19600 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19601 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19605 mysql  9   0 14928  14m 3824 S  0.0  1.4   1:24.20 mysqld
19606 mysql  9   0 14928  14m 3824 S  0.0  1.4   1:05.15 mysqld
19607 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld


I have to restart bacula-fd, why ? what's happening ?!

K.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Will 1.38 director/sd work with a 2.2 fd?

2007-10-09 Thread Bill Moran

Can anyone confirm whether this combination works or not?

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

[EMAIL PROTECTED]
Phone: 412-422-3463x4023


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job asks for label after "mount", unmount states not mouned.

2007-10-09 Thread Mike Mestnik
Am i crazy or should "mount jobid=16" cause that job to
unmount the just mounted volume and complain that I need to label.

Any method of mounting causes the jobid to sqwak about not
having a volume, and the device is unmounted.

When I use the File backend how do I select what volume to mount?

The  best I can do is cancel the job, delete the volume.  ruining the
job then asks for a label, the the label auto-mounts and the job says
to use the label cmd(again!) and unmount reports the volume is
unmounted already.
Unfortunalty that's the loop I'm in.

I'm using these instructions:
http://www.bacula.org/dev-manual/Brief_Tutorial.html
but I'm altering the config for my setup.

autolabel would be nice, if it weren't for this problem.  I turned
autolabel and every thing else off to get things working again.

I was hoping to find some one who has seen this.

The SD is running on Linux and the FD and DIR is on FreeBSD... are
there any version mismatches I should look out for?

Eventually only the DIR will be on FreeBSD.

I'm also looking to do multiple directors, one for each class of
customer, and they may need to share SDs I could not get multiple
Directors to work in the same SD.

I'll attach some config.  I don't have access to the SD at this time,
I'm using 'ssh -i "key"' inside inetd to run 'nc' on the sd server.
If there is an interest I am posting this config here.

bacula-sd   stream tcp   nowaitroot   /usr/bin/ssh -q -T -o
BatchMode=yes -i /etc/ssh/vault7-sd_dsa_key [EMAIL PROTECTED]

# note for BatchMode to work the server's key needs to be added to the
# "system's" known_hosts file, you can also use DNS(but don't quote
# me.)  ""you will need BatchMode"" so you need to copy the key.

vault7:~visi/.ssh/authorized_keys
from=mgmt8,command="nc localhost bacula-sd", 

-- 
/
 *   Mike Mestnik: Junior Admin  612-395-8932   *
 *  [EMAIL PROTECTED]  VISI Inc.*
 /
 Alt address: [EMAIL PROTECTED]
#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.38.5 (18 January 2006) -- freebsd 6.1-RELEASE
#
#  You might also want to change the default email address
#   from root to your address.  See the "mail" and "operator"
#   directives in the Messages resource.
#

Director {# define myself
  Name = mgmt8-dir
  DIRport = 9101# where we listen for UA connections
  DirAddress = 127.0.0.1
  QueryFile = "/usr/local/share/bacula/query.sql"
  WorkingDirectory = "/var/db/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 30
  Password = "B/" # Console password
#  Messages = Daemon
  Messages = Standard
}

JobDefs {
  Name = "Vault7Job"
  Type = Backup
  Level = Incremental
  Client = mgmt8-fd 
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
#  Storage = vault7-sd
  Storage = vault7-FileStorage
  Messages = Standard
  Pool = Vault7
  Priority = 10
}

JobDefs {
  Name = "VaultXJob"
  Type = Backup
  Level = Incremental
  Client = mephisto.visi.com
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
#  Storage = VaultX-sd
  Storage = vaultX-FileStorage
  Messages = Standard
  Pool = VaultX
  Priority = 10
}


#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp
#Job {
#  Name = "Client1"
#  JobDefs = "DefaultJob"
#  Write Bootstrap = "/var/db/bacula/Client1.bsr"
#}

#Job {
#  Name = "Client2"
#  Client = freebsd2-fd
#  JobDefs = "DefaultJob"
#  Write Bootstrap = "/var/db/bacula/Client2.bsr"
#}

# Backup this host, why not?
Job {
  Name = "mgmt8"
  JobDefs = "Vault7Job"
}

# Backup the catalog database (after the nightly save)
Job {
  Name = "BackupCatalog"
  JobDefs = "Vault7Job"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/local/share/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client= mgmt8-fd 
  FileSet="Full Set"  
  Storage = vault7-sd
  Pool = Vault7
  Messages = Standard
  Where = /tmp/bacula-restores
}


# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
Options {
  signature = MD5
  compression = gzip
}
#
#  Put your list of files here, preceded by 'File =', one per line
#or include an external list with:
#

[Bacula-users] Job asks for label after "mount", unmount states not mouned.

2007-10-09 Thread Mike Mestnik
Am i crazy or should "mount jobid=16" cause that job to
unmount the just mounted volume and complain that I need to label.

Any method of mounting causes the jobid to sqwak about not
having a volume, and the device is unmounted.

When I use the File backend how do I select what volume to mount?

The  best I can do is cancel the job, delete the volume.  ruining the
job then asks for a label, the the label auto-mounts and the job says
to use the label cmd(again!) and unmount reports the volume is
unmounted already.
Unfortunalty that's the loop I'm in.

I'm using these instructions:
http://www.bacula.org/dev-manual/Brief_Tutorial.html
but I'm altering the config for my setup.

autolabel would be nice, if it weren't for this problem.  I turned
autolabel and every thing else off to get things working again.

I was hoping to find some one who has seen this.

The SD is running on Linux and the FD and DIR is on FreeBSD... are
there any version mismatches I should look out for?

Eventually only the DIR will be on FreeBSD.

I'm also looking to do multiple directors, one for each class of
customer, and they may need to share SDs I could not get multiple
Directors to work in the same SD.

I'll attach some config.  I don't have access to the SD at this time,
I'm using 'ssh -i "key"' inside inetd to run 'nc' on the sd server.
If there is an interest I am posting this config here.

bacula-sd   stream tcp   nowaitroot   /usr/bin/ssh -q -T -o
BatchMode=yes -i /etc/ssh/vault7-sd_dsa_key [EMAIL PROTECTED]

# note for BatchMode to work the server's key needs to be added to the
# "system's" known_hosts file, you can also use DNS(but don't quote
# me.)  ""you will need BatchMode"" so you need to copy the key.

vault7:~visi/.ssh/authorized_keys
from=mgmt8,command="nc localhost bacula-sd", 

-- 
/
 *   Mike Mestnik: Junior Admin  612-395-8932   *
 *  [EMAIL PROTECTED]  VISI Inc.*
 /
 Alt address: [EMAIL PROTECTED]
#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.38.5 (18 January 2006) -- freebsd 6.1-RELEASE
#
#  You might also want to change the default email address
#   from root to your address.  See the "mail" and "operator"
#   directives in the Messages resource.
#

Director {# define myself
  Name = mgmt8-dir
  DIRport = 9101# where we listen for UA connections
  DirAddress = 127.0.0.1
  QueryFile = "/usr/local/share/bacula/query.sql"
  WorkingDirectory = "/var/db/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 30
  Password = "B/" # Console password
#  Messages = Daemon
  Messages = Standard
}

JobDefs {
  Name = "Vault7Job"
  Type = Backup
  Level = Incremental
  Client = mgmt8-fd 
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
#  Storage = vault7-sd
  Storage = vault7-FileStorage
  Messages = Standard
  Pool = Vault7
  Priority = 10
}

JobDefs {
  Name = "VaultXJob"
  Type = Backup
  Level = Incremental
  Client = mephisto.visi.com
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
#  Storage = VaultX-sd
  Storage = vaultX-FileStorage
  Messages = Standard
  Pool = VaultX
  Priority = 10
}


#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp
#Job {
#  Name = "Client1"
#  JobDefs = "DefaultJob"
#  Write Bootstrap = "/var/db/bacula/Client1.bsr"
#}

#Job {
#  Name = "Client2"
#  Client = freebsd2-fd
#  JobDefs = "DefaultJob"
#  Write Bootstrap = "/var/db/bacula/Client2.bsr"
#}

# Backup this host, why not?
Job {
  Name = "mgmt8"
  JobDefs = "Vault7Job"
}

# Backup the catalog database (after the nightly save)
Job {
  Name = "BackupCatalog"
  JobDefs = "Vault7Job"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/local/share/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client= mgmt8-fd 
  FileSet="Full Set"  
  Storage = vault7-sd
  Pool = Vault7
  Messages = Standard
  Where = /tmp/bacula-restores
}


# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
Options {
  signature = MD5
  compression = gzip
}
#
#  Put your list of files here, preceded by 'File =', one per line
#or include an external list with:
#

Re: [Bacula-users] Fun with an HP 1/8 autoloader

2007-10-09 Thread Allan Black
Have a look at
http://www.cs.earlham.edu/~charliep/mtx/mtx-1.2.17rel/FAQ

Check the autoloader is in 'random' mode, not 'stacker' mode.

Allan

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] label on tape lost

2007-10-09 Thread Martin Simmons
> On Tue, 9 Oct 2007 08:08:30 +0200 (CEST), Paul Muster said:
> 
> Hello everybody,
> 
> 
> for some reason - maybe I did something that caused it, but I don't
> remember - one of my tapes has no label any more. Hence during restore
> bacula does not recognize the tape:
> 
> 07-Okt 23:59 server: RestoreFiles.2007-10-07_23.57.27 Error: block.c:263
> Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
> 07-Okt 23:59 server: RestoreFiles.2007-10-07_23.57.27 Warning:
> acquire.c:146 Requested Volume "L20002" on "LTO-2-Laufwerk" (/dev/nst0) is
> not a Bacula labeled Volume, because: ERR=block.c:263 Volume data error at
> 0:0! Wanted ID: "BB02", got "". Buffer discarded.
> 
> We discussed a similar problem in [1] but the last idea (relabeling option
> in btape) was not commented any more.
> 
> How can I write a label to the tape without an EOF after the label? I know
> the length of the label (see above), so following data would not be
> destroyed, I think.

I don't think it is possible.  The label is part of the first tape file and
tapes don't support rewriting in the middle or at the start (only appending).


> How can I make a dump of the tape to disk, so that I have more than one
> try on this? I tried dd, but this needs a block device as source.

What error did it give?  dd if=/dev/nst0 of=/tmp/file should work.

Note however, that you probably won't be able to read anything useful from
this tape, only the zero length file at that was written over the label.

__Martin

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] understanding "status" of serveral daemons.

2007-10-09 Thread IEM - network operating center (IOhannes m zmoelnig)
hi

mysteriously the list of terminated jobs have been synched during the 
backup cycle last night. so i am happy again :-)


Arno Lehmann wrote:
> Hi,
> 
> You're looking at the state of terminated jobs. If the daemon in 
> question didn't save its state information before shutdown or restart, 
> that information will not be updated.

thanks for your answer.

however i am not aware of any shutdown/restarts or crashes of the daemons.

> Actually, I don't think this "terminated jobs" listing is useful 
> except in situations where you have more than one DIR, as more 
> detailed and *by definition* complete and correct information is 
> available in the catalog.

i see. i was under the wrong impression that the "state" command would 
actually query the catalog and be therefore complete by definition too.

mgs.dft
IOhannes




-- 
IEM - network operation center
mailto:[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] install bacula problem

2007-10-09 Thread 魏晓林
when i in stall bacula i can't compile the src file

the error like this

 
make[1]: Leaving directory `/root/bacula-2.0.3/src/cats'
==>Entering directory /root/bacula-2.0.3/src/dird
make[1]: Entering directory `/root/bacula-2.0.3/src/dird'
Linking bacula-dir ...
/usr/bin/g++  -O -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o 
authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o expand.o 
fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o 
next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o 
ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o 
ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o 
ua_tree.o ua_update.o verify.o \
  -lsql -lfind -lbac -lm   -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread  \

/usr/lib/mysql/libmysqlclient_r.a(client.o)(.text+0x1485): In function 
`mysql_close_free_options':
: undefined reference to `SSL_CTX_free'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x34): In function 
`report_errors':
: undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x79): In function 
`vio_ssl_read':
: undefined reference to `SSL_read'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x9a): In function 
`vio_ssl_read':
: undefined reference to `SSL_get_error'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0xce): In function 
`vio_ssl_write':
: undefined reference to `SSL_write'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x29f): In function 
`vio_ssl_close':
: undefined reference to `SSL_shutdown'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x2af): In function 
`vio_ssl_close':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x3e4): In function 
`sslaccept':
: undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x446): In function 
`sslaccept':
: undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x454): In function 
`sslaccept':
: undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x463): In function 
`sslaccept':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x477): In function 
`sslaccept':
: undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x485): In function 
`sslaccept':
: undefined reference to `SSL_set_accept_state'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x493): In function 
`sslaccept':
: undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x4ac): In function 
`sslaccept':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x529): In function 
`sslconnect':
: undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x585): In function 
`sslconnect':
: undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x593): In function 
`sslconnect':
: undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x5a2): In function 
`sslconnect':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x5b6): In function 
`sslconnect':
: undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x5c4): In function 
`sslconnect':
: undefined reference to `SSL_set_connect_state'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x5d2): In function 
`sslconnect':
: undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o)(.text+0x5eb): In function 
`sslconnect':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0x8): In function 
`get_dh512':
: undefined reference to `DH_new'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0x2a): In function 
`get_dh512':
: undefined reference to `BN_bin2bn'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0x49): In function 
`get_dh512':
: undefined reference to `BN_bin2bn'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0x5f): In function 
`get_dh512':
: undefined reference to `DH_free'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0x92): In function 
`report_errors':
: undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0xc6): In function 
`vio_set_cert_stuff':
: undefined reference to `SSL_CTX_use_certificate_file'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0xe6): In function 
`vio_set_cert_stuff':
: undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0xf2): In function 
`vio_set_cert_stuff':
: undefined reference to `SSL_CTX_check_private_key'
/usr/lib/mysql/libmysqlclient_r.a(viosslfactories.o)(.text+0x11d): In function 
`vio_set_cert_