Re: [Bacula-users] Need some help

2006-03-08 Thread Ryan Novosielski
I'm forgetting the name of the directive. I don't think an eject is 
possible, at all or perhaps without custom scripting, but you CAN have 
the drive mount automatically. Search the manual for Volume Poll 
Interval or something like that... can't remember the name. That should 
help.


Randy wrote:
I have installed and configured, bacula, however, I am having a minor 
problem.  The backup is too large for one tape and so it will have to 
span tapes.  Is there a way to get bacula to eject the tape when it is 
full and automatically mount the next tape when it is inserted?


Randy Morgan





--
 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 

begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/Academic Systems and Technologies
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103-2757
email;internet:[EMAIL PROTECTED]
title:185 South Orange Avenue
tel;work:(973) 972-0922
tel;fax:(973) 485-2612
x-mozilla-html:FALSE
version:2.1
end:vcard



[Bacula-users] File and Job retention??? Can they be set in the storage directive?

2006-03-08 Thread Eric Langheinrich
Does bacula support setting the file and job retention periods in the
storage directive rather than in the client directive? I have a set of
servers where I want to keep backups of most of the data for a 30 day period
and other pieces of data for a 1 year period. I'm thinking I can just run
separate jobs with separate storage directives, but that all depends on if I
can set the file and job retention periods in the storage directive rather
than the client directive? Alternatively, can the job and file retention
periods be set in the job directive? 

Any other suggestions? 

Thanks in advance, 

Eric



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Apcupsd-users] Re: Solaris usb packages related to apcupsd

2006-03-08 Thread Robert W Hartzell
On Wed, 2006-03-08 at 16:14, Adam Kropelin wrote:
> (Please send apcupsd related mail to the apcupsd-users list rather than, 
> or in addition to, me personally. That way others can benefit from the 
> discussion and offer suggestions of their own.)
> 
> Rolf wrote:
> > hello
> >
> > I noted on the apcupsd mailing archives that you have a version in
> > cvs that adds beta support for Solaris (and Mac OS X) USB connections
> > to various UPSes.
> >
> > You said that you need SUNWlibusb and SUNWlibusbugen packages for the
> > drivers.  Try as I might I cannot find them anywhere. Several places
> > mentions, as you do, the Supplement cd. But I cannot find them on any
> > of of the Supplement cds for solaris 8,9 or 10.
> >
> > Are you able to either supply the packages or give me a specific
> > directory on a specific Solaris cd in which they may be found?
> 
> They're on cd 4 of Solaris 10. Don't know about the others.
> 
> --Adam

I think theses are installed as part of "core solaris" on Sol 10 3/5 and
newer.
I don't know about older releases because usb support was just reworked
last year and
may not have been put back as far as Sol 8. 
Try pkginfo to see if their installed. 

$ pkginfo -l | grep SUNWlibusb
   PKGINST:  SUNWlibusb
   PKGINST:  SUNWlibusbugen

$ cat /etc/release
  Solaris 10 3/05 s10_74L2a X86
   Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 22 January 2005


Robert



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to specify "machine address"?

2006-03-08 Thread Helmut Raubenheimer
In bacula user's manual (page 96) I read: "The second change was to add 
a new Client resource that defines matou-fd and has the correct address, 
but in real life, you may need a fully qualified machine address or an 
IP address."


I assume it should read: "... but in real life, you will need ...". Well 
since IP addresses are generated by dhcp I won't be able to code the IP 
addresses, so I will have to use the socalled machine address. What is 
it? Is it a MAC address? Or something else?
To me "fully qualified machine address" means the FQDN eg. 
myxpbox.example.com


Don't know if there is another (better) solution out there ...
I would recommend either
to use Dynamic dns and specifiy the clients by their fqdn.
or
instruct the dhcp-server to always assign the same ip to the clients 
based on the mac-address. Most routers are able to do this.
If your wlan-router is not able to do so, think about using dhcpd on the 
fedora-box and disable dhcp on the router.

or
use static ip on both clients.

Kind regards

Helmut



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to specify "machine address"?

2006-03-08 Thread Erik P. Olsen
I have now installed bacula 1.38.5 on my Fedore 3 and it is working 
beautifully backing up only this linux system. My next step is to add 
the back-up of two windows systems (a W2K and an XP). The three boxes 
are connected on a LAN through a wireless router which provides the 
IP-addresses dynamically via dhcp.


In bacula user's manual (page 96) I read: "The second change was to add 
a new Client resource that defines matou-fd and has the correct address, 
but in real life, you may need a fully qualified machine address or an 
IP address."


I assume it should read: "... but in real life, you will need ...". Well 
since IP addresses are generated by dhcp I won't be able to code the IP 
addresses, so I will have to use the socalled machine address. What is 
it? Is it a MAC address? Or something else?


--
Regards,
Erik P. Olsen


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Retention / recycling clarification

2006-03-08 Thread Helmut Raubenheimer

Hi,

as long as bacula finds appendable volumes it tries to append to them.
The volume retention period begins when the volume status changes from 
append to whatever.


Add eg.
Volume Use Duration = 20 hours
to the pool resource and bacula will change status from appendable to 
used 20 hours after first use. After the volume status has changed the 
volume retention period begins.


Regards

Helmut



Jeremy Koppel schrieb:

Hello,

 

I’m getting some behavior I didn’t expect while trying to 
set up a rotation schedule for one of the sites I manage.  They have a 
single server with a single VS160 tape drive.  I have it run a full 
backup early Thursday and incrementals fri-wed; and have 2 tapes per 
pool, which I plan to rotate.  Config is below.


 

Trouble is, from the ‘list volumes’ command, it looks like 
Bacula will want to append to the DailyA1 tape, instead of rewinding the 
tape and overwriting it from scratch.  And I actually had that happen at 
our main site, too; it kept appending until the backup failed in the 
middle, asking for a new tape.  How do I get it to really recycle the tape?


 

 


Thanks!

 


--Jeremy Koppel

 

 

 


*_Shortened output from ‘list volumes’:_*

+-++---++--+--+-+--+---+---+-+

| mediaid | volumename | volstatus | volbytes   | volfiles | 
volretention | recycle | slot | inchanger | mediatype | lastwritten  |


+-++---++--+--+-+--+---+---+-+

|   1 | DailyA1| Append| 33,101,955,019 |   46 |  
777,600 |  1 |0 |  1 | VS160 | 2006-03-01 
01:00:32 |


 

 


*_Config:_*

*_ _*

# * Schedules *

Schedule {

  Name = "BiweeklyCycle"

  Run = Level=Full Pool=Weekly thu at 1:00

  Run = Level=Incremental Pool=Daily fri-wed at 1:00

}

 

 


# *** Pools ***

Pool {

  Name = Daily

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 9

  Accept Any Volume = yes

}

 


Pool {

  Name = Weekly

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 9 days .

  Accept Any Volume = yes

}




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Trouble restoring backed up file

2006-03-08 Thread drescher0110-bacula


--- Michael Morgan <[EMAIL PROTECTED]> wrote:

> I am trying to restore a single file or directory from a full backup 
> job. However, when I specify the jobid in the console, it just sits 
> there telling me it is building the file tree. I tried it from a 
> smaller, incremental job, and it seemed to build the tree ok, but this 
> large full backup just doesn't happen.
> 
> The backup job is 102k file count and approximately 18GB. How long 
> should I expect this to take to build the file tree?
> 

This can be a very long time (1 hour or more) if you are using an older version 
of
bacula or do not have the indexes setup correctly in a more recent version.

John


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Retention / recycling clarification

2006-03-08 Thread Jeremy Koppel








Hello,

 

    I’m
getting some behavior I didn’t expect while trying to set up a rotation
schedule for one of the sites I manage.  They have a single server with a
single VS160 tape drive.  I have it run a full backup early Thursday and
incrementals fri-wed; and have 2 tapes per pool, which I plan to rotate. 
Config is below.

 

    Trouble
is, from the ‘list volumes’ command, it looks like Bacula will want
to append to the DailyA1 tape, instead of rewinding the tape and overwriting it
from scratch.  And I actually had that happen at our main site, too; it
kept appending until the backup failed in the middle, asking for a new tape. 
How do I get it to really recycle the tape?

 

 

