[Bacula-users] Problem with Autochanger on Bacula 1.38.11

2006-07-04 Thread Anwar
o find what is loaded
20060628-18:03:59 Parms: /dev/sg1 loaded 0 /dev/nst0 0
20060628-18:03:59 Doing mtx -f /dev/sg1 0 -- to find what is loaded
20060628-18:03:59 Parms: /dev/sg1 loaded 0 /dev/nst0 0
20060628-18:03:59 Doing mtx -f /dev/sg1 0 -- to find what is loaded
20060628-18:03:59 Parms: /dev/sg1 loaded 0 /dev/nst0 0
20060628-18:03:59 Doing mtx -f /dev/sg1 0 -- to find what is loaded
20060628-18:05:30 Parms: /dev/sg1 loaded 0 /dev/nst0 1
20060628-18:05:30 Doing mtx -f /dev/sg1 1 -- to find what is loaded
20060628-18:05:31 Parms: /dev/sg1 loaded 0 /dev/nst0 1
20060628-18:05:31 Doing mtx -f /dev/sg1 1 -- to find what is loaded
20060628-18:05:31 Parms: /dev/sg1 loaded 0 /dev/nst0 1
20060628-18:05:31 Doing mtx -f /dev/sg1 1 -- to find what is loaded
20060704-20:48:47 Parms: /dev/sg2 loaded 0 /dev/nst0 0
20060704-20:48:47 Doing mtx -f /dev/sg2 0 -- to find what is loaded

--> I read earlier that Keith Hopkins (Bacula)" <[EMAIL PROTECTED]>
--> Had similar problems. Anyone solved it?

I running on FC5 (latest kernel) previously used 1.38.10 rpm then 
upgraded to 1.38.11 rpm. I posted some questions but no one replied so I 
tried compiling from source 1.38.11 and I'm getting the same problem...

tapeinfo -f /dev/sg1
Product Type: Medium Changer
Vendor ID: 'HP  '
Product ID: 'C6280-4000  '
Revision: '2.07'
Attached Changer: No
SerialNumber: '

TapeAlert[25]:Undefined.
SCSI ID: 1
SCSI LUN: 0
Ready: yes

tapeinfo -f /dev/sg2
Product Type: Tape Drive
Vendor ID: 'Quantum '
Product ID: 'DLT4000 '
Revision: 'D67E'
Attached Changer: No
SerialNumber: 'CXA32R3864'
MinBlock:1
MaxBlock:16777215
SCSI ID: 2
SCSI LUN: 0
Ready: no


Can anyone give me some pointers on where to even attempt to 
trouble-shoot this problem?

Regards,
Anwar

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] remote tapes

2006-07-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It isn't? News to me... does it not compile?

Bart Schelstraete wrote:
> Hi,
> 
> We have some tape (DDS) devices connected to HP-UX machines.
> Because the SD is not supported on HP-UX, we cannot configure a SD on that.
> Is there another way so that we can also store backups to the tapes
> connected to an HP-UX box?
> 
> 
> 
> B
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFEqzrDmb+gadEcsb4RAnX1AJME6vWDEEisnp+WXVbc8q9T3vmtAKCMbh15
QxGkjO6CLV/TSqDeXw552Q==
=Zmhx
-END PGP SIGNATURE-

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Confusion about Size of Volumes/Files while using File as Storage

2006-07-04 Thread Daniel Bloemer
Hi,

I am a bit confused about the handling of file sizes while using
"Storage Type = File" for the sd.

The following two options are clear, they limit the size of the volumes,
if they are not limited by the hardware.

1. A record in the Storage daemon"s Device resource
"Maximum Volume Size"
 
 2. A record in the Director"s Pool resource
"Maximum Volume Bytes" (so much for consistency)
 

Then I found this in the documentation:

Maximum File Size = size
  No more than size bytes will be written into a given logical file on
the volume. Once this size is reached, an end of file mark is written on
the volume and subsequent data are written into the next file. Breaking
long sequences of data blocks with file marks permits quicker
positioning to the start of a given stream of data and can improve
recovery from read errors on the volume. The default is one Gigabyte.

According to this entry in the documentation I would expect bacula to
split a Volume limited by "Maximum Volume Bytes" in size into physical
files limited by "Maximum File Size" on my harddisc. 
While testing the backup-system I changed this parameter without any
visible effect. I have created new volumes after changing the parameter,
to make the change effective.

Can someone enlighten me about this?

Regards Daniel
P.S. the bacula-version in question is 1.38.9-1

-- 
Daniel Bloemer - BusinessCoDe GmbH
Systemadministration and Support
Phone: +49 (0)228 / 28925-43
http://www.business-code.de


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Interesting" failure mode

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 21:24, Wolfgang Denk wrote:
> In message <[EMAIL PROTECTED]> you wrote:
> > You mean the Volumes are on an NFS mounted partition?  or do you mean the
> > data you are backing up?
> >
> > What counts is where the Volumes are.
>
> The volumes are on a NFS mounted partition.
>
> > If they are on NFS mounted partitions, then all bets are off.  If that is
> > the case, you would be much better running a SD on the machine in
> > question rather than using NFS.
>
> Agreed. I will changed this. But I'd still like to know  how  such  a
> failure mode is possible - this concerns me, not only for Bacula use.
> BTW:  all  tests  with normal file I/O to files in the same direcotry
> where the volumes are stored result in the expected "no  space  left"
> errors.

I suspect the problem is that how ever useful NFS is (I couldn't live without 
it), it is one gigantic messy kludge (from what I read), so this kind of 
problem doesn't surprise me.

>
> May I re-ask:
> > > BTW: are you still planning for a trip to Munich this summer?

Yes, sorry I forgot to answer.

It is unlikely that I will make it to Munich this summer, but it is still 
quite possible this year.  Originally, my idea was to take a two week course 
in German then to complete it with practice by going to Germany.  
Unfortunately, the course occurred in Oct (if I remember right) after my 
first back operation, which was a total failure, and I had to return home 
after only one (very painful) week.  I subsequently (in Nov) had a second 
back operation which corrected the problem.  However, my German learning 
somehow came to a halt, which is not too good, and I never rescheduled my 
trip to Munich.  

One of the many other big surprise events in my life is that my son-in-law 
getting married in Norway in August.  That plus the fact that I was away from 
home more than 3 months this year means I am pretty burned out and haven't 
worked much on the Munich trip. The whole story is much longer but I doubt 
the details really interest anyone. 

Bottom line: if you guys are still interested, my wife would be interested in 
making a trip to Munich in early December for the "marché de Noël" (Christmas 
shopping).  I would *very* much enjoy meeting as many German users as 
possible, but my German speaking abilities are rather poor at the moment ...

Best regards,

Kern

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Interesting" failure mode

2006-07-04 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote:
>
> You mean the Volumes are on an NFS mounted partition?  or do you mean the 
> data 
> you are backing up?
> 
> What counts is where the Volumes are.

The volumes are on a NFS mounted partition.

> If they are on NFS mounted partitions, then all bets are off.  If that is the 
> case, you would be much better running a SD on the machine in question rather 
> than using NFS.

Agreed. I will changed this. But I'd still like to know  how  such  a
failure mode is possible - this concerns me, not only for Bacula use.
BTW:  all  tests  with normal file I/O to files in the same direcotry
where the volumes are stored result in the expected "no  space  left"
errors.


May I re-ask:

> > BTW: are you still planning for a trip to Munich this summer?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
NOTE: The  Most  Fundamental  Particles  in  This  Product  Are  Held
Together  by  a  "Gluing" Force About Which Little is Currently Known
and Whose Adhesive Power Can Therefore Not Be Permanently Guaranteed.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir crash: Mutex lock failure

2006-07-04 Thread Bill Moran
Francisco Reyes <[EMAIL PROTECTED]> wrote:

