[Bacula-users] Multiple restore templates question (problem?)

2005-10-26 Thread Steve Greenland
Bacula version 1.36.2, on Debian sarge. I have some (bacula) clients that are external to the LAN that hosts the rest of the system. I created an extra "Storage" resource with the appropriate external host address, and use that one in the Jobs that run on the external clients. Works fine. For res

Re: [Bacula-users] Drive in strange state?

2005-10-26 Thread Peter Eriksson
Hmmm... Perhaps the tape is write-protected - gotta check that tomorrow when I'm on-site. I unmounted it in Bconsole and then started "btape" and tried some commands: label - worked - verified with readlabel! wr - failed with: 26-Oct 22:37 btape: btape Fatal error: Attempt to write on read-o

Re: [Bacula-users] Drive in strange state?

2005-10-26 Thread Peter Eriksson
On Wed, 26 Oct 2005, Kern Sibbald wrote: > On Wednesday 26 October 2005 21:51, Peter Eriksson wrote: > > Hmm.. What's the *right* way to "fix" this "issue"? > > The first question I have is: what version of Bacula are you using? I ask Bakis Version: 1.37.40 (26 September 2005) sparc-sun-solaris2

Re: [Bacula-users] Drive in strange state?

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 21:51, Peter Eriksson wrote: > Hmm.. What's the *right* way to "fix" this "issue"? The first question I have is: what version of Bacula are you using? I ask because I don't see the "In Use Volume status:" that should come just after the status listing. As best I ca

[Bacula-users] Drive in strange state?

2005-10-26 Thread Peter Eriksson
Hmm.. What's the *right* way to "fix" this "issue"? "status storage=DLT-0" gives: ... Device status: Autochanger "Sun-L11000" with devices: "DLT-0" (/dev/rmt/0cbn) "DLT-1" (/dev/rmt/1cbn) "DLT-2" (/dev/rmt/2cbn) Device "DLT-0" (/dev/rmt/0cbn) open but no Bacula volume is mounted. Dev

Re: [Bacula-users] Re: [Bacula-devel] Combined Tape & Disk Storage Solution

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 20:31, Attila Fülöp wrote: > Kern Sibbald wrote: > > For example, with a trivial amount of work, I could modify Bacula to > > handle an autochanger with several Media Types, but each drive would have > > only one Media Type that it would read/write. > > This would be gr

Re: [Bacula-users] Compile on XP Instructions. (64 bit offer)

2005-10-26 Thread Martin Simmons
> On Wed, 26 Oct 2005 18:21:56 +0200, Kern Sibbald <[EMAIL PROTECTED]> said: Kern> On Wednesday 26 October 2005 18:14, Russell Howe wrote: >> Mark Bober wrote: >> > As an addendum to this; I've access to Win64 machines, and any version of >> > Visual Studio necessary. >> > >> > I'd

Re: [Bacula-users] Re: [Bacula-devel] Combined Tape & Disk Storage Solution

2005-10-26 Thread Attila Fülöp
Kern Sibbald wrote: For example, with a trivial amount of work, I could modify Bacula to handle an autochanger with several Media Types, but each drive would have only one Media Type that it would read/write. This would be great anyhow, since it would allow me to connect an additional (DDS) d

[Bacula-users] RE: Bacula-users digest, Vol 1 #2539 - 12 msgs

2005-10-26 Thread Shawn Wilson
Yes, the service is installed and this is the executable: "f:\bacula\bin\bacula-fd.exe" /service -c "f:\bacula\bin\bacula-fd.conf Here's a copy of bacula-fd.conf: # # Default Bacula File Daemon Configuration file # # For Bacula release 1.36.3 (22 April 2005) -- cygwin 1.5.13(0.122/4/2) # # There

Re: [Bacula-users] My Kludgey way to make bacula recycle daily tapes with no intervention

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 18:46, Dave Dmytriw - NetCetera wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Arno - Thanx for the reply. You raise some interesting points - I will try to further the discussion while reducing the size of this email. Good idea :-) ... In short, the problem

