Re: [Bacula-users] Restore problem

2006-09-12 Thread Alexander Nolte
Hi Pedro, thanks for your reply. You are right in your suggestion that one StorageDaemon runs on a USB rack. But this one only does an additional weekly backup. The daily backups are written on an SCSII harddrive that is mounted in the same server as the director. I think that I found the problem

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Janco van der Merwe
According to the Hardware browser the PV-124T is located on /dev/sg3 but there is no sg3 under /dev..well there is no sg and when I try to access /dev/sg3 it just says no such device any ideas? When I ls /proc/scsi I get the following: aic79xx/ device_info scsi Janco v.d Merwe Net

Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread MacArthur, Don
Title: RE: [Bacula-users] Rescue cd create/make problem Hi to all! I took the advice about loading a minimal OS config and then restoring from backup.  I have another issue that may or may not be related to the restore... I used "restore all" from the console, with files being replaced alwa

Re: [Bacula-users] Can't get DVD writing to work

2006-09-12 Thread Scott Simpson
Forgive my stupidity. It turns out that after sudo'ing that it creates some environment variables that are passed to subprocesses. I removed these SUDO environment variables and things worked fine. Sorry. - Using Tomcat but

Re: [Bacula-users] Purge Oldest Volume fails on 1.36?

2006-09-12 Thread Jo Rhett
On Sep 12, 2006, at 11:16 AM, Ryan Novosielski wrote: > My opinion is that the update is a coincidence. I have had this happen > from time to time and ordinarily it was a tape failure (either on this It's a disk system, no tape involved. But thanks for the note. We'll see what happens tomorro

Re: [Bacula-users] wrong start time stored for Volume Use Duration?

2006-09-12 Thread Jo Rhett
> On Monday 11 September 2006 20:21, Jo Rhett wrote: >> ANALYSIS: So.. the volume's usage period is being determined not by >> when it was first written to, but instead by the start time of the >> first job that wrote to it. >> >> Is this behavior known? Is it fixed in current? Obviously it's no

Re: [Bacula-users] Restore problem

2006-09-12 Thread pedro moreno
On 9/9/06, Alexander Nolte <[EMAIL PROTECTED]> wrote: Hello everybody!I just set up a Bacula System that will backup our 4 servers + some clients but everytime I try to restore some files it just says:09-Sep 15:35 server-dir: Start Restore Jobrestore-server2-usb.2006-09-09_15.35.1309-Sep 15:35 Stor

Re: [Bacula-users] PYTHON VARIABLES

2006-09-12 Thread Kern Sibbald
On Thursday 31 August 2006 23:21, Santiago Alberch wrote: > I´m editing DirStartUp.py. > I want to write a script that can check if the > termination job was: > > Termination: Backup OK -- with warnings This occurs when the JobStatus == "T" and (JobErrors or SDJobErrors are non-zero). > > I ca

Re: [Bacula-users] Purge Oldest Volume fails on 1.36?

2006-09-12 Thread Ryan Novosielski
My opinion is that the update is a coincidence. I have had this happen from time to time and ordinarily it was a tape failure (either on this or the last job -- the initial read/set of the number of volume files is getting messed up), or a bad exit from the previous job. That said, I hear Purge Ol

[Bacula-users] Purge Oldest Volume fails on 1.36?

2006-09-12 Thread Jo Rhett
Last night I updated a Pool definition to enable "Purge Oldest Volume". This is the only change made to the server in a week or maybe two. This morning the first backup (which should have purged a volume) failed, with 12-Sep 11:05 backup0-dir: Start Backup JobId 268, Job=client.domain.co

Re: [Bacula-users] fatal error--Bacula wants tape to be in the "other" drive in autochanger

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 18:36, Michael Brennen wrote: > [EMAIL PROTECTED] wrote: > > I'm running into a frequent situation where Bacula wants a given volume to be > > in one drive of our autochanger, and it doesn't seem to find the volume when > > it's already in the other drive. > > > > T

Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread Don MacArthur
Thank you Kern, Arno, and Erich for your responses. Please forgive my impatience. I need to be mindful that not everyone in the world lives between the Eastern and Pacific (US) timezones. I thought it was an unusual question that not many had experienced, and certainly not on the short list of t

Re: [Bacula-users] fatal error--Bacula wants tape to be in the "other" drive in autochanger

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 18:21, [EMAIL PROTECTED] wrote: > I'm running into a frequent situation where Bacula wants a given volume to be > in one drive of our autochanger, and it doesn't seem to find the volume when > it's already in the other drive. > > This is with Bacula 1.38.9, under Li

Re: [Bacula-users] fatal error--Bacula wants tape to be in the "other" drive in autochanger

2006-09-12 Thread Michael Brennen
[EMAIL PROTECTED] wrote: > I'm running into a frequent situation where Bacula wants a given volume to be > in one drive of our autochanger, and it doesn't seem to find the volume when > it's already in the other drive. > > This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive >

[Bacula-users] fatal error--Bacula wants tape to be in the "other" drive in autochanger

2006-09-12 Thread mark . bergman
I'm running into a frequent situation where Bacula wants a given volume to be in one drive of our autochanger, and it doesn't seem to find the volume when it's already in the other drive. This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive autochanger and mysql5. Most backup

Re: [Bacula-users] Multiple File Systems problem

2006-09-12 Thread Lautaro Di Martino
Sorry, I'm wrong I have set in my fileset resource onefs=NO, but this not work to me. Really sorry, I need spleep. Thanks anyway 2006/9/12, Lautaro Di Martino <[EMAIL PROTECTED]>: > but this is not a solution for my problem. I have set onefs=yes in my > FileSet resource, anyway bacula can't read

Re: [Bacula-users] Multiple File Systems problem

2006-09-12 Thread Bill Moran
In response to "Lautaro Di Martino" <[EMAIL PROTECTED]>: > but this is not a solution for my problem. I have set onefs=yes in my > FileSet resource, anyway bacula can't read /backup/nn2 and tell me > will not descend into /backup/nn2 for backup it. I suspect there is a language barrier. onefs =

Re: [Bacula-users] Multiple File Systems problem

2006-09-12 Thread Lautaro Di Martino
but this is not a solution for my problem. I have set onefs=yes in my FileSet resource, anyway bacula can't read /backup/nn2 and tell me will not descend into /backup/nn2 for backup it. 2006/9/11, Bill Moran <[EMAIL PROTECTED]>: > In response to "Lautaro Di Martino" <[EMAIL PROTECTED]>: > > > hi

Re: [Bacula-users] Autoloaders

2006-09-12 Thread John Boris
My Powervault works with these settings : # # An autochanger device with two drives # Autochanger { Name = Autochanger Device = Drive-0 # Device = Drive-2 Changer Command = "/root/bacula/bin/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg2 } Device { Name = Drive-0

[Bacula-users] New Admin

2006-09-12 Thread Keith Phipps
Good Day, I'm taking over as one of our sysadmins at work and have found that we're using Bacula to implement our datacenter backups. It seems to have been installed and at one time worked, but our last admin decided documentation was a form of unholy evil and stayed fully away from it. So I'm

Re: [Bacula-users] New Admin

2006-09-12 Thread Gabriele Bulfon
Logs usually runs under something like {bacula-home}/var/bacula/workingYou will find a log file there with all the messages.If you want a better help, take the three conf files of the server (bacula-dir.conf, bacula-sd.conf and bacula-fd.conf), make a copy, disguise any personal information (pass

Re: [Bacula-users] New Admin

2006-09-12 Thread Bill Moran
In response to "Keith Phipps" <[EMAIL PROTECTED]>: > > When I first logged in I had some messages, I typed 'messages' and got > them - sort of skimmed through to see what kinds of messages bacula gives. I > made the poor assumption that they'd still be there when I went back - I was > incorrec

Re: [Bacula-users] New Admin

2006-09-12 Thread Gavin Conway
> Also, if it's stating: > > Archive "DATACENTER-TAPE1" is not open or does not exist. > Hi Keith, If you do a 'list volumes' and then look for that tape it should find it. Hopefully if it's not in the drive he has actually labelled them. Alternatively put a fresh tape in the sys

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Jaime Ventura
First you need to be sure that you have the PV-124T correctly connected. I bought my PV-124T with a adaptec board scsi with it. First be sure that the board is recognized by linux. I didn't understand you message quite well. Does your cat /proc/scsi/scsi is something like this? Attached devices:

[Bacula-users] Fwd: Re: Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon
I forgot to put the list in cc. Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com Da: Gabriele Bulfon <[EMAIL PROTECTED]>A: MaxxAtWork <[EMAIL PROTECTED]> Data: 12 settembr

Re: [Bacula-users] expanding filelist with jobid

2006-09-12 Thread Silver Salonen
On Tuesday 12 September 2006 15:29, Silver Salonen wrote: > On Monday 11 September 2006 16:56, Kern Sibbald wrote: > > On Monday 11 September 2006 15:33, Silver Salonen wrote: > > > On Friday 08 September 2006 14:29, Silver Salonen wrote: > > > Actually the problem would be in files' paths - if a s

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Jaime Ventura
Hi, Janco Try this: #!/bin/sh (for i in /dev/sg*; do echo $i; mtx -f $i inquiry 2>&1; echo --; done) \ | less Assuming is connected correctly, this will give you which /dev/sg* is you loader in. search in the results something like this: /dev/sg5 Product Type: Medium

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Carlos Cristóbal Sabroe Yde
Hi, I have an IBM LTO3 3581 autoloader on SuSE and the device to access the autoloader is /dev/sg2 st*, nst* are for the tape drive using a driver. The sg devices are "raw" scsi, accessible without any driver, so I can access the autoloader this way: /dev/sg1: Drive /dev/sg2: Autoloader Try the

Re: [Bacula-users] expanding filelist with jobid

2006-09-12 Thread Silver Salonen
On Monday 11 September 2006 16:56, Kern Sibbald wrote: > On Monday 11 September 2006 15:33, Silver Salonen wrote: > > On Friday 08 September 2006 14:29, Silver Salonen wrote: > > Actually the problem would be in files' paths - if a snapshot is mounted to > > some other directory, the files' path

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Janco van der Merwe
Shit..sorry, I missed that Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 12 September, 2006 14:22 To: bacula-users@lists.s

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 14:16, Janco van der Merwe wrote: > Hi, > > I'm going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't know what device the autoloader is specified in /dev. > > I have a

[Bacula-users] Autoloaders

2006-09-12 Thread Janco van der Merwe
Hi,   I’m going to ask a really dumb question now, so please bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don’t know what device the autoloader is specified in /dev.   I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m.

Re: [Bacula-users] Problem with cancel a job

2006-09-12 Thread [EMAIL PROTECTED]
I have already try "unmount" then "mount" commands and a restart of daemon but nothing change. regards, Sylvain Gavin Conway a écrit : >> >> So, a job 270 is still running and waiting for a new device ? I have >> try the command "cancel jobid=270" "cancel job=270" "cancel 270" but >> each time

Re: [Bacula-users] Problem with cancel a job

2006-09-12 Thread Gavin Conway
> > So, a job 270 is still running and waiting for a new device ? I have try > the command "cancel jobid=270" "cancel job=270" "cancel 270" but each > time it say : "Jobs not running" or something like that. > I that others jobs which are automatically launch each day, but since > Monday mornin

[Bacula-users] Problem with cancel a job

2006-09-12 Thread [EMAIL PROTECTED]
Hello, our administrator is currently in holiday and I have a problem with our backup system : bacula. We use a powerVault 110T on a EMC² server with Dedian. Friday, the backup was too large for our storage support. So I have try to kill the job in the bacula console with "cancel" command and

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon
To workaround the problem, I had to move the Director on the DB machine too.So now, the SD is still on Sun280R, all FD are around unchanged, and Director runs on the Solaris Intel together with Postgres, with a modified dir.conf to connect to the SD on the network.Maybe some bug with postgres whe

Re: [Bacula-users] wrong start time stored for Volume Use Duration?

2006-09-12 Thread Kern Sibbald
On Monday 11 September 2006 20:21, Jo Rhett wrote: > Simple configuration. Disk backup. 30 volumes, 30 day retention, > Recycle automatically. > > Pool { > Name = clients_Pool > Pool Type = Backup > Recycle = yes # Bacula can automatically > recyc

Re: [Bacula-users] Nagios plugin

2006-09-12 Thread Kern Sibbald
Hello Arno, Could you either send me the new files as an attachment, or better yet make a new tar.gz of the whole build directory with the new source, and I will replace the old one in the Bacula distribution with what you send me? Best regards, Kern On Monday 11 September 2006 23:56, Arno Le

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon
.wow.probably the bug is on the Intel installation where postgres now resides?But...I have plenty of Intel installations running postgres, and I usually have no problem using the DB from any host.Do you have any clue to workaround the bug? Gabriele Bulfon - Sonicle S.r.l

Re: [Bacula-users] WOW

2006-09-12 Thread Alan Brown
On Mon, 11 Sep 2006, Russell Howe wrote: Alan Brown wrote, sometime around 11/09/06 16:05: Personally: I have my phone on an unlimited data tariff I wasn't aware such a thing existed in the UK, and certainly isn't all that common around the world. A friend of mine was charged about £200 for

Re: [Bacula-users] [Bacula-devel] Can't get DVD writing to work

2006-09-12 Thread Richard Mortimer
Comments/Questions below. Richard > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Arno Lehmann > Sent: 12 September 2006 08:12 > To: bacula-users@lists.sourceforge.net; bacula-devel > Subject: Re: [Bacula-devel] [Bacula-users] Can't get DVD > w

Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread Kern Sibbald
Hello, On Tuesday 12 September 2006 01:39, Don MacArthur wrote: > Sorry to be so chatty- > > "Failure": when I eject the bacula boot cd, restart the server, after > the POST when (I'm guessing) it tries to read from the drives I'm > presented with a blank screen and a blinking underscore cursor i

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread MaxxAtWork
On 9/12/06, Gabriele Bulfon <[EMAIL PROTECTED]> wrote: iserver-dir: postgresql.c:77 db_open first timeiserver-dir: bsys.c:70 pthread_cond_timedwait sec=5 usec=0iserver-dir: bsys.c:77 pthread_cond_timedwait stat=145 ERR=Connection timed out Huh... it seems the failure is during bmicrosleep(), when

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon
I rised debug to 500.Before the I issue the "list volumes" on bconsole, I see a LOT LOT of debug about postgres selects going through very fine.Once I run the bconsole command I find this:iserver-dir: scheduler.c:253 enter find_runs()iserver-dir: scheduler.c:289 Got job: Enterprise Backupiserver-

Re: [Bacula-users] Minor request: add bacula version to header/footer to pdf documentation

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 09:12, MaxxAtWork wrote: > Hello, > > I have a minor request/suggestion about documentation: would it be > possible to generate the manual pages so that in the header or footer > it is reported document name + chapter + bacula version? > I ask this because e.g. right n

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread MaxxAtWork
On 9/12/06, MaxxAtWork <[EMAIL PROTECTED]> wrote: > Sorry, I'm no expert in postgres but what I would do is: > - check google results for that postgres error > - sniff deeper the net and have a look at packet contents, first logging a > successful connection (e.g. that one from psql) to see what i

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread MaxxAtWork
On 9/12/06, Gabriele Bulfon <[EMAIL PROTECTED]> wrote: Trying psql was the first check I did when I saw the problem.As you suggested, I tried with snoop, and verified that the 280 was actually connecting to the correct machine. So, I looked into the postgres.log of the remote db machine...and fou

Re: [Bacula-users] Cancel job if estimate too large

2006-09-12 Thread Arno Lehmann
Hi, On 9/12/2006 4:35 AM, Support wrote: > Dear All > > Is there a way to Cancel a job automatically (with a message) if it > exceeds a certian size as a RunBeforeJob. You could try a run before job where you pass the job name to it. From that run before job script, call bconsole with a command

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon
Trying psql was the first check I did when I saw the problem.As you suggested, I tried with snoop, and verified that the 280 was actually connecting to the correct machine.So, I looked into the postgres.log of the remote db machine...and found this :LOG:  incomplete startup packetSo I monitor

[Bacula-users] Minor request: add bacula version to header/footer to pdf documentation

2006-09-12 Thread MaxxAtWork
Hello, I have a minor request/suggestion about documentation: would it be possible to generate the manual pages so that in the header or footer it is reported document name + chapter + bacula version? I ask this because e.g. right now I found a printout of the disaster recovery chapter, but I real

Re: [Bacula-users] Can't get DVD writing to work

2006-09-12 Thread Arno Lehmann
Hi, On 9/12/2006 5:19 AM, Scott Simpson wrote: > bacula CVS version 2006-09-11 > > I still can't get bacula to write to a DVD using the latest software on > Kubuntu. Every time I run it I get > > dvd.c:432 Error writing part 1 to the DVD: > ERR=Running /usr/bin/growisofs -use-the-force-luke=no