> Just had a bacula-dir crash today.
> 
> The error in the log was:
> 04-Jul 11:00 bacula-server: ABORTING due to ERROR in bsys.c:375
> Mutex lock failure. ERR=Resource deadlock avoided
> 04-Jul 11:00 bacula-server: Fatal Error because: Bacula interrupted by 
> signal 11: Segmentation violation
> 
> Running bacula 1.38.10
> 
> I recall seeing recently a thread with simmilar errors, but can't find it in 
> the user's archive now. Was this one of the issues resolved with 1.38.11?

Those are the same symptoms I had prior to 1.38.11.  Upgrading should
solve this problem.

-- 
Bill Moran

Two by two, hands of blue.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-dir crash: Mutex lock failure

2006-07-04 Thread Francisco Reyes
Just had a bacula-dir crash today.

The error in the log was:
04-Jul 11:00 bacula-server: ABORTING due to ERROR in bsys.c:375
Mutex lock failure. ERR=Resource deadlock avoided
04-Jul 11:00 bacula-server: Fatal Error because: Bacula interrupted by 
signal 11: Segmentation violation

Running bacula 1.38.10

I recall seeing recently a thread with simmilar errors, but can't find it in 
the user's archive now. Was this one of the issues resolved with 1.38.11?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula does not start scheduled jobs and bconsole hangs

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 18:17, Niels Huylebroeck wrote:
> Kern Sibbald wrote:
> > Are you sure it is not FC3?  I'm surprised that you could find a 2.6
> > kernel for FC2.
>
> I did an up2date / yum I think. That's where the kernel should come from.
>
> > I thought so too, but you are running on a pretty old system that
> > normally has a 2.4.x kernel, so maybe there is still some incorrect
> > interaction with /lib/tls.
>
> I thought the whole point about 2.6 was that all the /lib/tls
> dependencies were gone cause they were compiled inside kernel ?

Yes, I think you are right.  However, RedHat kept /lib/tls around even with 
2.6 kernels through FC4.  /lib/tls still exists in FC5, but it is empty.

After thinking about it, I would recommend that you just change the name 
to /lib/broken-tls and see what happens.  That is what I did here with 2.4 
kernels and it resolved all the problems.  

I never saw any of the /lib/tls problems with Fedora systems FC4 or FC5 where 
the kernel was 2.6 by default.

>
> > The traceback looks suspiciously like the old /lib/tls problem, but there
> > could be other bug/problem.  So far on 1.38.11 no one has reported any
> > deadlocks.
> >
> > I'd recommend that you use the environment variable workaround in your
> > Bacula executions (all of them) as documented in the manual (I would
> > hesitate to simply rename /lib/tls with a 2.6 kernel).  The workaround
> > used to be a standard part of the scripts, but I may have removed them
> > recently, and if you still find them in the start scripts, they are keyed
> > on 2.4 kernels, so you will need to change that so that the variable is
> > always set.
>
> [EMAIL PROTECTED] root]# cat /etc/redhat-release
> Fedora Core release 2 (Tettnang)
> [EMAIL PROTECTED] root]# rpm -q kernel
> kernel-2.6.5-1.358
>
> > If you built the kernel yourself, that would explain the problems,
> > because you also need the /lib/tls that goes with 2.6 kernels and not the
> > one that is backported by RH for 2.4 kernels.
> >
> > If you took a 2.6 kernel for your system prepared by Fedora, then it is
> > most likely Fedora/RedHat that screwed up ...  or you also need to update
> > whatever package installs the correct /lib/tls.
>
> I'll try the environment fix and let you know tomorrow how it went.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula does not start scheduled jobs and bconsole hangs

2006-07-04 Thread Niels Huylebroeck


Kern Sibbald wrote:
> Are you sure it is not FC3?  I'm surprised that you could find a 2.6 kernel 
> for FC2.
>   
I did an up2date / yum I think. That's where the kernel should come from.
> I thought so too, but you are running on a pretty old system that normally 
> has 
> a 2.4.x kernel, so maybe there is still some incorrect interaction 
> with /lib/tls.  
>   
I thought the whole point about 2.6 was that all the /lib/tls
dependencies were gone cause they were compiled inside kernel ?
> The traceback looks suspiciously like the old /lib/tls problem, but there 
> could be other bug/problem.  So far on 1.38.11 no one has reported any 
> deadlocks.
>
> I'd recommend that you use the environment variable workaround in your Bacula 
> executions (all of them) as documented in the manual (I would hesitate to 
> simply rename /lib/tls with a 2.6 kernel).  The workaround used to be a 
> standard part of the scripts, but I may have removed them recently, and if 
> you still find them in the start scripts, they are keyed on 2.4 kernels, so 
> you will need to change that so that the variable is always set.
>
>   
[EMAIL PROTECTED] root]# cat /etc/redhat-release
Fedora Core release 2 (Tettnang)
[EMAIL PROTECTED] root]# rpm -q kernel
kernel-2.6.5-1.358

> If you built the kernel yourself, that would explain the problems, because 
> you 
> also need the /lib/tls that goes with 2.6 kernels and not the one that is 
> backported by RH for 2.4 kernels.  
>
> If you took a 2.6 kernel for your system prepared by Fedora, then it is most 
> likely Fedora/RedHat that screwed up ...  or you also need to update whatever 
> package installs the correct /lib/tls.
>   
I'll try the environment fix and let you know tomorrow how it went.

-- 
Vriendelijke groeten,  ^ Bubbles IT
   ^ Oude Heerweg 175
Niels Huylebroeck  ^ 9160 Lokeren, Belgie
Systeembeheerder, Programmeur  ^ Tel: +32(0)9/355 13 31
[EMAIL PROTECTED]^ Fax: +32(0)9/355 13 41

.. Key : http://www.bubbles-it.be/pgp/niels.asc..
.. Fingerprint : 3885 CC0B C7A4 78CC 47DE 47AF 896A 6C40 80FA AF0F ..
.. Keyserver   : http://pgp.mit.eduKey-ID : 0x80FAAF0F ..

A diplomat is a person who can tell you to go to hell in such a way
that you actually look forward to the trip.
  Caskie Stinnett, "Out of the Red"


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula does not start scheduled jobs and bconsole hangs

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 17:38, Niels Huylebroeck wrote:
> 2.6.5-1.358
> Running on FC2.

Are you sure it is not FC3?  I'm surprised that you could find a 2.6 kernel 
for FC2.
>
> I thought 2.6 kernels in general were not influenced by that Red-Hat TLS
> library bug ?

I thought so too, but you are running on a pretty old system that normally has 
a 2.4.x kernel, so maybe there is still some incorrect interaction 
with /lib/tls.  

The traceback looks suspiciously like the old /lib/tls problem, but there 
could be other bug/problem.  So far on 1.38.11 no one has reported any 
deadlocks.

I'd recommend that you use the environment variable workaround in your Bacula 
executions (all of them) as documented in the manual (I would hesitate to 
simply rename /lib/tls with a 2.6 kernel).  The workaround used to be a 
standard part of the scripts, but I may have removed them recently, and if 
you still find them in the start scripts, they are keyed on 2.4 kernels, so 
you will need to change that so that the variable is always set.

> Hope I didn't screw up here :D

If you built the kernel yourself, that would explain the problems, because you 
also need the /lib/tls that goes with 2.6 kernels and not the one that is 
backported by RH for 2.4 kernels.  

If you took a 2.6 kernel for your system prepared by Fedora, then it is most 
likely Fedora/RedHat that screwed up ...  or you also need to update whatever 
package installs the correct /lib/tls.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula does not start scheduled jobs and bconsole hangs

2006-07-04 Thread Niels Huylebroeck
2.6.5-1.358
Running on FC2.

I thought 2.6 kernels in general were not influenced by that Red-Hat TLS
library bug ?
Hope I didn't screw up here :D

