Re: [Bacula-users] Bacula wedges trying to label a tape...

2005-08-10 Thread Daniel Pittman
LHERBIER Lois <[EMAIL PROTECTED]> writes: > actually we work with Bacula on Sarge with an HP DAT 72 without such > problems. Dang. I feared that might be the answer. Which database do you use? > I don't know if the 1.36.3 will solve your problem because the > 1.36.2-sarge contains backports fo

Re: [Bacula-users] Bacula wedges trying to label a tape...

2005-08-10 Thread LHERBIER Lois
Hello, actually we work with Bacula on Sarge with an HP DAT 72 without such problems. I don't know if the 1.36.3 will solve your problem because the 1.36.2-sarge contains backports form the 1.36.3. (see changelog) IMHO, it seems like you have an external process locking the device. I hope it hel

[Bacula-users] Bacula wedges trying to label a tape...

2005-08-10 Thread Daniel Pittman
I am using Bacula 1.36.2-2sarge1 on Debian/stable, with kernel 2.6.8-2-k7, and I am having real problems with reliability. In testing, I have often reached a state where Bacula will lock up trying to label the tape. Routinely, in fact, and I can't work out why. To reproduce it, I can simple do t

RE: [Bacula-users] Restore a whole backup

2005-08-10 Thread Ron Wheeler
Does this mean that the tape is empty? I can not quite figure out what the code says. I am not a C programmer. It is switching on rec->FileIndex but have not figured out how that works yet. I will try tomorrow with some tapes that I know have been through a full backup. I know that they have a

RE: [Bacula-users] Restore a whole backup

2005-08-10 Thread Ron Wheeler
bscan: bscan.c:258 Using device: "/dev/nst0" for reading Aug 10 21:57 bscan Ready to read from volume "D006" on device /dev/nst0 bscan: bscan.c:274 Using Database: bacula User: bacula bscan: bscan.c:391 Volume is prelabeled. This tape can not be scanned. Records added or updated in the catalog

RE: [Bacula-users] Restore a whole backup