Re: [Bacula-users] Re: [Bacula-devel] Combined Tape & Disk Storage Solution

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 19:01, David Boyes wrote: > > > Hmm. I don't think that would pass our auditors. If there's a > > > significant chance that the copies are not identical (and it sounds > > > like this approach pretty much guarantees that the copies > > > > will not be > > > > > identica

Re: [Bacula-users] Device BLOCKED

2005-10-26 Thread Dave Dmytriw - NetCetera
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gabriele, This may be a red herring - but I have noticed - and I am not sure of the exact circumstances - that even though you stop the bacula daemons, there may be "orphaned" (for lack of a better word) bacula-dir daemon(s) still running on the s

Re: [Bacula-users] My Kludgey way to make bacula recycle daily tapes with no intervention

2005-10-26 Thread Dave Dmytriw - NetCetera
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Arno - Thanx for the reply. You raise some interesting points - I will try to further the discussion while reducing the size of this email. Arno Lehmann wrote: > Hello, > > On 21.10.2005 21:10, Dave Dmytriw - NetCetera wrote: > > In short, th

Re: [Bacula-users] Compile on XP Instructions. (64 bit offer)

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 18:14, Russell Howe wrote: > Mark Bober wrote: > > As an addendum to this; I've access to Win64 machines, and any version of > > Visual Studio necessary. > > > > I'd offer some time in running a compile (I'm totally oblivious about V > > Studio, however) but looking thr

Re: [Bacula-users] *Extreme* low MySQL performance when prunnig or purging jobs/volumes

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 18:12, Russell Howe wrote: > Paul Heinlein wrote: > > At the risk of being somewhat off-topic, I'll add that the same is true > > of SQLite. In SQLite 2.8, setting the default_synchronous flag to OFF > > will speed things up markedly: > > > > echo 'PRAGMA default_sync

Re: [Bacula-users] Compile on XP Instructions. (64 bit offer)

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 18:02, Mark Bober wrote: > As an addendum to this; I've access to Win64 machines, and any version of > Visual Studio necessary. > > I'd offer some time in running a compile (I'm totally oblivious about V > Studio, however) but looking through the README.vc8 on VS 2005,

[Bacula-users] (no subject)

2005-10-26 Thread Christopher jones
Hello.    I have seen some questions/problems with automount on the list. I am also having an issue with it. Perhaps Im not understanding what it is intended to do. Here is my situation. I have bacula running great. ( linux server , single dds-4 drive NO changer , sqlite ) It works. As far as I

Re: [Bacula-users] Compile on XP Instructions. (64 bit offer)

2005-10-26 Thread Russell Howe
Mark Bober wrote: > > As an addendum to this; I've access to Win64 machines, and any version of > Visual Studio necessary. > > I'd offer some time in running a compile (I'm totally oblivious about V > Studio, however) but looking through the README.vc8 on VS 2005, it doesn't > quite look like

Re: [Bacula-users] *Extreme* low MySQL performance when prunnig or purging jobs/volumes

2005-10-26 Thread Russell Howe
Paul Heinlein wrote: > At the risk of being somewhat off-topic, I'll add that the same is true > of SQLite. In SQLite 2.8, setting the default_synchronous flag to OFF > will speed things up markedly: > > echo 'PRAGMA default_synchronous=0;' | sqlite bacula.db I posted about this previously: ht

Re: [Bacula-users] Compile on XP Instructions.

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 17:32, Dave Sutherland wrote: > In the past I have been able to compile the wx-console on my windows XP > system using nothing but a cygwin rvt window. Now that I look at the new > instructions for compiling on an XP system things are all over the place. > Very confus

[Bacula-users] Compile on XP Instructions. (64 bit offer)

2005-10-26 Thread Mark Bober
As an addendum to this; I've access to Win64 machines, and any version of Visual Studio necessary. I'd offer some time in running a compile (I'm totally oblivious about V Studio, however) but looking through the README.vc8 on VS 2005, it doesn't quite look like all the support libraries are a

Re: [Bacula-users] *Extreme* low MySQL performance when prunnig or purging jobs/volumes

2005-10-26 Thread Paul Heinlein
On Wed, 26 Oct 2005, Russell Howe wrote: Check to see if Postgres is issuing an fsync() after every operation or not, and then decide if you need it to. If you can disable that, things should get a *LOT* faster. I posted a link to some Postgresql performance tuning documents a while back - t

Re: [Bacula-users] bacula-fd service doesn't respond

2005-10-26 Thread Russell Howe
Kern Sibbald wrote: > On Wednesday 26 October 2005 17:15, Shawn Wilson wrote: > >>Has anyone been able to get the bacula-fd service to work on a win2k3 >>server? I ran the default install routine and had it install itself as >>a service but when I run 'netstat -an', nothing is listening on port >

RE: [Bacula-users] bacula-fd service doesn't respond

2005-10-26 Thread Shawn Wilson
Yes, that's the only account I use. I tried changing the 'run as' user from 'system' to 'administrator' and that didn't seem to make any difference. Shawn -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: October 26, 2005 11:41 AM To: bacula-users@lists.sourceforge.n

Re: [Bacula-users] DLT 40/80GB never reaches 40GB

2005-10-26 Thread Kern Sibbald
OK, thanks. I'll add a note in the manual to check the density ... On Wednesday 26 October 2005 17:34, Mark Bober wrote: > I've got a SDLT/320 changer I use for some fulls, and a SDLT/220 changer I > use for weeklies and other fulls. > > As I expire tapes from our previous backup system, I'll u

Re: [Bacula-users] BackupCatalogue errors

2005-10-26 Thread Russell Howe
Arno Lehmann wrote: > Hello, > > On 26.10.2005 15:20, Chris Boyd wrote: >> hq-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal connect >> error to localhost: ERR=Connection refused > This looks like either a permissions problem or a full disk to me. Looks more like there isn't a mail serv

Re: [Bacula-users] bacula-fd service doesn't respond

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 17:15, Shawn Wilson wrote: > Has anyone been able to get the bacula-fd service to work on a win2k3 > server? I ran the default install routine and had it install itself as > a service but when I run 'netstat -an', nothing is listening on port > 9102. I check the task

Re: [Bacula-users] DLT 40/80GB never reaches 40GB

2005-10-26 Thread Mark Bober
I've got a SDLT/320 changer I use for some fulls, and a SDLT/220 changer I use for weeklies and other fulls. As I expire tapes from our previous backup system, I'll usually want to make sure I've gone through the tapes I've put in the 320 and write EOF to each tape, so that the drive 'reformat

[Bacula-users] Compile on XP Instructions.

2005-10-26 Thread Dave Sutherland
In the past I have been able to compile the wx-console on my windows XP system using nothing but a cygwin rvt window.  Now that I look at the new instructions for compiling on an XP system things are all over the place.  Very confusing.    Would someone please revisit the README.WIN32 and create a

[Bacula-users] bacula-fd service doesn't respond

2005-10-26 Thread Shawn Wilson
Title: Message Has anyone been able to get the bacula-fd service to work on a win2k3 server?  I ran the default install routine and had it install itself as a service but when I run 'netstat -an', nothing is listening on port 9102.  I check the task manager and I see it in the list of proces

Re: [Bacula-users] Problem Restoration

2005-10-26 Thread Philippe MULLER
Christoph Haas a écrit : On Wednesday 26 October 2005 12:33, Philippe MULLER wrote: Christoph Haas a écrit : See if your "File" table has proper indices. Mine show this: mysql> show index from File; | File | 1 | JobId |1 |

Re: [Bacula-users] BackupCatalogue errors

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 15:20, Chris Boyd wrote: I'm getting the following errors trying to back up the catalogue, as well as the sending the email warning message: hq-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal connect error to localhost: ERR=Connection refused 26-Oct 00:06 hq-dir:

Re: [Bacula-users] RFC: client after fail command

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 15:17, Russell Howe wrote: > Kern Sibbald wrote: > > If I see that users just cannot "get" or tolerate Python scripting, then > > falling back to Phil's suggestion would be a solution. > > I'm sure it must be fairly easy to write a short python script to > perform actio

[Bacula-users] BackupCatalogue errors

2005-10-26 Thread Chris Boyd
I'm getting the following errors trying to back up the catalogue, as well as the sending the email warning message: hq-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal connect error to localhost: ERR=Connection refused 26-Oct 00:06 hq-dir: s03-full-backup.2005-10-25_22.00.02 Error: messag

Re: [Bacula-users] RFC: client after fail command

2005-10-26 Thread Russell Howe
Kern Sibbald wrote: > If I see that users just cannot "get" or tolerate Python scripting, then > falling back to Phil's suggestion would be a solution. I'm sure it must be fairly easy to write a short python script to perform actions in a way which doesn't require python knowledge. -- Russell H

[Bacula-users] Difficult to do Incremental Backups

2005-10-26 Thread Diogo Melo
I'm using te version 1.36.3 and when I try to do a full backup on windows clients, I receive the advice that there aren't a suitable backup so this job will be a upgrated to a full backup. The clients  are servers with windows NT and windows 2000 and frequently the full jobs ends with some warning

RE: [Bacula-users] Restore while a full backup is running?

2005-10-26 Thread Peter de Jong
Arno, Thanks for your response. I hoped a kind of job suspension was possible based on the priority of a new job like a restore. Maybe for a future release. Peter -Oorspronkelijk bericht- Van: Arno Lehmann [mailto:[EMAIL PROTECTED] Verzonden: woensdag 26 oktober 2005 13:37 Aan: Pete

Re: [Bacula-users] RFC: client after fail command

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 14:16, Arno Lehmann wrote: > Hello, > > On 26.10.2005 13:41, Marek Simon wrote: > > I have a feature request for next version > > There are Client Before and After commands, its usage is obvious. But > > when the backup fails (not enough space etc), the After command wi

Re: [Bacula-users] Some trouble with auto mounting media

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 14:03, Frank Matthieß @Bacula ML wrote: Arno Lehmann schrieb am 26.10.2005 09:36: Hello, On 26.10.2005 09:06, Frank Matthieß @Bacula ML wrote: Hello *, if i get the storage status, i saw the messages in the attachment bacula-status.log. What does "Device is BLOCKED

Re: [Bacula-users] Some trouble with auto mounting media

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 14:03, Frank Matthieß @Bacula ML wrote: > Arno Lehmann schrieb am 26.10.2005 09:36: > > Hello, > > > > On 26.10.2005 09:06, Frank Matthieß @Bacula ML wrote: > >> Hello *, > >> > >> > >> if i get the storage status, i saw the messages in the attachment > >> bacula-status

Re: [Bacula-users] RFC: client after fail command

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 13:41, Marek Simon wrote: I have a feature request for next version There are Client Before and After commands, its usage is obvious. But when the backup fails (not enough space etc), the After command will not run and the client dont know, the backup is (even unsuccesful

Re: [Bacula-users] RFC: client after fail command

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 13:41, Marek Simon wrote: > I have a feature request for next version > There are Client Before and After commands, its usage is obvious. But > when the backup fails (not enough space etc), the After command will not > run and the client dont know, the backup is (even u

Re: [Bacula-users] Some trouble with auto mounting media

2005-10-26 Thread Frank Matthieß @Bacula ML
Arno Lehmann schrieb am 26.10.2005 09:36: > Hello, > > On 26.10.2005 09:06, Frank Matthieß @Bacula ML wrote: > >> Hello *, >> >> >> if i get the storage status, i saw the messages in the attachment >> bacula-status.log. >> >> What does "Device is BLOCKED waiting for appendable media." mean in

[Bacula-users] RFC: client after fail command

2005-10-26 Thread Marek Simon
I have a feature request for next version There are Client Before and After commands, its usage is obvious. But when the backup fails (not enough space etc), the After command will not run and the client dont know, the backup is (even unsuccesfully) finished. So I would like to have another par

Re: [Bacula-users] Restore while a full backup is running?

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 13:19, Peter de Jong wrote: Hi all, Is it possible to do a restore while a full backup is running? My guess is that a restore should have a higher priority than a backup, Bacula resumes the backup right after the restore. Is this possible / is it implemented? Well, firs

[Bacula-users] Restore while a full backup is running?

2005-10-26 Thread Peter de Jong
Hi all, Is it possible to do a restore while a full backup is running? My guess is that a restore should have a higher priority than a backup, Bacula resumes the backup right after the restore. Is this possible / is it implemented? Peter Scheduled Jobs: Level Type Pri Scheduled

Re: [Bacula-users] Problem Restoration

2005-10-26 Thread Christoph Haas
On Wednesday 26 October 2005 12:33, Philippe MULLER wrote: > Christoph Haas a écrit : > >See if your "File" table has proper indices. > > Mine show this: > > mysql> show index from File; > | File | 1 | JobId |1 | JobId | Looks okay. How many entries in the databas

Re: [Bacula-users] Problem Restoration

2005-10-26 Thread Philippe MULLER
Christoph Haas a écrit : On Wednesday 26 October 2005 09:19, Philippe MULLER wrote: I'm running bacula on Gentoo. I'm using mysql. The problem is easy to desribe : I'm backing up a fileserver (40 Go) and the database make 40 Mo. But, when i restore a file (for a user) with bconsol

Re: [Bacula-users] dev open failed

2005-10-26 Thread Russell Howe
Arno Lehmann wrote: > Hello, > > sourceforge holds mail again? Anyway, I've just got a bunch of mail > dated 21 October... List moderator had an "oh crap" moment and had a clearout of the posts held for moderation (there were over 40 scam emails in there, as well as a bunch of held posts). -- R

Re: [Bacula-users] *Extreme* low MySQL performance when prunnig or purging jobs/volumes

2005-10-26 Thread Russell Howe
Florian Schnabel wrote: > i'm using postgresql now ... > > database cleanup usually takes 5-10 minutes, CPU less that 1, seems to > be only limited by HD speed ... Check to see if Postgres is issuing an fsync() after every operation or not, and then decide if you need it to. If you can disable

Re: [Bacula-users] Problem Restoration

2005-10-26 Thread Christoph Haas
On Wednesday 26 October 2005 09:19, Philippe MULLER wrote: > I'm running bacula on Gentoo. I'm using mysql. > > The problem is easy to desribe : I'm backing up a fileserver (40 Go) and > the database make 40 Mo. > But, when i restore a file (for a user) with bconsole, it take very very > long time.

Re: [Bacula-users] DLT 40/80GB never reaches 40GB

2005-10-26 Thread Kern Sibbald
On Wednesday 26 October 2005 10:36, Arno Lehmann wrote: > Hello, > > On 26.10.2005 09:53, Kern Sibbald wrote: > > On Tuesday 25 October 2005 22:31, Ryan Novosielski wrote: > >>One other thing to note -- sometimes the tape drive will improperly > >>determine the tape size for whatever reason. I have

Re: [Bacula-users] *Extreme* low MySQL performance when prunnig or purging jobs/volumes

2005-10-26 Thread Sebastian Stark
On Tuesday 25 October 2005 15:38, Sebastian Stark wrote: > On Tuesday 25 October 2005 15:08, Volker Sauer wrote: > > > Well, something is wrong here, you should have an index on JobId as > > follows: > > Yes, and that's the solution! The missing index on JobId make the SQL > > with "... where JobID

[Bacula-users] Vacation + Bacula Status

2005-10-26 Thread Kern Sibbald
Hello, Vaction: As most of you know, in March, if I remember right, I planned a two week vaction in mid-October to improve my German. What I didn't know was that I was going to have a back operation in September. Well, my condition had improved sufficiently that I left on vacation as planned.

[Bacula-users] Device BLOCKED

2005-10-26 Thread Gabriele Bulfon
Hello, thanx to your suggestions, I think I came up with a good configuration for my daily full backup. But I ran into a strange situation I don't understand. I have two same installations, with this new good config active since Monday. On Monday night: - 1st setup had the correct volume inserte

Re: [Bacula-users] DLT 40/80GB never reaches 40GB

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 09:53, Kern Sibbald wrote: On Tuesday 25 October 2005 22:31, Ryan Novosielski wrote: One other thing to note -- sometimes the tape drive will improperly determine the tape size for whatever reason. I have had experience with a DLT7000 drive that, for whatever reason, init

Re: [Bacula-users] unicode problems - any workaround?

2005-10-26 Thread Kern Sibbald
Hello, Sorry to bombard you with email, but I should have read a bit further in the PostgreSQL documentation. It seems that it may also be necessary to set the client encode, otherwise PostgreSQL may translate the data, which is not what we want. According to the documentation, one must (possi

Re: [Bacula-users] unicode problems - any workaround?

2005-10-26 Thread Kern Sibbald
Hello again, Can you try modifying the database creation using? CREATE DATABASE bacula WITH ENCODING 'UNICODE'; There may be some command that allows you to modify and existing encoding. In any case, the command: psql -l should show you what the existing encoding is. Also, if you want the ch

Re: [Bacula-users] unicode problems - any workaround?

2005-10-26 Thread Kern Sibbald
Hello Dan, The encoding that Unix/Linux/Bacula uses is not ASCII but UTF-8, so from the PostgreSQL document, it appears that what you really want is to set the character encoding to "UNICODE" (a bit of a pity that they do not distinguish as there are a number of different forms of Unicode). O

Re: [Bacula-users] DLT 40/80GB never reaches 40GB

2005-10-26 Thread Kern Sibbald
On Tuesday 25 October 2005 22:31, Ryan Novosielski wrote: > One other thing to note -- sometimes the tape drive will improperly > determine the tape size for whatever reason. I have had experience with > a DLT7000 drive that, for whatever reason, initialized a tape to 15GB. > After that, I had to m

Re: [Bacula-users] Some trouble with auto mounting media

2005-10-26 Thread Arno Lehmann
Hello, On 26.10.2005 09:06, Frank Matthieß @Bacula ML wrote: Hello *, if i get the storage status, i saw the messages in the attachment bacula-status.log. What does "Device is BLOCKED waiting for appendable media." mean in detail? That means that the device needs a volume to append data to

[Bacula-users] Re: unicode problems - any workaround?

2005-10-26 Thread Kern Sibbald
Hello Dan, I really cannot comment on the use of bytea vs text, but I can say that the Unicode (UTF-8) that Bacula uses are perfectly good 8 bit values. There are no values of 0x1. This is why UTF-8 for nearly all purposes is identical to standard text -- i.e. 8 bit values terminated by a

[Bacula-users] Problem Restoration

2005-10-26 Thread Philippe MULLER
Hello all, I'm running bacula on Gentoo. I'm using mysql. The problem is easy to desribe : I'm backing up a fileserver (40 Go) and the database make 40 Mo. But, when i restore a file (for a user) with bconsole, it take very very long time... and the server has a load average 1,5 ! What can i

[Bacula-users] Some trouble with auto mounting media

2005-10-26 Thread Frank Matthieß @Bacula ML
Hello *, if i get the storage status, i saw the messages in the attachment bacula-status.log. What does "Device is BLOCKED waiting for appendable media." mean in detail? The Jobdescription for "Dienstag" is: ... JobDefs { Name = "SicherungServer" Type = Backup Level = Full Client = s