Kern Sibbald wrote:
> What is your kernel version?
>
>   
-- 
Vriendelijke groeten,  ^ Bubbles IT
   ^ Oude Heerweg 175
Niels Huylebroeck  ^ 9160 Lokeren, Belgie
Systeembeheerder, Programmeur  ^ Tel: +32(0)9/355 13 31
[EMAIL PROTECTED]^ Fax: +32(0)9/355 13 41

.. Key : http://www.bubbles-it.be/pgp/niels.asc..
.. Fingerprint : 3885 CC0B C7A4 78CC 47DE 47AF 896A 6C40 80FA AF0F ..
.. Keyserver   : http://pgp.mit.eduKey-ID : 0x80FAAF0F ..

A diplomat is a person who can tell you to go to hell in such a way
that you actually look forward to the trip.
  Caskie Stinnett, "Out of the Red"


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Missings hard linked files from /etc backup

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 17:13, Georger Araujo wrote:
> Looks fine to me. I back up very similar data on two
> boxes, one running RHELAS4 and another one running
> CentOS 4.3, without any errors.
> Did you get any errors in the log? Did the job
> terminate OK?
> Try creating a new fileset with just /etc, and a new
> job using the new fileset and the same client. It
> could also help if you include information about your
> environment - what version of FC and Bacula you're
> running, how did you install Bacula (source or RPM),
> which user bacula-fd runs under, etc.

Sorry, you had a nice answer -- I should figure out how to get threading 
working as I could have avoided answering something that you already did ...

> Regards, 
>
> Georger
>
> --- Greg Cope <[EMAIL PROTECTED]> escreveu:
> > Hi All,
> >
> > Have I missed anything?  My hardlinked files in
> > /etc/init.d are mostly
> > missing (90%) from a full backup.
> >
> > What have I missed.  This is on a fedora Core host
> > (but should apply to
> > all RH/FC/CentOS hosts)
> >
> > My fileset looks like;
> >
> > FileSet {
> > Name = linuxBasic
> > Include {
> > Options {
> > Compression = GZIP
> > signature = SHA1
> > Sparse = yes
> > }
> > @/etc/bacula/list.d/linuxBasic.list
> > }
> > Exclude {
> >
> > @/etc/bacula/list.d/linuxBasic.exclude
> > }
> > }
> >
> > # more /etc/bacula/list.d/linuxBasic.list
> > File = /var/log
> > File = /etc
> > # more /etc/bacula/list.d/linuxBasic.exclude
> > # stuff we do not want!
> > File = /proc
> > File = /tmp
> > File = /.journal
> > File = /.fsck
> > File = /var/tmp
> > File = /var/backup
> > File = /var/cache
> > File = /var/tars
> > File = /var/run
> > File = /media
> > File = /mnt
> > File = /backup
>
> ___
> Você quer respostas para suas perguntas? Ou você sabe muito e quer
> compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
> http://br.answers.yahoo.com/
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't compile with --enable-gnome

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 17:16, Göran Törnquist wrote:
> Hi,
> I'm fairly new to Bacula, so please bare with me.
>
> I've been successful to compile from source with
> respect to all my needs except the support for
> gnome. I'm running SuSE Linux Enterprise Server 9
> with all the latest patches.
>
> This is the relevant parts my configuration:
>
> ./configure \
>  --sbindir=/usr/local/bacula/bin \
>  --sysconfdir=/usr/local/bacula/etc \
>  --with-pid-dir=/var/run \
>  --enable-smartalloc \
>  --enable-gnome \
>  --with-mysql \
>  --with-working-dir=/usr/local/bacula/bin/working
>
> This is what the configure script says:
> ...
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for msgfmt... (cached) /usr/bin/msgfmt
> configure: error: Unable to find Gnome 2 installation
>
>
> This is what I get from querying the RPM database:
>
> # rpm -qa | grep -i gnome
> libgnome-2.4.0-156.1
> gnome-libs-32bit-9-200407011229
> libgnomeprintui-2.5.3-46.1
> gnome-terminal-2.4.2-109.1
> libgnomedb-1.0.3-51.3
> gnome-applets-2.4.2-49.1
> gnome-vfs2-2.4.2-68.9
> libgnome-devel-2.4.0-156.1
> gnome-mime-data-2.4.1-66.2
> gnome-icon-theme-1.1.0-83.1
> libgnomeui-2.4.0.1-173.1
> libgsf-gnome-1.8.2-164.1
> libgnomeprint-2.5.3-43.1
> gnome-speech-0.2.7-62.1
> gnome-mag-0.10.3-152.1
> gnome-print-0.36-795.1
> gnome-utils-2.4.1-48.1
> gnome-vfs2-32bit-9-200504131658
> gnome-desktop-2.4.1.1-132.4
> gnome-panel-devel-2.4.2-63.1
> gnome-vfs2-devel-2.4.2-68.3
> gnome-filesystem-0.1-172.4
> libgnomecanvas-2.4.0-140.1
> gnome-libs-1.4.1.7-671.1
> gnome2-SuSE-0.1-443.1
> gnome-session-2.4.2-78.1
> gnome-panel-2.4.2-63.4
>
>
> Any pointers? I haven't been able to find
> anything in the archives, so I'm pretty much
> stumped right now.

Here is what I have loaded -- probably *way* overkill, and I have no problem 
building the gnome console:

gnome-filesystem-0.1-259
libgnomesu-1.0.0-29
libgnomeprintui-2.12.1-20
libgnome-devel-2.12.0.1-26
gnome-menus-devel-2.12.0-29
libgnome-2.12.0.1-26
libgnomeui-2.12.0-28
gnome-spell2-1.0.6-22
libgnomeprintui-doc-2.12.1-20
libgnomeui-devel-2.12.0-28
gnome-audio-2.0.0-132
gnome-keyring-0.4.6-15
gnome-vfs2-2.12.2-56
libgnomeprint-2.12.1-20
gnome-panel-2.12.2-40
libgnomesu-devel-1.0.0-29
gnome-panel-devel-2.12.2-40
gnome2-user-docs-2.8.1-21
libgnomecanvas-2.12.0-19
libgsf-gnome-1.13.99-13
libgnomecups-0.2.2-21
gnome-vfs2-devel-2.12.2-56
gnome-common-2.12.0-12
gnome-keyring-devel-0.4.6-15
libgnomecanvas-devel-2.12.0-19
gnome-desktop-devel-2.12.2-23
gnome-icon-theme-2.12.1-25
gnome-menus-2.12.0-29
gnome-desktop-2.12.2-23
libgnomeprint-devel-2.12.1-20
libgnomecups-devel-0.2.2-21
libgnomeprintui-devel-2.12.1-20
gnome-mime-data-2.4.2-22
gnome-themes-2.12.1-33
gtksourceview-1.5.6-18
gtkhtml2-3.10.0-15
gtksourceview-devel-1.5.6-18
libgtkhtml-2.11.0-16
gtk2-devel-2.8.10-36
gtkhtml2-devel-3.10.0-15
gtk-1.2.10-907
gtk2-2.8.10-36
gtk2-engines-2.6.7-17

You probably just need to look at loading a few more of the -devel rpms that 
correspond to the gnome rpms that you have loaded. As I said, mine is way 
overkill, but I didn't want to spend any time at it, so I just pulled in a 
lot of stuff.  By the way, I am running KDE, so the Gnome desktop probably 
won't even load on my system ...

>
> Best Regards
>
> /Göran Törnquist
>
> --
> --
> Göran Törnquist
> --
> +46 733 86 04 70
> --
> Cortland AB
> Sjökarbyvägen 23
> 184 34 Åkersberga
> Sweden

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Missings hard linked files from /etc backup

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 17:03, Greg Cope, e-DBA Team wrote:
> Is this something to do with spares files?

