Re: [Bacula-users] Cannot cancel a restoration job waiting for mount

2008-10-31 Thread LeJav
Thx for this information. I will investigate why it does not work for me. Thomas a écrit : i can cancel the job while it is waiting for the mount. after loading the wrong volume, the job waits for the mount: 30-Okt 16:13 backup-dir JobId 55214: Start Restore Job

[Bacula-users] Access to client name in the run before job script?

2008-10-31 Thread Kevin Keane
Hi, I'm trying to find a way to pass the client name to the run_before script, but I can't see a way to actually make it work. Apparently, variable expansion is not available for the Run Before Job? In my JobDef, I have the line: Run Before Job = /usr/local/sbin/myscript ${Client} The

[Bacula-users] Exclude windows directories

2008-10-31 Thread Luke Taylor
Good afternoon I have a setup of Bacula on a Linux Director. This backs up several Linux servers, a handful of Windows servers and some desktops. I am having problems excluding directories from a backup of a client. For example: I back up a windows box with the below fileset: FileSet {

Re: [Bacula-users] Storage daemon didn't accept Device FifoStorage

2008-10-31 Thread Isabel Bermejo
Hi Yes, the script I made works correctly. It dumps the database to a file /tmp/fifofile. What I want to do is to backup MySQL database using bacula and fifo. I know that is easy to dump first the database to a file and then backup that file (I've tried this way and it works correctly), but I

Re: [Bacula-users] Storage daemon didn't accept Device FifoStorage

2008-10-31 Thread Isabel Bermejo
Ok Now I understand the situation. If I define a Storage Fifo Device, I'm backing up to a virtual device, isn't it? So I have to define a Job with RunBeforeJob option and a FileSet with readfifo=yes and as Device I can define a file device so the backup is made in a file. Supposing I'm right, I've

Re: [Bacula-users] TLS expired certificates

2008-10-31 Thread Dan Langille
Dan Langille wrote: For the archives, this is the type of email you will see from Bacula when your TLS certificate expires: From: [EMAIL PROTECTED] (Bacula) Subject: Bacula: *none* *none* of *none* *none* Sender: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri, 31 Oct 2008 10:00:05

[Bacula-users] Storage daemon didn't accept Device FifoStorage

2008-10-31 Thread Isabel Bermejo
Hi I'm trying to backup MySQL database using bacula and a FifoStorage. First I configure a script named backwithfifo which dumps the database. #!/bin/sh # exec /dev/null SCRIPTDIR=/usr/bin mkfifo /tmp/tmpfifo cd $SCRIPTDIR ./mysqldump -h localhost -u root -pclipper iesa /tmp/tmpfifo res=$? if

Re: [Bacula-users] Storage daemon didn't accept Device FifoStorage

2008-10-31 Thread Arno Lehmann
Hi, 31.10.2008 10:27, Isabel Bermejo wrote: Hi I'm trying to backup MySQL database using bacula and a FifoStorage. First I configure a script named backwithfifo which dumps the database. #!/bin/sh # exec /dev/null SCRIPTDIR=/usr/bin mkfifo /tmp/tmpfifo cd $SCRIPTDIR ./mysqldump -h

Re: [Bacula-users] Access to client name in the run before job script?

2008-10-31 Thread Arno Lehmann
Hi, 31.10.2008 11:06, Kevin Keane wrote: Hi, I'm trying to find a way to pass the client name to the run_before script, but I can't see a way to actually make it work. Apparently, variable expansion is not available for the Run Before Job? In my JobDef, I have the line: Run Before

Re: [Bacula-users] Access to client name in the run before job script?

2008-10-31 Thread Kevin Keane
Thank you very much! It almost works. Turns out that what I actually need isn't the client name as I had thought, but the address of the client (the DNS name). More accurately, what I really need is the name under which the client is known to Nagios - which fortunately I can easily derive from

Re: [Bacula-users] Access to client name in the run before job script?

2008-10-31 Thread Arno Lehmann
Hi, 31.10.2008 12:37, Kevin Keane wrote: Thank you very much! It almost works. Turns out that what I actually need isn't the client name as I had thought, but the address of the client (the DNS name). More accurately, what I really need is the name under which the client is known to Nagios

[Bacula-users] postgres 8.2.5 issue

2008-10-31 Thread Michael Galloway
hmmm, good day all, my catalog backup last night failed with this error: 31-Oct 09:04 molbio-dir JobId 1820: BeforeJob: pg_dump: SQL command failed 31-Oct 09:04 molbio-dir JobId 1820: BeforeJob: pg_dump: Error message from server: ERROR: could not access status of transaction 1109420146 31-Oct

Re: [Bacula-users] Job starts and device is blocked and all scratch tapes moved to job's pool.

2008-10-31 Thread agentc0re
So the fix to my entire issue was to restart the bacula services. What can i do next time to help find out why this happened so i can give more helpful information as to why this may have happened? -- View this message in context:

[Bacula-users] No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread Michael Kahle
Any help here would be wonderful. tar will not work on my tape drive! Weirdness... Here is some background. I recently purchased a new IBM TS2900 Autoloader: http://www-03.ibm.com/systems/storage/tape/ts2900/index.html I have hooked up this via an Adaptec SAS 58300:

[Bacula-users] Fwd: No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread John Drescher
-- Forwarded message -- From: John Drescher [EMAIL PROTECTED] Date: Fri, Oct 31, 2008 at 2:40 PM Subject: Re: [Bacula-users] No tar for my tape drive!?!? SAS tape library help... To: Michael Kahle [EMAIL PROTECTED] On Fri, Oct 31, 2008 at 2:13 PM, Michael Kahle [EMAIL PROTECTED]

Re: [Bacula-users] Fwd: No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread Michael Kahle
Try dd if=/dev/sda of=/dev/nst0 bs=1M count=1000 Tried it. d if=/dev/sda of=/dev/nst0 bs=1M count=1000 dd: writing `/dev/nst0': Invalid argument 1+0 records in 0+0 records out 0 bytes (0 B) copied, 10.048 s, 0.0 kB/s Not sure why /dev/nst0 was invalid. After I ran this I checked out dmesg and

Re: [Bacula-users] No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread Michael Kahle
What does `mt -f /dev/nst0 datcompression` say? mt -f /dev/nst0 datcompression mt: unknown command datcompression usage: mt [-v] [--version] [-h] [ -f device ] command [ count ] commands: weof, wset, eof, fsf, fsfm, bsf, bsfm, fsr, bsr, fss, bss, rewind, offline, rewoffl, eject,

Re: [Bacula-users] No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread Arno Lehmann
Hi, 31.10.2008 20:21, Michael Kahle wrote: What does `mt -f /dev/nst0 datcompression` say? mt -f /dev/nst0 datcompression mt: unknown command datcompression usage: mt [-v] [--version] [-h] [ -f device ] command [ count ] commands: weof, wset, eof, fsf, fsfm, bsf, bsfm, fsr, bsr, fss, bss,

Re: [Bacula-users] No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread Michael Kahle
- Original Message From: Arno Lehmann [EMAIL PROTECTED] To: Bacula Users bacula-users@lists.sourceforge.net Sent: Friday, October 31, 2008 2:57:58 PM Subject: Re: [Bacula-users] No tar for my tape drive!?!? SAS tape library help... Hi, Hello. :) 31.10.2008 20:21, Michael

Re: [Bacula-users] No tar for my tape drive!?!? SAS tape library help...

2008-10-31 Thread Michael Kahle
In RE to below I just found this post: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg28479.html *wave* Hello Simon Gray. Do you have any advice for me? I can't tell if you are using the same drive as me. In fact, I don't see your drive listed on the TL3100's spec page.

[Bacula-users] restoring corrupt db

2008-10-31 Thread Michael Galloway
ok, my bacula db (postgres) is corrupt due to a disk problem on the raid array it resides on. i have a complete database dump (from pg_dumpall) from last wednesday that i plan to drop back to. my backup environment is bacula 2.2.x and postgres 8.2.5. my plan is to install current bacula 2.4.3

Re: [Bacula-users] restoring corrupt db

2008-10-31 Thread John Drescher
On Fri, Oct 31, 2008 at 5:58 PM, Michael Galloway [EMAIL PROTECTED] wrote: ok, my bacula db (postgres) is corrupt due to a disk problem on the raid array it resides on. i have a complete database dump (from pg_dumpall) from last wednesday that i plan to drop back to. my backup environment

Re: [Bacula-users] restoring corrupt db

2008-10-31 Thread Bruno Friedmann
Michael Galloway wrote: ok, my bacula db (postgres) is corrupt due to a disk problem on the raid array it resides on. i have a complete database dump (from pg_dumpall) from last wednesday that i plan to drop back to. my backup environment is bacula 2.2.x and postgres 8.2.5. my plan is to