Thanks!

 

--Jeremy Koppel

 

 

 

Shortened output from ‘list volumes’:

+-++---++--+--+-+--+---+---+-+

| mediaid | volumename | volstatus |
volbytes   | volfiles | volretention |
recycle | slot | inchanger | mediatype | lastwritten  |

+-++---++--+--+-+--+---+---+-+

|   1 |
DailyA1    | Append    | 33,101,955,019
|   46 | 
777,600 |  1 |   
0
| 
1 | VS160 | 2006-03-01 01:00:32 |

 

 

Config:

 

# * Schedules
*

Schedule {

  Name = "BiweeklyCycle"

  Run = Level=Full Pool=Weekly thu at 1:00

  Run = Level=Incremental Pool=Daily fri-wed at 1:00

}

 

 

# *** Pools
***

Pool {

  Name = Daily

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 9 

  Accept Any Volume = yes

}

 

Pool {

  Name = Weekly

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 9 days .

  Accept Any Volume = yes

}









Re: [Bacula-users] Trouble restoring backed up file

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 13:33, Michael Morgan wrote:

> I am trying to restore a single file or directory from a full backup 
> job. However, when I specify the jobid in the console, it just sits 
> there telling me it is building the file tree. I tried it from a 
> smaller, incremental job, and it seemed to build the tree ok, but this 
> large full backup just doesn't happen.
> 
> The backup job is 102k file count and approximately 18GB. How long 
> should I expect this to take to build the file tree?

What version?

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Effects of attribute Ignore FileSet Changes (FileSet resource)

2006-03-08 Thread Karl Cunningham

Baptiste Malguy wrote:

Hello,
My sequence:

Step 1
- Ignore FileSet Changes = no
- File = /home/test/d1
- Requesting an incremental backup. It is actually incremental (the full
done previously with the same setting)

Step 2
- Ignore FileSet Changes = yes
- File = /home/test/d1
- Requesting an incremental backup. Still observe an incremental.
- No new FileSet checksum

Step 3
- Ignore FileSet Changes = yes
- File = /home/test/d2 (d1 and d2 have diffrent contents)
- Requesting an incremental backup. Still observe an incremental. (d2 is
backuped)
- No new FileSet checksum

Step 4
- Ignore FileSet Changes = no
- File = /home/test/d2
- Requesting an incremental backup. Still observe an incremental. (d2 is
backuped _again_)
- New FileSet checksum

I'm a little surprised by the results. I'm not sure this is the designed
 behavior by the developers.


Baptiste --

Sorry, I forgot to copy the list in my first reply to this question. 
Here it is...


I won't address the question of whether a changing IgnoreFilesetChanges
should itself be deemed a fileset change.

I don't know what the intent of the developers was, but I believe what
you are describing comes down to the question of which fileset is used
as a reference to detect changes.  Two possible methods come to mind:

1. The most recent fileset used while IgnoreFilesetChanges was yes.
2. The most recent fileset used regardless of the setting of
IgnoreFilesetChanges.

Either method has its advantages and disadvantages.  I think you were
expecting method 1 but what is implemented is method 2.  I believe what
is implemented will satisfy most users' needs, but perhaps the method of
checking for changes needs to be more thoroughly described in the manual.


I'm wrong here. Only changes done in d2/ are backuped. Changes since
when ? (last Full ? Last Inc ?)


If d2 is a file, with an incremental it would be backed up if the file
changed since last time it was backed up.  If d2 is a directory, files
in it would be backed up if they changed since last time they were
backed up.  Each file is examined individually.

Karl Cunningham






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling Bacula on RHEL4

2006-03-08 Thread Martin Simmons
> On Wed, 08 Mar 2006 19:04:47 +, "Beren Gamble" <[EMAIL PROTECTED]> 
> said:
> 
> Hi!
> 
> Can someone please make sense of this for me? Google couldn't help..
> 
> I've built it on another server with the same OS just fine, but this one 
> bombs with this error
> 
> + make mtx
> Building mtx
> (cd `echo mtx-*`; ./configure; make)
> loading cache ./config.cache
> checking host system type... configure: error: can not guess host type; you 
> must specify one
> make[1]: Entering directory `/usr/src/redhat/BUILD/depkgs/mtx-1.2.17kes'
> make[1]: *** No targets specified and no makefile found.  Stop.
> make[1]: Leaving directory `/usr/src/redhat/BUILD/depkgs/mtx-1.2.17kes'
> make: *** [mtx] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.5853 (%build)
> 
> here's the build command I use:
> rpmbuild --rebuild --define "build_rhel4 1" --define "build_mysql4 1" 
> bacula-1.38.5-4.src.rpm

Maybe some autoconf snafu?  I can't find that error message in the configure
script from Bacula's main source distribution, so maybe it was generated
locally on your machine?

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Trouble restoring backed up file

2006-03-08 Thread Michael Morgan
I am trying to restore a single file or directory from a full backup 
job. However, when I specify the jobid in the console, it just sits 
there telling me it is building the file tree. I tried it from a 
smaller, incremental job, and it seemed to build the tree ok, but this 
large full backup just doesn't happen.


The backup job is 102k file count and approximately 18GB. How long 
should I expect this to take to build the file tree?


Thanks
--
Michael L. Morgan
Director of Operations
Iodynamics, LLC
(435) 760-1046


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Compiling Bacula on RHEL4

2006-03-08 Thread Beren Gamble
Hi!

Can someone please make sense of this for me? Google couldn't help..

I've built it on another server with the same OS just fine, but this one bombs 
with this error