Sparse should have nothing to do with hard links. However, it could incur a 
good amount of overhead so you should use that option sparsely :-)

>
> Or am I the only person suffering with this?

I've never seen any problem with hard links other than the 1.38 and older can 
sometimes be very slow (in the FD) if you have 10's of thousands of hard 
links -- this is fixed in 1.39.x (I think, because I have not personally 
tested it).

>
> Is it a bug?

I doubt it.

Unless I missed something (possible), you haven't provided any evidence that 
Bacula is *not* backing up hard links. At least you could list a few hard 
links that exist on your system, then show that they are not in the list of 
files backed up.  You might also look at the Support page on the web for what 
kind of info to supply in a support request.

In addition, your fileset below includes only /var/log and /etc, and I would 
not expect to find any hard links (or very few) in those two directories.  
There may be lots of soft links, but that is a different story.  Perhaps you 
forgot to include /  ?


>
> >From my reading of the docs spares files should not affect hard links
>
> to /etc/init.d/ scripts?!?
>
> Bit of a show stopped for us at the mo.
>
> Greg
>
> On Tue, 2006-07-04 at 11:58 +0100, Greg Cope wrote:
> > Hi All,
> >
> > Have I missed anything?  My hardlinked files in /etc/init.d are mostly
> > missing (90%) from a full backup.
> >
> > What have I missed.  This is on a fedora Core host (but should apply to
> > all RH/FC/CentOS hosts)
> >
> > My fileset looks like;
> >
> > FileSet {
> > Name = linuxBasic
> > Include {
> > Options {
> > Compression = GZIP
> > signature = SHA1
> > Sparse = yes
> > }
> > @/etc/bacula/list.d/linuxBasic.list
> > }
> > Exclude {
> > @/etc/bacula/list.d/linuxBasic.exclude
> > }
> > }
> >
> > # more /etc/bacula/list.d/linuxBasic.list
> > File = /var/log
> > File = /etc
> > # more /etc/bacula/list.d/linuxBasic.exclude
> > # stuff we do not want!
> > File = /proc
> > File = /tmp
> > File = /.journal
> > File = /.fsck
> > File = /var/tmp
> > File = /var/backup
> > File = /var/cache
> > File = /var/tars
> > File = /var/run
> > File = /media
> > File = /mnt
> > File = /backup
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can't compile with --enable-gnome

2006-07-04 Thread Göran Törnquist
Hi,
I'm fairly new to Bacula, so please bare with me.

I've been successful to compile from source with 
respect to all my needs except the support for 
gnome. I'm running SuSE Linux Enterprise Server 9 
with all the latest patches.

This is the relevant parts my configuration:

./configure \
 --sbindir=/usr/local/bacula/bin \
 --sysconfdir=/usr/local/bacula/etc \
 --with-pid-dir=/var/run \
 --enable-smartalloc \
 --enable-gnome \
 --with-mysql \
 --with-working-dir=/usr/local/bacula/bin/working

This is what the configure script says:
...
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt... (cached) /usr/bin/msgfmt
configure: error: Unable to find Gnome 2 installation


This is what I get from querying the RPM database:

# rpm -qa | grep -i gnome
libgnome-2.4.0-156.1
gnome-libs-32bit-9-200407011229
libgnomeprintui-2.5.3-46.1
gnome-terminal-2.4.2-109.1
libgnomedb-1.0.3-51.3
gnome-applets-2.4.2-49.1
gnome-vfs2-2.4.2-68.9
libgnome-devel-2.4.0-156.1
gnome-mime-data-2.4.1-66.2
gnome-icon-theme-1.1.0-83.1
libgnomeui-2.4.0.1-173.1
libgsf-gnome-1.8.2-164.1
libgnomeprint-2.5.3-43.1
gnome-speech-0.2.7-62.1
gnome-mag-0.10.3-152.1
gnome-print-0.36-795.1
gnome-utils-2.4.1-48.1
gnome-vfs2-32bit-9-200504131658
gnome-desktop-2.4.1.1-132.4
gnome-panel-devel-2.4.2-63.1
gnome-vfs2-devel-2.4.2-68.3
gnome-filesystem-0.1-172.4
libgnomecanvas-2.4.0-140.1
gnome-libs-1.4.1.7-671.1
gnome2-SuSE-0.1-443.1
gnome-session-2.4.2-78.1
gnome-panel-2.4.2-63.4


Any pointers? I haven't been able to find 
anything in the archives, so I'm pretty much 
stumped right now.

Best Regards

/Göran Törnquist

--
--
Göran Törnquist
--
+46 733 86 04 70
--
Cortland AB
Sjökarbyvägen 23
184 34 Åkersberga
Sweden

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Missings hard linked files from /etc backup

2006-07-04 Thread Georger Araujo
Looks fine to me. I back up very similar data on two
boxes, one running RHELAS4 and another one running
CentOS 4.3, without any errors.
Did you get any errors in the log? Did the job
terminate OK?
Try creating a new fileset with just /etc, and a new
job using the new fileset and the same client. It
could also help if you include information about your
environment - what version of FC and Bacula you're
running, how did you install Bacula (source or RPM),
which user bacula-fd runs under, etc. Regards,

Georger

--- Greg Cope <[EMAIL PROTECTED]> escreveu:

> Hi All,
> 
> Have I missed anything?  My hardlinked files in
> /etc/init.d are mostly
> missing (90%) from a full backup.
> 
> What have I missed.  This is on a fedora Core host
> (but should apply to
> all RH/FC/CentOS hosts)
> 
> My fileset looks like;
> 
> FileSet {
> Name = linuxBasic
> Include {
> Options {
> Compression = GZIP
> signature = SHA1
> Sparse = yes
> }
> @/etc/bacula/list.d/linuxBasic.list
> }
> Exclude {
>
> @/etc/bacula/list.d/linuxBasic.exclude
> }
> }
> 
> # more /etc/bacula/list.d/linuxBasic.list 
> File = /var/log
> File = /etc
> # more /etc/bacula/list.d/linuxBasic.exclude 
> # stuff we do not want!
> File = /proc
> File = /tmp
> File = /.journal
> File = /.fsck
> File = /var/tmp
> File = /var/backup
> File = /var/cache
> File = /var/tars
> File = /var/run
> File = /media
> File = /mnt
> File = /backup








___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Missings hard linked files from /etc backup

2006-07-04 Thread Greg Cope, e-DBA Team
Is this something to do with spares files?

Or am I the only person suffering with this?

Is it a bug?

>From my reading of the docs spares files should not affect hard links
to /etc/init.d/ scripts?!?

Bit of a show stopped for us at the mo.

Greg

On Tue, 2006-07-04 at 11:58 +0100, Greg Cope wrote:
> Hi All,
> 
> Have I missed anything?  My hardlinked files in /etc/init.d are mostly
> missing (90%) from a full backup.
> 
> What have I missed.  This is on a fedora Core host (but should apply to
> all RH/FC/CentOS hosts)
> 
> My fileset looks like;
> 
> FileSet {
> Name = linuxBasic
> Include {
> Options {
> Compression = GZIP
> signature = SHA1
> Sparse = yes
> }
> @/etc/bacula/list.d/linuxBasic.list
> }
> Exclude {
> @/etc/bacula/list.d/linuxBasic.exclude
> }
> }
> 
> # more /etc/bacula/list.d/linuxBasic.list 
> File = /var/log
> File = /etc
> # more /etc/bacula/list.d/linuxBasic.exclude 
> # stuff we do not want!
> File = /proc
> File = /tmp
> File = /.journal
> File = /.fsck
> File = /var/tmp
> File = /var/backup
> File = /var/cache
> File = /var/tars
> File = /var/run
> File = /media
> File = /mnt
> File = /backup
> 
> 
> 
> 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Interesting" failure mode

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 16:12, Wolfgang Denk wrote:
> Dear Kern,
>
> in message <[EMAIL PROTECTED]> you wrote:
> > Unless your OS is broken, Bacula always detects and reports when a volume
> > gets a write error, which is the case when your partition fills up.  I
> > would
>
> That was my expectation, too. dir and sd  running  on  a  FC2  system
> (with  a  2.6.10-1.771_FC2  kernel);  the  data  are on a NFS mounted
> partitition (opts: nosuid,nodev,vers=3,proto=tcp)  on  a  FC4  server
> (2.6.16-1.2108_FC4 kernel).