2005-08-10 Thread Ron Wheeler
I foundthe bscan and it looks exactly what I need but it is having problems. It complains that the tape is labeled. That seems odd. Ron -Original Message- From: Phil Stracchino [mailto:[EMAIL PROTECTED] Sent: August 10, 2005 10:01 PM To: Ron Wheeler Cc: bacula-users@lists.sourceforge.net

RE: [Bacula-users] Restore a whole backup

2005-08-10 Thread Ron Wheeler
Well now I am in big trouble. I am trying to use bscan to read a tape and restore the catalog information from the tape. I am following the example in the documentation ./bscan -s -m -c /etc/bacula/bacula-sd.conf -v -V D006 /dev/nst0 It says bscan: butil.c:258 Using device: "/dev/nst0" for readi

Re: [Bacula-users] Restore a whole backup

2005-08-10 Thread Phil Stracchino
Ron Wheeler wrote: > If I am lucky, I have some full backups on tape that I not need to restore. > > I now have a fresh, clean, running bacula with no knowledge of life before 5 > minutes ago. > > I need to get the files off these tapes. > Any suggestions or warnings (besides write protect the m

[Bacula-users] Restore a whole backup

2005-08-10 Thread Ron Wheeler
If I am lucky, I have some full backups on tape that I not need to restore. I now have a fresh, clean, running bacula with no knowledge of life before 5 minutes ago. I need to get the files off these tapes. Any suggestions or warnings (besides write protect the media)? I hope that bacula can fi

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
Sorry for the stupid question. I finally got it to build a bconsole. I made a symbolic link in the /usr/include from the ncurses subdirectory for termcap.h. After that it was happy. I noticed that the Mandrake innstall of ncurses had already done that for curses.h which may have contributed to m

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
I did the rebuild with the new config parameters but this time I did not get the startup file for /etc/init.d What do they have in them? Any idea were they might have gone? Ron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ron Wheeler Sent: August 10, 2

Re: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Phil Stracchino
Ron Wheeler wrote: > Yep. that is it. > > The problem is likely that I have too many locations mapped to the same > directory and overwrote bconsole with the script so that the script calls > itself. > > The documentation suggests a directory structure: > > ./configure \ > --sbindir=$HO

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
Yep. that is it. The problem is likely that I have too many locations mapped to the same directory and overwrote bconsole with the script so that the script calls itself. The documentation suggests a directory structure: ./configure \ --sbindir=$HOME/bacula/bin \ --sysconfdir=$HOME/

Re: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Sam De Francesco
In this case, sh -x /etc/bacula/bconsole may give a clue what is going on. regards Sam De Francesco On 11/08/2005, at 8:26 AM, Phil Stracchino wrote: Paul Heinlein wrote: On Wed, 10 Aug 2005, Ron Wheeler wrote: ldd just says that it is not a dynamic executable. Are you running ldd a

Re: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Phil Stracchino
Paul Heinlein wrote: > On Wed, 10 Aug 2005, Ron Wheeler wrote: > >> ldd just says that it is not a dynamic executable. > > > Are you running ldd against /etc/bacula/bconsole or against > /usr/sbin/bconsole? The former is a shell script, but the latter should > be a compiled binary. Ohh

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
Mandrake does not include a curses development library only ncurses. I can not figure out how I was able to build and run this the first time. I had some trouble getting the configurations OK but no problems building it. This is driving me crazy and the client really needs the files back on line.

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Paul Heinlein
On Wed, 10 Aug 2005, Ron Wheeler wrote: ldd just says that it is not a dynamic executable. Are you running ldd against /etc/bacula/bconsole or against /usr/sbin/bconsole? The former is a shell script, but the latter should be a compiled binary. -- Paul Heinlein <[EMAIL PROTECTED]> --

Re: [Bacula-users] Re: Bacula backup problem

2005-08-10 Thread Phil Stracchino
Robert Buurke wrote: > I'm going to try this tomorrow early in the morning. It sounds really > simple, but the problem was my interpretation of "Use Volume Once" made > me believe it was only for the volume on the tape and not for the whole > tape. A volume IS a tape. There is a one-to-one mappin

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
I might give strace a try but right now I am trying to figure out why termcap.h is not found which seems to be related to configure using curses rather than ncurses. The only copy of termcap.h is in the ncurses directory Ron -Original Message- From: Paul Heinlein [mailto:[EMAIL PROTECT

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
ldd just says that it is not a dynamic executable. -Original Message- From: Paul Heinlein [mailto:[EMAIL PROTECTED] Sent: August 10, 2005 5:45 PM To: Ron Wheeler Cc: Phil Stracchino; bacula-users@lists.sourceforge.net Subject: RE: FW: [Bacula-users] bconsole spawns thousands of copies of i

Re: [Bacula-users] Re: Bacula backup problem

2005-08-10 Thread Robert Buurke
I'm going to try this tomorrow early in the morning. It sounds really simple, but the problem was my interpretation of "Use Volume Once" made me believe it was only for the volume on the tape and not for the whole tape. From: Phil Stracchino <[EMAIL PROTECTED]> To: Robert Buurke <[EMAIL PROTE

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Paul Heinlein
On Wed, 10 Aug 2005, Ron Wheeler wrote: The fact that it crashes on -? and the eror in building conio is leaningthis way. I do not know why the build is successful if the compile of conio fails. That looks like a bug in the make. I'm a recent subscriber to bacula-users, so forgive me if using

Re: [Bacula-users] Re: Bacula backup problem

2005-08-10 Thread Phil Stracchino
Robert Buurke wrote: > Hi Phil, > > You're right, I used "Use Volume Once" for the following reason. Well, there you go then. It's doing exactly what you told it to do. Try using "Volume Use Duration" or "Maximum Volume Jobs". -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man,

[Bacula-users] Re: Bacula backup problem

2005-08-10 Thread Robert Buurke
Hi Phil, You're right, I used "Use Volume Once" for the following reason. For the full weekly backup to tape I want to use every week a new tape until a month has past for the full monthly backup. After that the weekly tapes are recycled, at least that was my idea (I used the example from the B

RE: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
The fact that it crashes on -? and the eror in building conio is leaningthis way. I do not know why the build is successful if the compile of conio fails. That looks like a bug in the make. Ron I almost forgot to "reply to all" again. -Original Message- From: Phil Stracchino [mailto:[

RE: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
I think that I have found a problem in the make. The config ends up saying that conio uses -lcurses whereas it appears that termcap.h is actually found in ncurses so that I think it should have use -lncurses in the make. The make of conio fails because it can not find termcap.h which causes a wh

[Bacula-users] GZIP speeds.

2005-08-10 Thread Dan Merillat
I've noticed quite a few threads discussing the horrendous speed drop when using GZIP, and I've seen it myself. disk->disk backups run at about 6mbyte/sec, but only 400k/sec when using GZIP1. Is bacula-fd reporting compressed output speed? Best guess is the file readahead is failing when we're

Re: FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Phil Stracchino
Ron Wheeler wrote: > It looks OK. Could a problem with curses be involved? I had to install this > (ncurses) since it was not part of the standard Mandrake setup - so many > really useful things are not. At first thought, it doesn't sound likely that would maifest in this way. -- Phil Strac

Re: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Martin Simmons
> On Wed, 10 Aug 2005 15:33:49 -0400, "Ron Wheeler" <[EMAIL PROTECTED]> > said: Ron> I have now added a dummy (incorrect director to the bconsole.conf just Ron> to see if it would even ask which one to pick. It does not get that Ron> far. Ron> Does anyone have any idea what circu

FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
-Original Message- From: Ron Wheeler Sent: August 10, 2005 4:22 PM To: 'Phil Stracchino' Subject: RE: [Bacula-users] bconsole spawns thousands of copies of itself In looking at the config.out from the bconsole build, I have conio enables using -lcurses and readline no For Mandrake

FW: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
-Original Message- From: Ron Wheeler Sent: August 10, 2005 4:18 PM To: 'Phil Stracchino' Subject: RE: [Bacula-users] bconsole spawns thousands of copies of itself It looks OK. Could a problem with curses be involved? I had to install this (ncurses) since it was not part of the standa

Re: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Phil Stracchino
Ron Wheeler wrote: > I have now added a dummy (incorrect director to the bconsole.conf just to see > if it would even ask which one to pick. It does not get that far. > > Does anyone have any idea what circumstances would cause bconsole to spawn a > copy of itself. The copies are all in wait sta

RE: [Bacula-users] bconsole spawns thousands of copies of itself

2005-08-10 Thread Ron Wheeler
I have now added a dummy (incorrect director to the bconsole.conf just to see if it would even ask which one to pick. It does not get that far. Does anyone have any idea what circumstances would cause bconsole to spawn a copy of itself. The copies are all in wait state butw hen you get 12000 of

Re: [Bacula-users] Re: Bacula backup problem

2005-08-10 Thread Phil Stracchino
Kern Sibbald wrote: > Hello, > > I am sorry, I can no longer give help of the kind you need. Please > ask on the bacula-users list. I have copied them for your convenience. > > Best regards, > > Kern > > On Wednesday 10 August 2005 16:15, you wrote: > >>Hi Kern, >> >>I've run into a problem w

[Bacula-users] Re: Bacula backup problem

2005-08-10 Thread Kern Sibbald
Hello, I am sorry, I can no longer give help of the kind you need. Please ask on the bacula-users list. I have copied them for your convenience. Best regards, Kern On Wednesday 10 August 2005 16:15, you wrote: > Hi Kern, > > I've run into a problem with Bacula. I want to backup 2 clients with

[Bacula-users] Re: Bacula versions

2005-08-10 Thread Kern Sibbald
Hello, On Wednesday 10 August 2005 10:51, Roger Kvam wrote: > Hello. > I wondered why there hasn`t bin released a new version of bacula since > 1.36.3, despite the fact that it has bin very muct improvement on the > beta version, that allready have reatch 1.37.30? There *have* been several releas

Re: [Bacula-users] Re: Horribly slow through put on backup test to disk

2005-08-10 Thread Phil Stracchino
George R.Kasica wrote: > Got all the labeling and cleaning tape definitions done here over the > weekend and built a series of jobs to backup not only my local Linux > Server but a W2K3 Server as well as a WinXP Pro system as well. > > Key to the XP Pro was allowing Ports 9101, 9102 and 9104 TCP

Re: [Bacula-users] EOM errors on AIT 1 freebsd

2005-08-10 Thread Dan Langille
On 10 Aug 2005 at 11:36, Mason Fischer wrote: > I am having troubles with an AIT 1 Sony SDX 400c on free bsd. When > bacula gets to the end of the tape. What version of FreeBSD? > The error is: > dev.c:1213 ioctl MTWEOF error on /dev/nsa0.0. ERR=Input/output error. I ask because there is a kn

[Bacula-users] EOM errors on AIT 1 freebsd

2005-08-10 Thread Mason Fischer
I am having troubles with an AIT 1 Sony SDX 400c on free bsd. When bacula gets to the end of the tape. The error is: dev.c:1213 ioctl MTWEOF error on /dev/nsa0.0. ERR=Input/output error. The SDX 400c just died and Im thinking of getting another tape drive from ebay Im wondering if this drive wil

Re: [Bacula-users] Backup terminated during tape change.

2005-08-10 Thread drescher0110-bacula
I decided to prune the tapes and start the backup over again. After having a few problems. I forgot to remove the write protection from the first tape so the prune did not work although I don't remember getting an error. When I started the backup the job terminated and the software said the tape wa

[Bacula-users] RunAfterJob %v question

2005-08-10 Thread Aragon Gouveia
Hi, Regarding the volume name substitution in RunAfterJob, how is %v substituted if a single Job instance spans over multiple volumes? Thanks, Aragon --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005

[Bacula-users] restore problems

2005-08-10 Thread John Huss
Hello, Can anyone help me with a restore problem please. I'm still trying to setup bacula for the first time. Backups seem to go ok but when I run a restore all for any client, the files restored /never/ matches the files backed up. Here's some output: *from backup* 10-Aug 10:01 dreadnought-d

Re: [Bacula-users] Re: Horribly slow through put on backup test to disk

2005-08-10 Thread George R . Kasica
>On Thu, 04 Aug 2005 06:17:24 -0500, you wrote: >Phil: > >Totally new questionI'm at the point of doing the various tape >labels to build my pools here but was wondering how I do the >following: > >Each cartridge has 1 cleaning tape in it and I want to let bacula know >either: > >1) Ideally th

[Bacula-users] Re: mount USB disk

2005-08-10 Thread Mick
Alan Brown wrote: > On Sun, 7 Aug 2005, Mick wrote: > > > I use an USB disk as backup target for Bacula. It works fine. But > > there is one issue: I want to mount it immediatly before the backup > > and unmount it afterwards. There is even a mount option for the > > config file (sd.config I thin