+ make mtx
Building mtx
(cd `echo mtx-*`; ./configure; make)
loading cache ./config.cache
checking host system type... configure: error: can not guess host type; you 
must specify one
make[1]: Entering directory `/usr/src/redhat/BUILD/depkgs/mtx-1.2.17kes'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/src/redhat/BUILD/depkgs/mtx-1.2.17kes'
make: *** [mtx] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.5853 (%build)

here's the build command I use:
rpmbuild --rebuild --define "build_rhel4 1" --define "build_mysql4 1" 
bacula-1.38.5-4.src.rpm

Thanks,

Beren


Beren Gamble
Network Analyst
Technical Team, Harrow IT Services
020 8424 1485 (int. ext. 2485)
[EMAIL PROTECTED] 


***
Mail FROM London Borough of Harrow:
Unencrypted electronic mail is not secure and may not be authentic, in whole or 
in part. You are advised to check directly with the sender before acting upon 
any e-mail received. 

The information contained in this message and any attachments is confidential 
and is intended for receipt by the above named addressee(s) only. If you have 
otherwise encountered this message please notify its originator via +44(0)20 
8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, 
copying or alteration of this message is strictly forbidden. The  views 
expressed within this message are those of the individual sender and not 
necessarily those of Harrow Council.

Mail TO London Borough of Harrow:
London Borough of Harrow monitors all electronic mail it receives for Policy 
compliance and to protect its systems including anti-spam and anti-virus 
measures. 

Electronic mail does not guarantee delivery, nor notification of non-delivery. 
It is suggested you contact your intended recipient(s) by other means should 
confirmation of receipt be important.
***



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] TLS not working with any certificate

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 19:33, Andreas Aronsson wrote:

> 
> 
> Dan Langille wrote: 
> 
> and bacula-fd.conf:
> 
> # List Directors who are permitted to contact this File 
> daemon
> 
> #
> 
>   ; 
> Director {
>  Name = x-dir
> .
> 
>  TLS Require = yes
>  TLS Verify Peer = no
> 
> 
> shouldn't this be yes?  It is for me.
> 
> 
> Changed to yes, same result...
> 
>  # Allow only the Director to 
> connect
> 
> 
>  TLS Allowed CN = "this.example.cxx"
> 
> 
> This must be the director.  is it?
> 
> 
> put in the director ( the hostname, tried with fully qualified as well
> as the short version) all at once. I got a list with Allowed CN's
> now...
> 
> 
>  TLS CA Certificate File = /etc/ssl/certs/cacert.org.pem
>  # This is a server certificate. It is used by 
> connecting
> 
>  # directors to verify the authenticity of this file 
> daemon
> 
>  TLS Certificate = /etc/ssl/x/cert.pem
>  TLS Key = /etc/ssl/x/key.pem
> 
> 
> This must be the cert fo the director.  is it?
> 
> 
> I use the same one for all three, and the only thing it checks is the
> CN if I have understood things correctly. Which would actually even
> allow any cert that presents itself with a "Allowed CN" be admissed...
> 
> 
> 
> SO the director should be able to TLS, and the fd should let the
> director in, no?
> 
> 
> Yes.
> 
> 
> Also, do you certs have the passwords removed?
> 
> 
> 
> 
> Good idea!
> Removed with 
> openssl rsa -in key.pem -out new.key
> mv new.key key.pem
> 
> I really appreciate the help, but still the director shuns TLS =(

Remind me again, what you're doing and the symptoms?  I'm not 
convinced it's the Director.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] TLS not working with any certificate

2006-03-08 Thread Andreas Aronsson






Dan Langille wrote:

  

and bacula-fd.conf:

# List Directors who are permitted to contact this File 
daemon

#

  ; 
Director {
 Name = x-dir
.

 TLS Require = yes
 TLS Verify Peer = no

  
  
shouldn't this be yes?  It is for me.

  

Changed to yes, same result...


  
  
 # Allow only the Director to 
connect


 TLS Allowed CN = "this.example.cxx"

  
  
This must be the director.  is it?
  


put in the director ( the hostname, tried with fully qualified as well
as the short version)
all at once. I got a list with Allowed CN's now...

  
  
  
 TLS CA Certificate File = /etc/ssl/certs/cacert.org.pem
 # This is a server certificate. It is used by 
connecting

 # directors to verify the authenticity of this file 
daemon

 TLS Certificate = /etc/ssl/x/cert.pem
 TLS Key = /etc/ssl/x/key.pem

  
  
This must be the cert fo the director.  is it?
  


I use the same one for all three, and the only thing it checks is the
CN if I have understood things correctly. Which would actually even
allow any cert that presents itself with a "Allowed CN" be admissed...


  
  
  
SO the director should be able to TLS, and the fd should let the
director in, no?

  
  
Yes.


Also, do you certs have the passwords removed?

  
  


  

Good idea!
Removed with 
openssl rsa -in key.pem -out new.key
mv new.key key.pem

I really appreciate the help, but still the director shuns TLS =(







---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Effects of attribute Ignore FileSet Changes (FileSet resource)

2006-03-08 Thread Baptiste Malguy
Baptiste Malguy a écrit :
> My sequence:
> 
> Step 1
> - Ignore FileSet Changes = no
> - File = /home/test/d1
> - Requesting an incremental backup. It is actually incremental (the full
> done previously with the same setting)
> 
> Step 2
> - Ignore FileSet Changes = yes
> - File = /home/test/d1
> - Requesting an incremental backup. Still observe an incremental.
> - No new FileSet checksum
> 
> Step 3
> - Ignore FileSet Changes = yes
> - File = /home/test/d2 (d1 and d2 have diffrent contents)
> - Requesting an incremental backup. Still observe an incremental. (d2 is
> backuped)
> - No new FileSet checksum
I'm wrong here. Only changes done in d2/ are backuped. Changes since
when ? (last Full ? Last Inc ?)

> 
> Step 4
> - Ignore FileSet Changes = no
> - File = /home/test/d2
> - Requesting an incremental backup. Still observe an incremental. (d2 is
> backuped _again_)

At another try, I have nothing backuped. Necessarly I changed something
(don't know what). But one thing is sure: I have set Ignore FileSet
Changes to no, and reload bacula director.

I don't understand for now.

> - New FileSet checksum

To do proper tests, it requires to purge previous test jobs and FileSet
from the FileSet table to observe the behaviour.

-- 
Baptiste MALGUY - IT Engineer   SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68  94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
 How secure networks are managed.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] TLS not working with any certificate

2006-03-08 Thread Landon Fuller
On Mar 8, 2006, at 06:30, Andreas Aronsson wrote:# I have also tried with selfsigned certs, one for each daemon according to these instructions: # http://landonf.bikemonkey.org/code/bacula/Configuring_Bacula_Encryption.20060305184424.26351.sandbox.html Just to clarify, these instructions are for enabling data encryption (ie, encrypting/decrypting file contents), not transport encryption (ie, TLS) when using the latest Bacula CVS.

PGP.sig
Description: This is a digitally signed message part


[Bacula-users] Effects of attribute Ignore FileSet Changes (FileSet resource)

2006-03-08 Thread Baptiste Malguy
Hello,

I wonder on the effects of attribute Ignore FileSet Changes of the
FileSet resource.

I'm not sure what I have observed really corresponds to the doc neither
to some comments made by Arno sometimes ago.

>From http://www.bacula.org/dev-manual/Configuring_Director.html :

"f this directive is set to yes, any changes you make to the FileSet
Include or Exclude lists will be ignored and not cause Bacula to
immediately perform a Full backup"

I wondered about "how long" changes to Include or Exclude lists are
ignored. Is it up to:
1. you set Ignore FileSet Changes to no ?
2. the next full backup ?

My guess was:
1. Yes (sounds logical with the MD5 checksum of the FileSet)
2. I don't know.

At this point, I was to send this mail, but finally decided to do some
tests first. I've been very surprised by the results.

Arno, on a list archive on nabble.com (Google indexing), you said
(11.11.2005):

"No. I don't know if I learnt this from the manual, some release notes,
or The Hard Way(TM) but the fisrt job after adding "ignore fileset
changes" will be a full one. The reason is that the fingerprint of the
fileset, which is stored in the catalog, is changed with adding the
option, and thus this fileset is considered a new one."

I disagree. I don't observe this behavious. Set to "no" or "yes" the
attribute does not mean a new FileSet checksum and the backups are still
incremental. Maybe Bacula behavoir has changed ?

The only changes that seem to imply a new checksum and so a Full backup
next time , is changes on Files attribute, inside Include/Exclude sections.

I added/removed/modified Wilddir attributes, onefs attrs, ... still
incremental with the same FileSet checksum date and time.

Another thing I was questionning myself was: if changes are ignore for
sometimes, if I modify Files attributes, for example adding a directory,
will it be ignore up to time T (T must be defined) or not ?

I expected changes to be ignored. They are _not_.

My sequence:

Step 1
- Ignore FileSet Changes = no
- File = /home/test/d1
- Requesting an incremental backup. It is actually incremental (the full
done previously with the same setting)

Step 2
- Ignore FileSet Changes = yes
- File = /home/test/d1
- Requesting an incremental backup. Still observe an incremental.
- No new FileSet checksum

Step 3
- Ignore FileSet Changes = yes
- File = /home/test/d2 (d1 and d2 have diffrent contents)
- Requesting an incremental backup. Still observe an incremental. (d2 is
backuped)
- No new FileSet checksum

Step 4
- Ignore FileSet Changes = no
- File = /home/test/d2
- Requesting an incremental backup. Still observe an incremental. (d2 is
backuped _again_)
- New FileSet checksum

I'm a little surprised by the results. I'm not sure this is the designed
 behavior by the developers.

But I enjoy because this allows me to backup new directories or remove
some with incremental backups. I just have to set Igore FileSet Changes
to no before the next Full.

Of course, as usual, I might have missed some points. However I think
these results might interest some people and potentially Bacula developers.

PS: for those who are still reading me at this line, thank you ;-)

-- 
Baptiste MALGUY - IT Engineer   SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68  94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
 How secure networks are managed.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Bacula Director hangs

2006-03-08 Thread AGYNAMIX Torsten Uhlmann
THANK YOU!

Sure I see it :) 

Can I find somewhere collections of conf files others have created for their
setting, apart from the tutorial?

Thanks again,
Torsten.


-- 
 
Torsten Uhlmann
AGYNAMIX(R). Sheltering Talent.
 
Phone:   +49 3721 273445
Fax: +49 3721 273446
Mobile:  +49 177 5261680
Web: http://www.agynamix.de
  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Arno Lehmann
> Sent: Wednesday, March 08, 2006 5:13 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Bacula Director hangs
> 
> Hello,
> 
> On 3/8/2006 4:51 PM, AGYNAMIX Torsten Uhlmann wrote:
> > Hi,
> > 
> > I have set all Max Concurrent enries to 20. The one in the 
> directory 
> > was at '1'.
> > 
> > It now takes a bit longer until i see this behavior (there 
> are still 
> > client which are not reachable for Bacula but that's not bacula's 
> > problem.)
> > 
> > When I do a 'status director' I see the following:
> > 
> > Running Jobs:
> >  JobId Level   Name   Status
> > 
> ==
> > 14 Increme  Joshua.2006-03-08_15.05.00 is waiting for an 
> > appendable Volume
> 
> This one already tells you what is missing - a volume to write to.
> 
> > 
> > A 'status storage' shows me:
> > 
> > Device status:
> > Device "FileStorageDevice" (/backup) is not open or does not exist.
> > Device is BLOCKED waiting for media.
> 
> The same information here.
> 
> 
> > 
> > 
> > In Use Volume status:
> > 
> > 
> > This might be the problem, I just don't know why Bacula 
> tells me the 
> > Device is BLOCKED?
> > Here is my Device definition:
> > 
> > Device {
> >   Name = FileStorageDevice
> >   Media Type = File
> >   Archive Device = /backup
> >   LabelMedia = yes;   # lets Bacula label 
> unlabeled media
> >   Random Access = Yes;
> >   AutomaticMount = yes;   # when device opened, read it
> >   RemovableMedia = no;
> >   AlwaysOpen = no;
> > }
> > 
> > The Pool definition:
> > 
> > Pool {
> >   Name = Default
> >   Pool Type = Backup
> >   LabelFormat = 
> "${Client:s/-fd//t}-default-${Level}-${NumVols:p/3/0/r}"
> >   Recycle = yes   # Bacula can 
> automatically recycle
> > Volumes
> >   AutoPrune = yes # Prune expired volumes
> > #  Accept Any Volume = yes # write on any 
> volume in the pool
> >   Maximum Volume Jobs = 1
> >   Volume Retention = 6 month
> >   Maximum Volumes = 6
> > }
> > 
> > 
> > Just don't know where to look else. 
> 
> Well, you tell Bacula to put one job onto each volume and to 
> keep the volumes for six months. Also, there must only exist 
> 6 volumes maximum.
> 
> See the problem?
> 
> I'd rethink the pool setup.
> 
> Arno
> 
> > Can you see a problem?
> > 
> > Thanks,
> > Torsten.
> > 
> 
> -- 
> IT-Service Lehmann[EMAIL PROTECTED]
> Arno Lehmann  http://www.its-lehmann.de
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language that extends applications into web and 
> mobile media. Attend the live webcast and join the prime 
> developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&;
> dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Director hangs

2006-03-08 Thread Arno Lehmann

Hello,

On 3/8/2006 4:51 PM, AGYNAMIX Torsten Uhlmann wrote:

Hi,

I have set all Max Concurrent enries to 20. The one in the directory was at
'1'.

It now takes a bit longer until i see this behavior (there are still client
which are not reachable for Bacula but that's not bacula's problem.)

When I do a 'status director' I see the following:

Running Jobs:
 JobId Level   Name   Status
==
14 Increme  Joshua.2006-03-08_15.05.00 is waiting for an appendable
Volume


This one already tells you what is missing - a volume to write to.



A 'status storage' shows me:

Device status:
Device "FileStorageDevice" (/backup) is not open or does not exist.
Device is BLOCKED waiting for media.


The same information here.





In Use Volume status:


This might be the problem, I just don't know why Bacula tells me the Device
is BLOCKED?
Here is my Device definition:

Device {
  Name = FileStorageDevice
  Media Type = File
  Archive Device = /backup
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

The Pool definition:

Pool {
  Name = Default
  Pool Type = Backup
  LabelFormat = "${Client:s/-fd//t}-default-${Level}-${NumVols:p/3/0/r}"
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
#  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1
  Volume Retention = 6 month
  Maximum Volumes = 6
}


Just don't know where to look else. 


Well, you tell Bacula to put one job onto each volume and to keep the 
volumes for six months. Also, there must only exist 6 volumes maximum.


See the problem?

I'd rethink the pool setup.

Arno


Can you see a problem?

Thanks,
Torsten.



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Bacula Director hangs

2006-03-08 Thread AGYNAMIX Torsten Uhlmann
Hi,

I have set all Max Concurrent enries to 20. The one in the directory was at
'1'.

It now takes a bit longer until i see this behavior (there are still client
which are not reachable for Bacula but that's not bacula's problem.)

When I do a 'status director' I see the following:

Running Jobs:
 JobId Level   Name   Status
==
14 Increme  Joshua.2006-03-08_15.05.00 is waiting for an appendable
Volume
15 Increme  Jabez.2006-03-08_15.05.01 is waiting on max Storage jobs
16 Increme  Elia.2006-03-08_15.05.02 is waiting on max Storage jobs
17 Increme  Joshua.2006-03-08_16.35.00 is waiting on max Storage jobs
18 Increme  Jabez.2006-03-08_16.35.01 is waiting on max Storage jobs
19 Increme  Elia.2006-03-08_16.35.02 is waiting on max Storage jobs



A 'status storage' shows me:

Device status:
Device "FileStorageDevice" (/backup) is not open or does not exist.
Device is BLOCKED waiting for media.


In Use Volume status:


This might be the problem, I just don't know why Bacula tells me the Device
is BLOCKED?
Here is my Device definition:

Device {
  Name = FileStorageDevice
  Media Type = File
  Archive Device = /backup
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

The Pool definition:

Pool {
  Name = Default
  Pool Type = Backup
  LabelFormat = "${Client:s/-fd//t}-default-${Level}-${NumVols:p/3/0/r}"
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
#  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1
  Volume Retention = 6 month
  Maximum Volumes = 6
}


Just don't know where to look else. 

Can you see a problem?

Thanks,
Torsten.

-- 
 
Torsten Uhlmann
AGYNAMIX(R). Sheltering Talent.
 
Phone:   +49 3721 273445
Fax: +49 3721 273446
Mobile:  +49 177 5261680
Web: http://www.agynamix.de
  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Arno Lehmann
> Sent: Tuesday, March 07, 2006 8:23 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Bacula Director hangs
> 
> Hello,
> 
> On 3/7/2006 7:54 PM, AGYNAMIX Torsten Uhlmann wrote:
> > 
> > Hi all,
> >  
> > version 1.38.5 seems to hang on my machine the same way as 1.36. My 
> > machine is Ubuntu 5.10, AMD64, mysql database.
> >  
> > It worked for a while (3 hours or so), made some backups 
> successfully 
> > and now my wx console connects to it but nothing else (no available 
> > commands are displayed etc.) I cannot issue any command.
> >  
> > The last lines in the log are:
> >  
> >  
> > 07-Mär 18:35 kaleb.agynamix.local-dir: 
> Elia.2006-03-07_16.35.02 Warning: 
> > bnet.c:853 Could not connect to File daemon on 
> > elia.agynamix.local:9102. ERR=Keine Route zum Zielrechner 
> Retrying ...
> > 07-Mär 18:40 kaleb.agynamix.local-di
> >  
> > (The last line is exactly this way written in the log).
> 
> Yes, that's the typical result of output buffering. You need 
> the DIR to create more output so that the buffer is flushed. 
> If you want to see the end of that line, that is.
> 
> 
> > The pc here is a notebook which is not in the net currently 
> and thus 
> > could not be found.
> >  
> > I'm sure I'm doing something wrong, I just don't know what.
> 
> I can assure you that having one client unavailable doesn't 
> break Bacula usually... I could imagine that, if you've got 
> only one parallel job allowed, Bacula seems to hang but, 
> behind the scenes, quietly waits to do its work.
> 
> strace or gdb might help in such a case, and although I am an 
> amateur regarding these tools I found it simple enough to 
> prove a process is doing something using strace :-)
> 
> Anyway, what I would suggest is that you either remove the 
> job regarding the notebook from the schedule, or set up a 
> "Run Before Job" script which checks if the notebook is there 
> and exits with a return code of 1 otherwise. Ping is good for that...
> 
> Also, try setting a higher number of jobs to run in parallel 
> to make sure that it's not simply the number of allowed jobs 
> preventing communication between client and the DIR (Maximum 
> concurrent jobs, also for the FDs and SD!).
> 
> > Thanks again for your help!
> >  
> > Torsten.
> > 
> > --
> > 
> > Torsten Uhlmann
> > AGYNAMIX(R). Sheltering Talent.
> > 
> > Phone:   +49 3721 273445
> > Fax: +49 3721 273446
> > Mobile:  +49 177 5261680
> > Web: http://www.agynamix.de 
> >  
> > 
> >  
> 
> -- 
> IT-Service Lehmann[EMAIL PROTECTED]
> Arno Lehmann  http://www.its-lehmann.de
> 
> 
> 
> ---
> This SF.Net ema

Re: [Bacula-users] TLS not working with any certificate

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 16:25, Andreas Aronsson wrote:

> Alright, continuing with the "cacert-track". 
> 
> I changed the master cert to
> 
> /etc/ssl/certs/cacert.org.pem
> 
> and got:
> 
> 08-Mar 15:55 bconsole: Fatal error: bnet.c:502 TLS host certificate
> verification failed. Host x did not match presented certificate
> TLS negotiation failed Director authorization problem.
> 
> 
> Then I changed the adress directive to equal the CN in the cert
> and I'm in (=
> Thanks Dan! 
> 
> Now I can use bconsole over TLS. 
> 

Good!

> But, when I start a job with 'run' and select one I get:
> 
> 08-Mar 16:12 x-dir: x.2006-03-08_16.12.42 Fatal error: 
> Authorization problem: Remote server requires TLS.
> 
> This tells med that the director cannot use TLS when it's contacting
> the filedaemon(fd), but bacula-dir.conf looks like:
> 
> Director { # define 
> myself
> 
>  Name = x-dir
> 
>  TLS Enable = yes
>  TLS Verify Peer = yes
>  TLS Allowed CN = "this.example.cxx"
>  TLS CA Certificate File = /etc/ssl/certs/cacert.org.pem
>  # This is a server certificate, used for incoming
>  # console connections. 
>  TLS Certificate = /etc/ssl/x/cert.pem
>  TLS Key = /etc/ssl/x/key.pem
> }
> 
> 
> and bacula-fd.conf:
> 
> # List Directors who are permitted to contact this File 
> daemon
> 
> #
> 
>   ; 
> Director {
>  Name = x-dir
> .
> 
>  TLS Require = yes
>  TLS Verify Peer = no

shouldn't this be yes?  It is for me.

>  # Allow only the Director to 
> connect
> 
> 
>  TLS Allowed CN = "this.example.cxx"

This must be the director.  is it?

>  TLS CA Certificate File = /etc/ssl/certs/cacert.org.pem
>  # This is a server certificate. It is used by 
> connecting
> 
>  # directors to verify the authenticity of this file 
> daemon
> 
>  TLS Certificate = /etc/ssl/x/cert.pem
>  TLS Key = /etc/ssl/x/key.pem

This must be the cert fo the director.  is it?

> SO the director should be able to TLS, and the fd should let the
> director in, no?

Yes.


Also, do you certs have the passwords removed?

> 
> 
> Dan Langille wrote: 
> On 8 Mar 2006 at 15:30, Andreas Aronsson wrote:
> 
> 
> Hello!
> 
> I'm new to this list, but I got a lot of time invested in this.
> Any pointers much appreciated... I'm trying to get bacula to work
> using TLS. Running Gentoo Linux. I have started out trying to
> backup the same host as the one the director's residing on. IE
> dir, sd and fd on the same host. All is dandy with an ordinary
> setup ( no TLS ) Bacula version 1.38.5
> 
> Relevant config as follows (tried to follow   
> http://sourceforge.net/mailarchive/forum.php?thread_id=8938828&for
> um_id=8650 ) :
> 
> /// start config files
> 
> bconsole.conf:
> Director {
>   Name = x-dir
> 
>   TLS Require = yes
>   TLS CA Certificate File = /etc/bacula/master.cert
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> 
> bacula-dir.conf:
> Director {# define 
> myself   
> 
>   Name = x-dir
> 
>   TLS Enable = yes
>   TLS Verify Peer = yes
>   TLS Allowed CN = "this.example.cxx"
>   TLS CA Certificate File = /etc/bacula/master.cert
> #  # This is a server certificate, used for 
> incoming   
> 
> #  # console 
> connections.   
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> .
> Client {
>   Name = x-fd
>   Address = this.example.cxx
> 
>   TLS Require = yes
>   TLS CA Certificate File = /etc/bacula/master.cert
># This is a client certificate, used by the director 
> to   
> 
>  # connect to the remote file 
> daemon.   
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> 
> bacula-fd.conf:
> Director {
>   Name = x-dir
> .
> 
>   TLS Require = yes
>   TLS Verify Peer = yes
>  # Allow only the Director to 
> connect   
> 
>   TLS Allowed CN = "this.example.cxx"
>   TLS CA Certificate File = /etc/bacula/master.cert
>  # This is a server certificate. It is used by 
> connecting   
> 
>  # directors to verify the authenticity of this file 
> daemon   
> 
> 
> In my case, the above certificiate is the root cert for
> cacert.org.  Is that what you are using here?
> 
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> 
> bacula-sd.conf:
> 
> Storage { # definition of 
> myself   

Re: [Bacula-users] TLS not working with any certificate

2006-03-08 Thread Andreas Aronsson




Alright, continuing with the "cacert-track". 

I changed the master cert to

/etc/ssl/certs/cacert.org.pem

and got:

08-Mar 15:55 bconsole:  Fatal error: bnet.c:502 TLS host certificate
verification failed. Host x did not match presented certificate
TLS negotiation failed
Director authorization problem.


Then I changed the adress directive to equal the CN in the cert
and I'm in (=
Thanks Dan! 

Now I can use bconsole over TLS. 

But, when I start a job with 'run' and select one I get:

08-Mar 16:12 x-dir: x.2006-03-08_16.12.42 Fatal error:
Authorization problem: Remote server requires TLS.

This tells med that the director cannot use TLS when it's contacting
the filedaemon(fd), but bacula-dir.conf looks like:

Director {    # define
myself  

  Name = x-dir

  TLS Enable = yes
  TLS Verify Peer = yes
  TLS Allowed CN = "this.example.cxx"
  TLS CA Certificate File = /etc/ssl/certs/cacert.org.pem
 # This is a server certificate, used for incoming
 # console connections.  
  TLS Certificate = /etc/ssl/x/cert.pem
  TLS Key = /etc/ssl/x/key.pem
}


and bacula-fd.conf:

# List Directors who are permitted to contact this File
daemon 

# 
; 

Director {
  Name = x-dir
.
  
  TLS Require = yes
  TLS Verify Peer = no
 # Allow only the Director to
connect  

  TLS Allowed CN = "this.example.cxx"
  TLS CA Certificate File = /etc/ssl/certs/cacert.org.pem
 # This is a server certificate. It is used by
connecting  

 # directors to verify the authenticity of this file
daemon

  TLS Certificate = /etc/ssl/x/cert.pem
  TLS Key = /etc/ssl/x/key.pem


SO the director should be able to TLS, and the fd should let the
director in, no?


Dan Langille wrote:

  On 8 Mar 2006 at 15:30, Andreas Aronsson wrote:

  
  
Hello!

I'm new to this list, but I got a lot of time invested in this. Any 
pointers much appreciated...
I'm trying to get bacula to work using TLS.
Running Gentoo Linux.
I have started out trying to backup the same host as the one the 
director's residing on. IE dir, sd and fd on the same host.
All is dandy with an ordinary setup ( no TLS )
Bacula version 1.38.5

Relevant config as follows (tried to follow   
http://sourceforge.net/mailarchive/forum.php?thread_id=8938828&forum_id=8650 
) :

/// start config files

bconsole.conf:
Director {
  Name = x-dir

  TLS Require = yes
  TLS CA Certificate File = /etc/bacula/master.cert

  TLS Certificate = /etc/ssl/x/cert.pem
  TLS Key = /etc/ssl/x/key.pem
}

bacula-dir.conf:
Director {# define 
myself   

  Name = x-dir

  TLS Enable = yes
  TLS Verify Peer = yes
  TLS Allowed CN = "this.example.cxx"
  TLS CA Certificate File = /etc/bacula/master.cert
#  # This is a server certificate, used for 
incoming

#  # console 
connections.   

  TLS Certificate = /etc/ssl/x/cert.pem
  TLS Key = /etc/ssl/x/key.pem
}
.
Client {
  Name = x-fd
  Address = this.example.cxx

  TLS Require = yes
  TLS CA Certificate File = /etc/bacula/master.cert
   # This is a client certificate, used by the director 
to  

 # connect to the remote file 
daemon.   

  TLS Certificate = /etc/ssl/x/cert.pem
  TLS Key = /etc/ssl/x/key.pem
}

bacula-fd.conf:
Director {
  Name = x-dir
.

  TLS Require = yes
  TLS Verify Peer = yes
 # Allow only the Director to 
connect   

Re: [Bacula-users] Re: FreeBSD bare metal recovery

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 9:24, Nick Smith wrote:

> On 3/6/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> > i have a FreeBSD 4.x machine running bacula, that will be replaced
> > with a new machine.  we are wanting to use bacula to recover the data
> > from machine1 to machine2.  we have a full backup of machine1. both
> > machines are running the same version of FreeBSD.
> > after reading your documentation on the FreeBSD bare metal recovery im
> > just a little confused as to what the /mnt2/dev directories are for.
> > are they suppose to be there? am i suppose to create them?
> > im still very new to bacula and am very confused as to how to migrate
> > the data from machine1 to machine2. can you give me any tips or things
> > to look out for?
> >
> > thanks for any and all help you can give me.
> >
> > Nick
> >
> am i asking the wrong question here? is there anyone that can shed a
> little light on this for me? i would appreciate it. i would hope that
> someone else besides me has done this.

Never having tried a rescue CD, I would take a different approach.

I would install and configure FreeBSD then install bacula, configure 
it, and restore.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] TLS not working with any certificate

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 15:30, Andreas Aronsson wrote:

> Hello!
> 
> I'm new to this list, but I got a lot of time invested in this. Any 
> pointers much appreciated...
> I'm trying to get bacula to work using TLS.
> Running Gentoo Linux.
> I have started out trying to backup the same host as the one the 
> director's residing on. IE dir, sd and fd on the same host.
> All is dandy with an ordinary setup ( no TLS )
> Bacula version 1.38.5
> 
> Relevant config as follows (tried to follow   
> http://sourceforge.net/mailarchive/forum.php?thread_id=8938828&forum_id=8650 
> ) :
> 
> /// start config files
> 
> bconsole.conf:
> Director {
>   Name = x-dir
> 
>   TLS Require = yes
>   TLS CA Certificate File = /etc/bacula/master.cert
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> 
> bacula-dir.conf:
> Director {# define 
> myself
>
> 
>   Name = x-dir
> 
>   TLS Enable = yes
>   TLS Verify Peer = yes
>   TLS Allowed CN = "this.example.cxx"
>   TLS CA Certificate File = /etc/bacula/master.cert
> #  # This is a server certificate, used for 
> incoming  
>   
> 
> #  # console 
> connections.  
>   
>
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> .
> Client {
>   Name = x-fd
>   Address = this.example.cxx
> 
>   TLS Require = yes
>   TLS CA Certificate File = /etc/bacula/master.cert
># This is a client certificate, used by the director 
> to
>   
> 
>  # connect to the remote file 
> daemon.   
> 
> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> 
> bacula-fd.conf:
> Director {
>   Name = x-dir
> .
> 
>   TLS Require = yes
>   TLS Verify Peer = yes
>  # Allow only the Director to 
> connect   
> 
> 
>   TLS Allowed CN = "this.example.cxx"
>   TLS CA Certificate File = /etc/bacula/master.cert
>  # This is a server certificate. It is used by 
> connecting
>
> 
>  # directors to verify the authenticity of this file 
> daemon
>  

In my case, the above certificiate is the root cert for cacert.org.  
Is that what you are using here?

> 
>   TLS Certificate = /etc/ssl/x/cert.pem
>   TLS Key = /etc/ssl/x/key.pem
> }
> 
> bacula-sd.conf:
> 
> Storage { # definition of 
> myself
> 
> 
>   Name = x-sd
> .
>  # These TLS configuration options are used for 
> incoming  
>   
> 
>  # file daemon connections. Director TLS settings are 
> handled   
> 
> 
>  # 
> below.
>   
>  
> 
>   TLS Enable = yes
>  # Peer certificate is not required/requested -- peer 
> validity  
> 
> 
>  # is verified by the storage connection cookie provided to 
> the   
>   
> 
>  # File Daemon by the 
> director. 
>   
>   
> 
>   TLS Verify Peer = no  
>   TLS CA Certificate File = /etc/bacula/master.cert
>  # This is a server certificate. It is used by 
> connecting   

[Bacula-users] Re: FreeBSD bare metal recovery

2006-03-08 Thread Nick Smith
On 3/6/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> i have a FreeBSD 4.x machine running bacula, that will be replaced
> with a new machine.  we are wanting to use bacula to recover the data
> from machine1 to machine2.  we have a full backup of machine1. both
> machines are running the same version of FreeBSD.
> after reading your documentation on the FreeBSD bare metal recovery im
> just a little confused as to what the /mnt2/dev directories are for.
> are they suppose to be there? am i suppose to create them?
> im still very new to bacula and am very confused as to how to migrate
> the data from machine1 to machine2. can you give me any tips or things
> to look out for?
>
> thanks for any and all help you can give me.
>
> Nick
>
am i asking the wrong question here? is there anyone that can shed a
little light on this for me? i would appreciate it. i would hope that
someone else besides me has done this.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] TLS not working with any certificate

2006-03-08 Thread Andreas Aronsson

Hello!

I'm new to this list, but I got a lot of time invested in this. Any 
pointers much appreciated...

I'm trying to get bacula to work using TLS.
Running Gentoo Linux.
I have started out trying to backup the same host as the one the 
director's residing on. IE dir, sd and fd on the same host.

All is dandy with an ordinary setup ( no TLS )
Bacula version 1.38.5

Relevant config as follows (tried to follow   
http://sourceforge.net/mailarchive/forum.php?thread_id=8938828&forum_id=8650 
) :


/// start config files

bconsole.conf:
Director {
 Name = x-dir
   
 TLS Require = yes
 TLS CA Certificate File = /etc/bacula/master.cert

 TLS Certificate = /etc/ssl/x/cert.pem
 TLS Key = /etc/ssl/x/key.pem
}

bacula-dir.conf:
Director {# define 
myself   


 Name = x-dir
   
 TLS Enable = yes
 TLS Verify Peer = yes
 TLS Allowed CN = "this.example.cxx"
 TLS CA Certificate File = /etc/bacula/master.cert
#  # This is a server certificate, used for 
incoming

#  # console 
connections.   


 TLS Certificate = /etc/ssl/x/cert.pem
 TLS Key = /etc/ssl/x/key.pem
}
.
Client {
 Name = x-fd
 Address = this.example.cxx

 TLS Require = yes
 TLS CA Certificate File = /etc/bacula/master.cert
  # This is a client certificate, used by the director 
to  

# connect to the remote file 
daemon.   


 TLS Certificate = /etc/ssl/x/cert.pem
 TLS Key = /etc/ssl/x/key.pem
}

bacula-fd.conf:
Director {
 Name = x-dir
.

 TLS Require = yes
 TLS Verify Peer = yes
# Allow only the Director to 
connect   


 TLS Allowed CN = "this.example.cxx"
 TLS CA Certificate File = /etc/bacula/master.cert
# This is a server certificate. It is used by 
connecting   

# directors to verify the authenticity of this file 
daemon 


 TLS Certificate = /etc/ssl/x/cert.pem
 TLS Key = /etc/ssl/x/key.pem
}

bacula-sd.conf:

Storage { # definition of 
myself


 Name = x-sd
.
# These TLS configuration options are used for 
incoming

# file daemon connections. Director TLS settings are 
handled   

# 
below.   


 TLS Enable = yes
# Peer certificate is not required/requested -- peer 
validity  

# is verified by the storage connection cookie provided to 
the 

# File Daemon by the 
director. 

 TLS Verify Peer = no  
 TLS CA Certificate File = /etc/bacula/master.cert
# This is a server certificate. It is used by 
connecting   

# file daemons to verify the authenticity of this storage 
daemon   


 TLS Certificate = /etc/ssl/x/cert.pem
 TLS Key = /etc/ssl//key.pem
}

.

Director {
 Name = x-dir
.
 TLS Require = yes
#  # Require th

Re: [Bacula-users] No compression for FIFOs neither Windows clients ?

2006-03-08 Thread Baptiste Malguy
Dan Langille a écrit :
> On 8 Mar 2006 at 10:25, Baptiste Malguy wrote:
> 
> 
>>Hello People,
>>
>>Does anyone know something about compression issue I meet ?
>>
>>Thanks.
>>
>>Baptiste Malguy a écrit :
>>
>>>Hello,
>>>
>>>I definitly want to use compression for backups on disk.
>>>
>>>It works pretty well, except for:
>>>- FIFOs
>>>- Windows clients.
>>>
>>>I haven't seen any information about this specific cases.
>>>
>>>Here comes a part of the configuration in the case you see anything wrong.
>>>
>>>The "full" FileSet has a good compression rate, while the "mysql-dump"
>>>FileSet report as the following:
>>>  Software Compression:   None
>>>
>>>bacula-dir.conf:
>>>[...]
>>>FileSet {
>>>  Name = full
>>>  Include {
>>>@/etc/bacula/bacula-dir-fileset-common-include-options.conf
>>>File = /
>>>  }
>>>  Exclude {
>>>@/etc/bacula/bacula-dir-fileset-linux-exclude-files.conf
>>>  }
>>>}
>>>
>>>FileSet {
>>>  Name = mysql-dump
>>>  Include {
>>>@/etc/bacula/bacula-dir-fileset-common-include-options.conf
>>>Options { readfifo = yes }
>>>File = /tmp/bacula-mysql-fifo
>>>  }
>>>}
> 
> 
> The above Include has two Options sections.  Perhaps that is the 
> issue. If you have only one, what happens?  Also, what happens if you 
> don't use @?
> 
> 
>>>FileSet {
>>>  Name = windows-file-set
>>>  Include {
>>>@/etc/bacula/bacula-dir-fileset-common-include-options.conf
>>>@/etc/bacula/bacula-dir-fileset-windows-include-options.conf
>>>File = c:/
>>>  }
>>>  Exclude {
>>>  }
>>>}

Thank you for your idea Dan, it looks a good way.

Here is a more simple example to catch the problem easier:

FileSet {
  Name = server-test
  Include {
Options {
onefs = no
}
Options {
signature = MD5
compression = GZIP
fstype = ext2
}
  }
  Exclude {
  }
}

With this example, I have compression. If I set the second Options
section in first position, I don't.

I made a similar test with attribute "fstype = ext2" (The server is a
Windows machine with NTFS).
- With the attribute in first Options section, files are backed up
(wrong behavious).
- With the attribute in second Options section, files are _not_ backed
up (good behavious).

From http://www.bacula.org/dev-manual/Configuring_Director.html :

"The Include resource may also contain one or more Options resources [...]"

So is a bug or did I miss something else where ?


-- 
Baptiste MALGUY - IT Engineer   SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68  94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
 How secure networks are managed.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots drive number

2006-03-08 Thread Sebastian Stark


On 08.03.2006, at 13:49, Dan Langille wrote:


On 8 Mar 2006 at 12:53, Sebastian Stark wrote:


If I use the update slots command in bconsole it asks for a drive
number:

*update slots
Automatically selected Storage: neo4000
Enter autochanger drive[0]:

Regardless what I type here it always tries to unload drive0. How do
I get it to unload drive1 as well?

As I read in the archives "update slots" is the only way to resolve
conflicts of the type "drive0 wants tape #14 but it's in drive1 at
the moment".


Please always tell us what version of Bacula you are using.

The place I'd look at is your autochanger script.  Does it work
flawlessly?  Perhaps the drive number is not being passed/processed
properly.


I'm using 1.38.5. The mtx-changer script work's well, I can use it to  
load/unload tapes to/from both drives.

If I issue the following command:

  sudo /usr/local/bacula/etc/mtx-changer /dev/scsi/changer/ 
c4t211086119230d0 loaded 1 /dev/rmt/1cbn 1


it does what it should (basically grep for "Data Transfer Element  
1:Full").


Seems the update slots command that does not ask drive1 if it has a  
tape in it or not. If I'm right "update slots" should empty all  
drives. Now, the output of "update slots" looks like:


*update slots
Automatically selected Storage: neo4000
Enter autochanger drive[0]: 1
Connecting to Storage daemon neo4000 at yangtse:9103 ...
3306 Issuing autochanger "slots" command.
Device "neo4000" has 119 slots.
Connecting to Storage daemon neo4000 at yangtse:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3306 Issuing autochanger "list" command.
Catalog record for Volume "42" updated to reference slot 1.
Catalog record for Volume "31" updated to reference slot 2.
Catalog record for Volume "79" updated to reference slot 3.
Catalog record for Volume "000125" updated to reference slot 4.
Catalog record for Volume "49" updated to reference slot 5.
[...]

Bacula does not even try to find out if it must unload drive1 or not  
but according to status storage it still has a tape in it:



Device status:
Autochanger "neo4000" with devices:
   "Drive0" (/dev/rmt/0cbn)
   "Drive1" (/dev/rmt/1cbn)
Device "Drive0" (/dev/rmt/0cbn) open but no Bacula volume is mounted.
Device is BLOCKED waiting for media.
Drive 0 is not loaded.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0
Device "Drive1" (/dev/rmt/1cbn) is mounted with Volume="01"  
Pool="Default"

Slot 46 is loaded in drive 1.
Total Bytes=26,885,026,430 Blocks=416,749 Bytes/block=64,511
Positioned at File=30 Block=0



-Sebastian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots drive number

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 12:53, Sebastian Stark wrote:

> If I use the update slots command in bconsole it asks for a drive  
> number:
> 
> *update slots
> Automatically selected Storage: neo4000
> Enter autochanger drive[0]:
> 
> Regardless what I type here it always tries to unload drive0. How do  
> I get it to unload drive1 as well?
> 
> As I read in the archives "update slots" is the only way to resolve  
> conflicts of the type "drive0 wants tape #14 but it's in drive1 at  
> the moment".

Please always tell us what version of Bacula you are using.

The place I'd look at is your autochanger script.  Does it work 
flawlessly?  Perhaps the drive number is not being passed/processed 
properly.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No compression for FIFOs neither Windows clients ?

2006-03-08 Thread Dan Langille
On 8 Mar 2006 at 10:25, Baptiste Malguy wrote:

> Hello People,
>
> Does anyone know something about compression issue I meet ?
>
> Thanks.
>
> Baptiste Malguy a écrit :
> > Hello,
> >
> > I definitly want to use compression for backups on disk.
> >
> > It works pretty well, except for:
> > - FIFOs
> > - Windows clients.
> >
> > I haven't seen any information about this specific cases.
> >
> > Here comes a part of the configuration in the case you see anything wrong.
> >
> > The "full" FileSet has a good compression rate, while the "mysql-dump"
> > FileSet report as the following:
> >   Software Compression:   None
> >
> > bacula-dir.conf:
> > [...]
> > FileSet {
> >   Name = full
> >   Include {
> > @/etc/bacula/bacula-dir-fileset-common-include-options.conf
> > File = /
> >   }
> >   Exclude {
> > @/etc/bacula/bacula-dir-fileset-linux-exclude-files.conf
> >   }
> > }
> >
> > FileSet {
> >   Name = mysql-dump
> >   Include {
> > @/etc/bacula/bacula-dir-fileset-common-include-options.conf
> > Options { readfifo = yes }
> > File = /tmp/bacula-mysql-fifo
> >   }
> > }

The above Include has two Options sections.  Perhaps that is the
issue. If you have only one, what happens?  Also, what happens if you
don't use @?

> >
> > FileSet {
> >   Name = windows-file-set
> >   Include {
> > @/etc/bacula/bacula-dir-fileset-common-include-options.conf
> > @/etc/bacula/bacula-dir-fileset-windows-include-options.conf
> > File = c:/
> >   }
> >   Exclude {
> >   }
> > }
> >
> > [...]
> >
> > /etc/bacula/bacula-dir-fileset-common-include-options.conf :
> > Options {
> >   signature = MD5
> >   compression = GZIP
> >   onefs = no
> >   fstype = reiserfs
> >   fstype = ext2
> > }
> >
> > bacula-dir-fileset-linux-exclude-files.conf: no interesting content.
> > bacula-dir-fileset-windows-include-options.conf: no interesting content.
> >
> > Thank you for your help.
> >


--
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 1.38.x for mac osx 10.3

2006-03-08 Thread John Kodis
On Wed, Mar 08, 2006 at 09:43:28AM +0100, Stefan Schwietert wrote:

> Is there someone who has managed to start bacula-fd with launchd. I  
> tried it but launchd gets an error, tries to start it several times  
> and then gives up. If I start bacula-fd by hand everything is good.  
> So I think the problem is related to launchd and its mechanism to  
> manage ports and sockets.

You'll see that result if you use launchd to run the normal bacula
startup script, since the script runs bacula-fd as a daemon and
launchd interprets the daemonization as a sign that the program has
failed and has to be restarted.  

I've had success with the following launchd file.  It's written to use
the standard bacula file locations which run the command:

/sbin/bacula-fd -v -f -c /etc/bacula/bacula-fd.conf

As you've already figured out, you can just drop this big blob of XML
into the  /Library/LaunchDaemons/ directory with a filename of
net.bacula-fd.plist, and launchd will do the rest.


http://www.apple.com/DTDs/PropertyList-1.0.dtd";>

  
Label
  net.bacula-fd
OnDemand
  
ProgramArguments
  
/sbin/bacula-fd
-f
-v
-c
/etc/bacula/bacula-fd.conf
  
  


-- John Kodis.

PS:  It sure would have been nice if instead of 20 lines of fairly
illegible XML we could just write something like:

label   = net.bacula-fd
program = /sbin/bacula-fd -f -v -c /etc/bacula/bacula-fd.conf

Oh well.  I guess that even the XML version is easier to read and
write than the typical shell startup script, so at least it's a step
in the right direction.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 1.38.x for mac osx 10.3

2006-03-08 Thread Sebastian Stark


On 06.03.2006, at 14:59, Dwayne Hottinger wrote:



Thanks,
I know thats the problem.  But I dont see a dist for 1.38 dist for  
os x 10.3.x.
Is there a build for the -fd on osx 10.3?  Or how do I build for  
the osx 10.3?


Have you tried opendarwin ports? Works good for me on 10.4, one would  
guess it's working on 10.3 as well.



-Sebastian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] update slots drive number

2006-03-08 Thread Sebastian Stark


If I use the update slots command in bconsole it asks for a drive  
number:


*update slots
Automatically selected Storage: neo4000
Enter autochanger drive[0]:

Regardless what I type here it always tries to unload drive0. How do  
I get it to unload drive1 as well?


As I read in the archives "update slots" is the only way to resolve  
conflicts of the type "drive0 wants tape #14 but it's in drive1 at  
the moment".



Thanks,
Sebastian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about error message

2006-03-08 Thread Martin Simmons
> On Tue, 7 Mar 2006 21:50:17 -0600, "Jeffrey L. Taylor" <[EMAIL 
> PROTECTED]> said:
> Mail-Followup-To: bacula-users@lists.sourceforge.net
> 
> What does the following message mean?  I started seeing it after a
> system lockup corrupted the bacula database.  I dropped the bacula tables
> and recreated them with the scripts drop_mysql_tables and
> make_mysql_tables.
> 
> TIA,
>   Jeffrey
> 
> 07-Mar 02:19 pogo-dir: Pogo_Root.2006-03-07_02.05.00 Warning: 
> sql_create.c:831 More than one Filename! 2 for file:
> +error.h

The database is still corrupted somehow.  Maybe the drop_mysql_tables didn't
drop everything (e.g. permission problems)?

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No compression for FIFOs neither Windows clients ?

2006-03-08 Thread Baptiste Malguy
Hello People,

Does anyone know something about compression issue I meet ?

Thanks.

Baptiste Malguy a écrit :
> Hello,
> 
> I definitly want to use compression for backups on disk.
> 
> It works pretty well, except for:
> - FIFOs
> - Windows clients.
> 
> I haven't seen any information about this specific cases.
> 
> Here comes a part of the configuration in the case you see anything wrong.
> 
> The "full" FileSet has a good compression rate, while the "mysql-dump"
> FileSet report as the following:
>   Software Compression:   None
> 
> bacula-dir.conf:
> [...]
> FileSet {
>   Name = full
>   Include {
> @/etc/bacula/bacula-dir-fileset-common-include-options.conf
> File = /
>   }
>   Exclude {
> @/etc/bacula/bacula-dir-fileset-linux-exclude-files.conf
>   }
> }
> 
> FileSet {
>   Name = mysql-dump
>   Include {
> @/etc/bacula/bacula-dir-fileset-common-include-options.conf
> Options { readfifo = yes }
> File = /tmp/bacula-mysql-fifo
>   }
> }
> 
> FileSet {
>   Name = windows-file-set
>   Include {
> @/etc/bacula/bacula-dir-fileset-common-include-options.conf
> @/etc/bacula/bacula-dir-fileset-windows-include-options.conf
> File = c:/
>   }
>   Exclude {
>   }
> }
> 
> [...]
> 
> /etc/bacula/bacula-dir-fileset-common-include-options.conf :
> Options {
>   signature = MD5
>   compression = GZIP
>   onefs = no
>   fstype = reiserfs
>   fstype = ext2
> }
> 
> bacula-dir-fileset-linux-exclude-files.conf: no interesting content.
> bacula-dir-fileset-windows-include-options.conf: no interesting content.
> 
> Thank you for your help.
> 


-- 
Baptiste MALGUY - IT Engineer   SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68  94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
 How secure networks are managed.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 1.38.x for mac osx 10.3

2006-03-08 Thread Stefan Schwietert
Am 06.03.2006 um 19:15 schrieb Arno Lehmann:Hi,On 3/6/2006 2:59 PM, Dwayne Hottinger wrote:... that he needs 1.38 for MacOS X Thanks,I know thats the problem.  But I dont see a dist for 1.38 dist for os x 10.3.x. Is there a build for the -fd on osx 10.3?  Or how do I build for the osx 10.3? You will need the development tools installed. Quite a while ago I built an FD for OSX, and after installing XCode everything was ready to build.Install the Xcode tools from the installation disks. After this configure works even under Intel-Mac.Creating the proper start scripts might be a small problem because 10.4 "Tiger" has changed that a lot...Is there someone who has managed to start bacula-fd with launchd. I tried it but launchd gets an error, tries to start it several times and then gives up. If I start bacula-fd by hand everything is good. So I think the problem is related to launchd and its mechanism to manage ports and sockets.Stefan --  Stefan Schwietert Systembetreuer Ulmer Volkshochschule  

[Bacula-users] Quantum AutoLoader/ValueLoader SDLT320 supported ?

2006-03-08 Thread Jean-Francois Zech

Hi,

I'm looking to purchase a Quantum AutoLoader or ValueLoader with a tape
drive SDLT320.
I use Debian.
Can someone confirm that this drive works correctly with Bacula ?

Is someone have an experience with other tape drive Quantum AutoLoader
or ValueLoader ?

Many thanks!

JF



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users