You mean the Volumes are on an NFS mounted partition?  or do you mean the data 
you are backing up?

What counts is where the Volumes are.

If they are on NFS mounted partitions, then all bets are off.  If that is the 
case, you would be much better running a SD on the machine in question rather 
than using NFS.

>
> > classify the fact that Bacula continues attempting to create Volumes on a
> > harddisk after a full partition as missing code (a bug if you will).
> > However, before making any definitive statement, I would like to see the
> > "error" messages that Bacula produced for you.  They should be in the
> > log.
>
> There aren't any error messages. That's what's  puzzeling  me.  Where
> would you expect to see such error messages?
>
> In Bacula, I get the expected messages, i. e. for example:
>
> 04-May 01:48 xx-sd: Wrote label to prelabeled Volume
> "xx.denx.de-017" on device "FileStorage" (/net/nyx/backup) 04-May 01:48
> xx-sd: New volume "xx.denx.de-017" mounted on device "FileStorage"
> (/net/nyx/backup) at 04-May-2006 01:48. Volume name(s):
> xx.denx.de-016|xx.denx.de-017
> 05-May 01:07 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 06-May 01:40 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 08-May 15:44 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 09-May 12:05 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 10-May 01:24 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 11-May 02:43 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 12-May 10:39 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 15-May 22:42 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. Volume name(s): xx.denx.de-017
> 16-May 01:05 xx-sd: Volume "xx.denx.de-017" previously written,
> moving to end of data. 16-May 01:10 xx-sd: End of medium on Volume
> "xx.denx.de-017" Bytes=7,999,998,273 Blocks=124,013 at 16-May-2006
> 01:10.
>
> However, xx.denx.de-017 is just 4 kB (a single disk block).
>
>
> I just re-ran a test: I filled  up  the  file  system  until  it  was
> reported as full:
>
> # date >foo
> date: write error: No space left on device
>
> However, bacula says:
>
> 04-Jul 15:51 xx-dir: Start Backup JobId 3043,
> Job=BackupCatalog.2006-07-04_15.41.51 04-Jul 15:51 xx-sd: Wrote label
> to prelabeled Volume "xx.denx.de-026" on device "FileStorage"
> (/net/nyx/backup) 04-Jul 16:02 xx-dir: Bacula 1.38.5 (18Jan06):
> 04-Jul-2006 16:02:20 JobId:  3043
>   Job:BackupCatalog.2006-07-04_15.41.51
>   Backup Level:   Full
>   Client: "xx-fd" i686-pc-linux-gnu,redhat,(Tettnang)
>   FileSet:"Catalog" 2005-12-21 10:55:54
>   Pool:   "Default"
>   Storage:"File"
>   Scheduled time: 04-Jul-2006 15:41:42
>   Start time: 04-Jul-2006 15:41:53
>   End time:   04-Jul-2006 16:02:20
>   Priority:   99
>   FD Files Written:   1
>   SD Files Written:   1
>   FD Bytes Written:   1,524,018,563
>   SD Bytes Written:   1,524,018,670
>   Rate:   1242.1 KB/s
>   Software Compression:   73.4 %
>   Volume name(s): xx.denx.de-026
>   Volume Session Id:  243
>   Volume Session Time:1144017997
>   Last Volume Bytes:  1,525,918,129
>   Non-fatal FD errors:0
>   SD Errors:  0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:Backup OK
>
> 04-Jul 16:02 xx-dir: Begin pruning Jobs.
> 04-Jul 16:02 xx-dir: Pruned 0 Jobs for client xx-fd from catalog.
> 04-Jul 16:02 xx-dir: Begin pruning Files.
> 04-Jul 16:02 xx-dir: No Files found to prune.
> 04-Jul 16:02 xx-dir: End auto prune.
>
>
> And I see
>
> -rw-r-  1 root root 4096 Jul  4 16:02 xx.denx.de-026
>
> [Before running the test, 

[Bacula-users] Clearing jobs that haven't run yet

2006-07-04 Thread Beren
Hi Everyone,

I'm trying to find a way to make bacula clear all jobs that have not
yet run (if they were delayed for whatever reason) just before the
next night's backups start?

I could just cron a "bacula restart" but I thought there might be a
more elegant way.

Cheers,

Beren

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] "Interesting" failure mode

2006-07-04 Thread Wolfgang Denk
Dear Kern,

in message <[EMAIL PROTECTED]> you wrote:
>
> Unless your OS is broken, Bacula always detects and reports when a volume 
> gets 
> a write error, which is the case when your partition fills up.  I would 

That was my expectation, too. dir and sd  running  on  a  FC2  system
(with  a  2.6.10-1.771_FC2  kernel);  the  data  are on a NFS mounted
partitition (opts: nosuid,nodev,vers=3,proto=tcp)  on  a  FC4  server
(2.6.16-1.2108_FC4 kernel).

> classify the fact that Bacula continues attempting to create Volumes on a 
> harddisk after a full partition as missing code (a bug if you will).  
> However, before making any definitive statement, I would like to see the 
> "error" messages that Bacula produced for you.  They should be in the log.

There aren't any error messages. That's what's  puzzeling  me.  Where
would you expect to see such error messages?

In Bacula, I get the expected messages, i. e. for example:

04-May 01:48 xx-sd: Wrote label to prelabeled Volume "xx.denx.de-017" 
on device "FileStorage" (/net/nyx/backup)
04-May 01:48 xx-sd: New volume "xx.denx.de-017" mounted on device 
"FileStorage" (/net/nyx/backup) at 04-May-2006 01:48.
  Volume name(s): xx.denx.de-016|xx.denx.de-017
05-May 01:07 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
06-May 01:40 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
08-May 15:44 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
09-May 12:05 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
10-May 01:24 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
11-May 02:43 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
12-May 10:39 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
15-May 22:42 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
  Volume name(s): xx.denx.de-017
16-May 01:05 xx-sd: Volume "xx.denx.de-017" previously written, moving 
to end of data.
16-May 01:10 xx-sd: End of medium on Volume "xx.denx.de-017" 
Bytes=7,999,998,273 Blocks=124,013 at 16-May-2006 01:10.

However, xx.denx.de-017 is just 4 kB (a single disk block).


I just re-ran a test: I filled  up  the  file  system  until  it  was
reported as full:

# date >foo
date: write error: No space left on device

However, bacula says:

04-Jul 15:51 xx-dir: Start Backup JobId 3043, 
Job=BackupCatalog.2006-07-04_15.41.51
04-Jul 15:51 xx-sd: Wrote label to prelabeled Volume "xx.denx.de-026" 
on device "FileStorage" (/net/nyx/backup)
04-Jul 16:02 xx-dir: Bacula 1.38.5 (18Jan06): 04-Jul-2006 16:02:20
  JobId:  3043
  Job:BackupCatalog.2006-07-04_15.41.51
  Backup Level:   Full
  Client: "xx-fd" i686-pc-linux-gnu,redhat,(Tettnang)
  FileSet:"Catalog" 2005-12-21 10:55:54
  Pool:   "Default"
  Storage:"File"
  Scheduled time: 04-Jul-2006 15:41:42
  Start time: 04-Jul-2006 15:41:53
  End time:   04-Jul-2006 16:02:20
  Priority:   99
  FD Files Written:   1
  SD Files Written:   1
  FD Bytes Written:   1,524,018,563
  SD Bytes Written:   1,524,018,670
  Rate:   1242.1 KB/s
  Software Compression:   73.4 %
  Volume name(s): xx.denx.de-026
  Volume Session Id:  243
  Volume Session Time:1144017997
  Last Volume Bytes:  1,525,918,129
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

04-Jul 16:02 xx-dir: Begin pruning Jobs.
04-Jul 16:02 xx-dir: Pruned 0 Jobs for client xx-fd from catalog.
04-Jul 16:02 xx-dir: Begin pruning Files.
04-Jul 16:02 xx-dir: No Files found to prune.
04-Jul 16:02 xx-dir: End auto prune.


And I see

-rw-r-  1 root root 4096 Jul  4 16:02 xx.denx.de-026

[Before running the test, this file was empty except for the volume label:
-rw-r-  1 root root  213 Jul  3 21:05 xx.denx.de-026
]


It's only when I try to restoire from such a file that I run into trouble:

04-Jul 16:10 xx-sd: Ready to read from volume "xx.denx.de-026" on 
device "FileStorage" (/net/nyx/backup).
04-Jul 16:10 xx-sd: Restore.2006-07-04_16.10.45 Error: block.c:1025 Volume 
data error at 0:4095! Short block of 3883 bytes on device "FileStorage" 
(/net/nyx/backup) discarded.
04-Jul 16:10 xx-s

[Bacula-users] parallel running of jobs

2006-07-04 Thread Santa Claus
Hi, After many tests I have created the necessary configuration for parallel running of jobs. Both tasks for copying, and tasks for restoration. Files of a configuration look below. Pay attention on:
 0. See "Running Concurrent Jobs" chapter of original documentation. 1. All priorities are identical (in example, Priority = 10) 2. As well as it is described in the documentation simultaneous record and reading from one Storage, are impossible.
 Test this configuration: - first run Job :   2: file1-to-pool1 - after this complete, run Job :   3: file2-to-pool2 - there and then immediately run Job :   1: restore.files
 - status dirRunning Jobs: JobId Level   Name   Status
== 2 Full    file2-to-pool2.2006-07-04_14.47.36
 is running 3 restore.files.2006-07-04_14.48.40 is running Too concerns and to tapes. My environment: FC5, MySQL 5, bacula 
1.38.11-3 (build from src.rpm).- bacula-dir.conf Director {  Name = "main.dir"  WorkingDirectory = /arc/temp
  Maximum Concurrent Jobs = 100  ...}Storage {  Name = "StorageFile1"  Device = "devFileStorage1"  Media Type = File1  Maximum Concurrent Jobs = 100  ...}
Storage {  Name = "StorageFile2"  Device = "devFileStorage2"  Media Type = File2  Maximum Concurrent Jobs = 100  ...}Job {  Name = "restore.files"  Type = Restore
  Client = "local.fd"  FileSet = "Full Set"  Storage = StorageFile1  Pool = "pool.test1"  Where = /arc/restore  Maximum Concurrent Jobs = 100  Priority = 10  Write Bootstrap = "/var/bacula/test11.bsr"
  RunBeforeJob = "/etc/bacula/scripts/restore_before.sh"  ...}FileSet {  Name = "Full Set"  Include {    Options {  signature = MD5    }    File = /tmp
  }}Client {  Name = "local.fd"  Catalog = MyCatalog  Maximum Concurrent Jobs = 100  ...}Catalog {  Name = MyCatalog  dbname = bacula; user = bacula; password = ""
}Messages {  Name = Standard  ...}Messages {  Name = Daemon  ...}Pool {  Name = "pool.test1"  Pool Type = Backup  LabelFormat = "pool.test1
."  ...}Pool {  Name = "pool.test2"  Pool Type = Backup  LabelFormat = "pool.test2."  ...}FileSet {  Name = "file.set.test1"  Include {
    Options {  signature = MD5  compression = GZIP    }    File = "/arc/test/1"  }}FileSet {  Name = "file.set.test2"  Include {    Options {
  signature = MD5  compression = GZIP    }    File = "/arc/test/2"  }}Job {    Name = "file1-to-pool1"    Type = Backup    Level = Full    Client = "
local.fd"    FileSet = "file.set.test1"    Storage = StorageFile1    Messages = Standard    Pool = "pool.test1"    Write Bootstrap = "/var/bacula/test11.bsr"    RunBeforeJob = "/etc/bacula/scripts/test1_before.sh"
    SpoolData = yes    Maximum Concurrent Jobs = 100    Priority = 10}Job {    Name = "file2-to-pool2"    Type = Backup    Level = Full    Client = "local.fd"
    FileSet = "file.set.test2"    Storage = StorageFile2    Messages = Standard    Pool = "pool.test2"    Write Bootstrap = "/var/bacula/test22.bsr"    RunBeforeJob = "/etc/bacula/scripts/test2_before.sh"
    SpoolData = yes    Maximum Concurrent Jobs = 100    Priority = 10}Job {    Name = "file1-to-pool2"    Type = Backup    Level = Full    Client = "local.fd"
    FileSet = "file.set.test1"    Storage = StorageFile2    Messages = Standard    Pool = "pool.test2"    Write Bootstrap = "/var/bacula/test12.bsri"    RunBeforeJob = "/etc/bacula/scripts/test1_before.sh"
    SpoolData = yes    Maximum Concurrent Jobs = 100    Priority = 10}Job {    Name = "file2-to-pool1"    Type = Backup    Level = Full    Client = "local.fd"
    FileSet = "file.set.test2"    Storage = StorageFile1    Messages = Standard    Pool = "pool.test1"    Write Bootstrap = "/var/bacula/test21.bsr"    RunBeforeJob = "/etc/bacula/scripts/test2_before.sh"
    SpoolData = yes    Maximum Concurrent Jobs = 100    Priority = 10}- bacula-sd.conf 
Storage {  Name = "Storage1"  WorkingDirectory = /arc/temp  Pid Directory = "/var/run"  Maximum Concurrent Jobs = 100  ...}Director {  Name = "main.dir"
  ...}Device {  Name = "devFileStorage1"  Media Type = File1  Archive Device = /arc/dev  LabelMedia = yes;  Random Access = Yes;  AutomaticMount = yes;  RemovableMedia = no;
  AlwaysOpen = no;  Spool Directory = /arc/spool}Device {  Name = "devFileStorage2"  Media Type = File2  Archive Device = /arc/dev  LabelMedia = yes;  Random Access = Yes;
  AutomaticMount = yes;  RemovableMedia = no;  AlwaysOpen = no;  Spool Directory = /arc/spool}Messages {  Name = Standard  director = "main.dir" = all}
- bacula-fd.conf Director {  Name = "main.dir"  ...}FileDaemon {  Name = "local.fd"
  WorkingDirectory = /arc/temp  Pid Directory = /var/run  Maximum Concurrent Jobs = 100  ...}Messages {  Name = Standard  director = "main.dir" = all, !skipped}
- restore_before.sh #!/bin/bashsleep

Re: [Bacula-users] tool for getting the backup and directory size

2006-07-04 Thread Bernhard Suttner
this command is the right way. thanks!

maybe the command can be extended. a parameter "depth" (like in find with 
min-depth and max-depth)
would be cool that you can generate an overview.


On Tue, 4 Jul 2006 07:12:23 -0400
Bill Moran <[EMAIL PROTECTED]> wrote:

> Bernhard Suttner <[EMAIL PROTECTED]> wrote:
> 
> > Helo,
> > 
> > the backup size of our bacula installation is growing faster and
> > faster. We have to backup 72 GB in FULL mode. Now we analyze that some
> > users have to much and to big files in their home directories. We use
> > du -h to get this infos. Now a idea come up for me: 
> > 
> >Bacula has the informations about what files to backup (the backup
> >file list and the exclude list). It would be great to have a tool,
> >that detect for each backup directory (and you can set how deep 
> >it should go into the tree) the size. 
> > 
> > This tool could be cool for bacula to analyze the backup directories!
> > 
> > Any ideas?
> 
> Are you talking about the estimate command in bconsole?
> 
> -- 
> Bill Moran
> 
> When I point out limitations of one technique as a motivation for another, I
> do so in the context of specific problems; for different problems or in other
> contexts, the first technique may indeed be the better choice.  Useful
> software has been constructed using all of the techniques presented here.
> 
> Bjarne Stroustrup, _The_C++_Programming_Language_
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-- 
Bernhard Suttner <[EMAIL PROTECTED]>

 ANDURAS service solutions AG
 Innstra_e 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker, Michael Sch_n
Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Tr_ger

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] tool for getting the backup and directory size

2006-07-04 Thread Bill Moran
Bernhard Suttner <[EMAIL PROTECTED]> wrote:

> Helo,
> 
> the backup size of our bacula installation is growing faster and
> faster. We have to backup 72 GB in FULL mode. Now we analyze that some
> users have to much and to big files in their home directories. We use
> du -h to get this infos. Now a idea come up for me: 
> 
>Bacula has the informations about what files to backup (the backup
>file list and the exclude list). It would be great to have a tool,
>that detect for each backup directory (and you can set how deep 
>it should go into the tree) the size. 
> 
> This tool could be cool for bacula to analyze the backup directories!
> 
> Any ideas?

Are you talking about the estimate command in bconsole?

-- 
Bill Moran

When I point out limitations of one technique as a motivation for another, I
do so in the context of specific problems; for different problems or in other
contexts, the first technique may indeed be the better choice.  Useful
software has been constructed using all of the techniques presented here.

Bjarne Stroustrup, _The_C++_Programming_Language_


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Missings hard linked files from /etc backup

2006-07-04 Thread Greg Cope
Hi All,

Have I missed anything?  My hardlinked files in /etc/init.d are mostly
missing (90%) from a full backup.

What have I missed.  This is on a fedora Core host (but should apply to
all RH/FC/CentOS hosts)

My fileset looks like;

FileSet {
Name = linuxBasic
Include {
Options {
Compression = GZIP
signature = SHA1
Sparse = yes
}
@/etc/bacula/list.d/linuxBasic.list
}
Exclude {
@/etc/bacula/list.d/linuxBasic.exclude
}
}

# more /etc/bacula/list.d/linuxBasic.list 
File = /var/log
File = /etc
# more /etc/bacula/list.d/linuxBasic.exclude 
# stuff we do not want!
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = /var/tmp
File = /var/backup
File = /var/cache
File = /var/tars
File = /var/run
File = /media
File = /mnt
File = /backup






Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] tool for getting the backup and directory size

2006-07-04 Thread Bernhard Suttner
Helo,

the backup size of our bacula installation is growing faster and
faster. We have to backup 72 GB in FULL mode. Now we analyze that some
users have to much and to big files in their home directories. We use
du -h to get this infos. Now a idea come up for me: 

   Bacula has the informations about what files to backup (the backup
   file list and the exclude list). It would be great to have a tool,
   that detect for each backup directory (and you can set how deep 
   it should go into the tree) the size. 

This tool could be cool for bacula to analyze the backup directories!

Any ideas?

Greets,
Bernhard Suttner

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 11:27, le dahut wrote:
> For me it seems to be a barbarian method. I don't like text parsing
> because of the errors than can happen due to internationalization, like
> 'ifconfig' which needs 2 different parsers if it's in French or in English.
> However you can take my example (which works) if you want, my messages
> to mailing lists are always open-source :-) .

Thanks.

>
>
> Another question :
> "JobStatus
>  This attribute contains a single character string representing the
> current Job status. The status may change during execution of the job."
>
> Should I understand that on "JobEnd" I can get the output of the job ?
> If yes, what are the keywords ?

See the Python chapter of the online development manual.  There is a list of 
them under JobStatus.

>
>
> K.
>
> Kern Sibbald a écrit :
> > On Tuesday 04 July 2006 09:22, le dahut wrote:
> >> Yes, I used already something like :
> >> """
> >> import commands
> >>
> >> estim = commands.getoutput('/bin/echo -e "estimate
> >> level=%s\n1"|/usr/sbin/bconsole -c
> >> /etc/bacula/bconsole.conf'%niveau).split('bytes=')
> >> """
> >>
> >> ;-) If it can help someone else ...
> >
> > Nice. Would you mind if I add it as an example of running Bacula commands
> > in the default Bacula Python script?
> >
> >> K.
> >>
> >> Kern Sibbald a écrit :
> >>> On Monday 03 July 2006 17:09, le dahut wrote:
>  Ok, everything works fine now.
> 
>  Another question, is it possible to get an estimation via python
>  Scripting
> >>>
> >>> If you mean can the Python script run a console "estimate" command, the
> >>> answer is: no, not directly as the only "command" that Python can run
> >>> is the "run" command.  I will probably implement a general command
> >>> interface at sometime in the future, but it is likely there will be
> >>> some crazy recursion problems.
> >>>
> >>> However, Python can very well run *any* command by simply running a
> >>> system() of the bconsole program and feeding it any commands you want.
> >>> It is not very elegant, but possible.
> >>>
>  ?
> 
> 
>  K.
> 
>  Kern Sibbald a écrit :
> > On Monday 03 July 2006 13:24, le dahut wrote:
> >> Hello,
> >>
> >> Bacula 1.38.10 RPM compiled successfully with the option
> >> --with-python.
> >>
> >> But in a python prompt I get this :
> >>  >>> import sys, bacula
> >>
> >> Traceback (most recent call last):
> >>File "", line 1, in ?
> >> ImportError: No module named bacula
> >>
> >>
> >>
> >> Any idea ?
> >
> > If you are at a Python prompt, you are probably using the Python
> > interpreter directly.
> >
> > The bacula module is *only* available when Bacula calls Python, and
> > in that case, there is no python prompt and no way to feed commands
> > directly into the Bacula python instance.  Everything works by Bacula
> > generating "events" which cause the appropriate Bacula python method
> > to be called ...
> >>
> >> Using Tomcat but need to do more? Need to support web services,
> >> security? Get stuff done quickly with pre-integrated technology to make
> >> your job easier Download IBM WebSphere Application Server v.1.0.1 based
> >> on Apache Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> ___
> >> Bacula-users mailing list
> >> Bacula-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-04 Thread le dahut
For me it seems to be a barbarian method. I don't like text parsing 
because of the errors than can happen due to internationalization, like 
'ifconfig' which needs 2 different parsers if it's in French or in English.
However you can take my example (which works) if you want, my messages 
to mailing lists are always open-source :-) .


Another question :
"JobStatus
 This attribute contains a single character string representing the 
current Job status. The status may change during execution of the job."

Should I understand that on "JobEnd" I can get the output of the job ? 
If yes, what are the keywords ?


K.


Kern Sibbald a écrit :
> On Tuesday 04 July 2006 09:22, le dahut wrote:
>> Yes, I used already something like :
>> """
>> import commands
>>
>> estim = commands.getoutput('/bin/echo -e "estimate
>> level=%s\n1"|/usr/sbin/bconsole -c
>> /etc/bacula/bconsole.conf'%niveau).split('bytes=')
>> """
>>
>> ;-) If it can help someone else ...
> 
> Nice. Would you mind if I add it as an example of running Bacula commands in 
> the default Bacula Python script?
> 
>>
>> K.
>>
>> Kern Sibbald a écrit :
>>> On Monday 03 July 2006 17:09, le dahut wrote:
 Ok, everything works fine now.

 Another question, is it possible to get an estimation via python
 Scripting
>>> If you mean can the Python script run a console "estimate" command, the
>>> answer is: no, not directly as the only "command" that Python can run is
>>> the "run" command.  I will probably implement a general command interface
>>> at sometime in the future, but it is likely there will be some crazy
>>> recursion problems.
>>>
>>> However, Python can very well run *any* command by simply running a
>>> system() of the bconsole program and feeding it any commands you want. 
>>> It is not very elegant, but possible.
>>>
 ?


 K.

 Kern Sibbald a écrit :
> On Monday 03 July 2006 13:24, le dahut wrote:
>> Hello,
>>
>> Bacula 1.38.10 RPM compiled successfully with the option
>> --with-python.
>>
>> But in a python prompt I get this :
>>  >>> import sys, bacula
>>
>> Traceback (most recent call last):
>>File "", line 1, in ?
>> ImportError: No module named bacula
>>
>>
>>
>> Any idea ?
> If you are at a Python prompt, you are probably using the Python
> interpreter directly.
>
> The bacula module is *only* available when Bacula calls Python, and in
> that case, there is no python prompt and no way to feed commands
> directly into the Bacula python instance.  Everything works by Bacula
> generating "events" which cause the appropriate Bacula python method to
> be called ...
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] remote tapes

2006-07-04 Thread Bart Schelstraete
Hi,

We have some tape (DDS) devices connected to HP-UX machines.
Because the SD is not supported on HP-UX, we cannot configure a SD on that.
Is there another way so that we can also store backups to the tapes
connected to an HP-UX box?



B

-- 
Schelstraete Bart
http://www.schelstraete.org
[EMAIL PROTECTED]

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 09:22, le dahut wrote:
> Yes, I used already something like :
> """
> import commands
>
> estim = commands.getoutput('/bin/echo -e "estimate
> level=%s\n1"|/usr/sbin/bconsole -c
> /etc/bacula/bconsole.conf'%niveau).split('bytes=')
> """
>
> ;-) If it can help someone else ...

Nice. Would you mind if I add it as an example of running Bacula commands in 
the default Bacula Python script?

>
>
> K.
>
> Kern Sibbald a écrit :
> > On Monday 03 July 2006 17:09, le dahut wrote:
> >> Ok, everything works fine now.
> >>
> >> Another question, is it possible to get an estimation via python
> >> Scripting
> >
> > If you mean can the Python script run a console "estimate" command, the
> > answer is: no, not directly as the only "command" that Python can run is
> > the "run" command.  I will probably implement a general command interface
> > at sometime in the future, but it is likely there will be some crazy
> > recursion problems.
> >
> > However, Python can very well run *any* command by simply running a
> > system() of the bconsole program and feeding it any commands you want. 
> > It is not very elegant, but possible.
> >
> >> ?
> >>
> >>
> >> K.
> >>
> >> Kern Sibbald a écrit :
> >>> On Monday 03 July 2006 13:24, le dahut wrote:
>  Hello,
> 
>  Bacula 1.38.10 RPM compiled successfully with the option
>  --with-python.
> 
>  But in a python prompt I get this :
>   >>> import sys, bacula
> 
>  Traceback (most recent call last):
> File "", line 1, in ?
>  ImportError: No module named bacula
> 
> 
> 
>  Any idea ?
> >>>
> >>> If you are at a Python prompt, you are probably using the Python
> >>> interpreter directly.
> >>>
> >>> The bacula module is *only* available when Bacula calls Python, and in
> >>> that case, there is no python prompt and no way to feed commands
> >>> directly into the Bacula python instance.  Everything works by Bacula
> >>> generating "events" which cause the appropriate Bacula python method to
> >>> be called ...
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd rpm

2006-07-04 Thread Kern Sibbald
On Tuesday 04 July 2006 09:07, Timo Neuvonen wrote:
> > Anybody know where i found the rpm package of bacula-fd to FC3?
>
> Yes, even the older packages seem to have been dropped from SF.

The older packages are not dropped from SF, they all still exist.  To keep the 
release page from having thousands of entries, non-recent releases are 
"hidden" from the main page, but they all still exist, and if you learn to 
navigate SF, you can get to them -- if I remember right, you simply click on 
"Older releases".

If by "older packages" you really mean packages for older OSes, then yes at 
some point, we stop building them. It takes a lot of time and effort as well 
as machines running the older OSes, and no one pays us for it.  If that is 
what you mean, then your suggestion below is a good way to go.  Building from 
source is not very hard, and it is documented both for building from .tar.gz 
and from .src.rpm in the manual.

>
> I recommend you build it by yourself, it actually should be a piece of
> cake: - download the source rpm
>
> - run the following (split to 3 lines with backslashes):
> rpmbuild --rebuild \
> --define "build_fc3 1" \
> --define "build_mysql 1" \
> bacula-1.38.11-3.src.rpm
>
> Just replace the last line with the actual source rpm package you have. And
> if using other database but mysql, change that option too. The manual lists
> the options available. You may want to add some other options to prevent
> building of some packages not needed by you (gconsole etc).
>
> This procedure requires that you have compiler and certain devel rpm
> packages instaled. On the other hand, I've experienced that this method may
> sometimes be easier than using pre-compiled binaries, since on system as
> old as FC3 you don't always have the same versions of other packages
> installed like the packager had...
>
> --
> TiN
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-04 Thread le dahut
Yes, I used already something like :
"""
import commands

estim = commands.getoutput('/bin/echo -e "estimate 
level=%s\n1"|/usr/sbin/bconsole -c 
/etc/bacula/bconsole.conf'%niveau).split('bytes=')
"""

;-) If it can help someone else ...


K.



Kern Sibbald a écrit :
> On Monday 03 July 2006 17:09, le dahut wrote:
>> Ok, everything works fine now.
>>
>> Another question, is it possible to get an estimation via python Scripting
> 
> If you mean can the Python script run a console "estimate" command, the 
> answer 
> is: no, not directly as the only "command" that Python can run is the "run" 
> command.  I will probably implement a general command interface at sometime 
> in the future, but it is likely there will be some crazy recursion problems.
> 
> However, Python can very well run *any* command by simply running a system() 
> of the bconsole program and feeding it any commands you want.  It is not very 
> elegant, but possible.
> 
>> ?
>>
>>
>> K.
>>
>> Kern Sibbald a écrit :
>>> On Monday 03 July 2006 13:24, le dahut wrote:
 Hello,

 Bacula 1.38.10 RPM compiled successfully with the option --with-python.

 But in a python prompt I get this :
  >>> import sys, bacula

 Traceback (most recent call last):
File "", line 1, in ?
 ImportError: No module named bacula



 Any idea ?
>>> If you are at a Python prompt, you are probably using the Python
>>> interpreter directly.
>>>
>>> The bacula module is *only* available when Bacula calls Python, and in
>>> that case, there is no python prompt and no way to feed commands directly
>>> into the Bacula python instance.  Everything works by Bacula generating
>>> "events" which cause the appropriate Bacula python method to be called
>>> ...
>>>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd rpm

2006-07-04 Thread Timo Neuvonen
> Anybody know where i found the rpm package of bacula-fd to FC3?
>
Yes, even the older packages seem to have been dropped from SF.

I recommend you build it by yourself, it actually should be a piece of cake:
- download the source rpm

- run the following (split to 3 lines with backslashes):
rpmbuild --rebuild \
--define "build_fc3 1" \
--define "build_mysql 1" \
bacula-1.38.11-3.src.rpm

Just replace the last line with the actual source rpm package you have. And
if using other database but mysql, change that option too. The manual lists
the options available. You may want to add some other options to prevent
building of some packages not needed by you (gconsole etc).

This procedure requires that you have compiler and certain devel rpm
packages instaled. On the other hand, I've experienced that this method may
sometimes be easier than using pre-compiled binaries, since on system as old
as FC3 you don't always have the same versions of other packages installed
like the packager had...

--
TiN



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users