[Bacula-users] Job vs volume retention periods

2009-06-24 Thread phatrik
Hi, I'm confused in regards to job retention vs volume retention. From the little bit I understand, if the volume retention period is passed and bacula is unable to find any other appendable volumes in the client's stoarge pool, it will delete all file and job records and then re-use that

[Bacula-users] Passing the current Storage to a Run Before Job script

2009-06-24 Thread teksupptom
Greetings! I'm hopeful that someone can give us a little help. We currently run Bacula 2.4.4. We have backups run on two storage devices, and each device has its own spool file directory. We've created a script that will check the spool directory at the start of each job to make sure that

[Bacula-users] Release Drive0 no longer works (99% of time)

2009-06-24 Thread terryc
Has anyone else running Debian Lenny had/have this problem? Since upgrading from Debian Etch to Debian Lenny, I have found that release Drive0 does not unrelease the tape (DEC DLT single tape) in 99% of occassions. The message about drive waiting for sysop is still printed on the consol, but

Re: [Bacula-users] Job vs volume retention periods

2009-06-24 Thread Fahrer, Julian
Hi Erik, volumes will only be reused after the volume retention period is reached. And the point of keeping a volume which doesn't contain jobIDs is that you could import the tape or recover data from it using btape since it still contains all files. Kind regards Julian -Ursprüngliche

Re: [Bacula-users] File daemon at .... rejected Hello command

2009-06-24 Thread Gavin McCullagh
Hi, On Tue, 23 Jun 2009, Arno Lehmann wrote: and welcome here! I hope you find all the advice you need here - and I'm sure you'll be able to halp others, too! Thanks. I have so far :-) Gavin --

Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread Martin Simmons
On Tue, 23 Jun 2009 16:09:57 -0700, mehma sarja said: Did you wait till the cpu went back to low cpu usage? No, it stays high overnight and my patience runs out before cpu pegging does. I suggest attaching gdb to the bacula-dir process to see what it is doing, e.g. thread apply all bt

Re: [Bacula-users] dir and sd hang

2009-06-24 Thread Attila Fülöp
Silver Salonen wrote: On Tuesday 16 June 2009 15:08:29 Attila Fülöp wrote: Silver Salonen wrote: Hi. I use Bacula 3.0.0 on FreeBSD-6.3. The problem I have is that DIR and SD tend to hang often, and it seems one causes another, because they do it together mostly. Sometimes it happens

Re: [Bacula-users] Job vs volume retention periods

2009-06-24 Thread Dirk Bartley
On Wed, 2009-06-24 at 09:14 +0200, Fahrer, Julian wrote: Hi Erik, volumes will only be reused after the volume retention period is reached. And the point of keeping a volume which doesn't contain jobIDs is that you could import the tape or recover data from it using btape since it still

[Bacula-users] Rewind permissions error in SD (UNCLASSIFIED)

2009-06-24 Thread Swartzbaugh, Richard A CTR DISA EUR
Classification: UNCLASSIFIED Caveats: NONE I have installed Bacula on a Solaris 10 system using a StorEdge C2 tape jukebox. When I try to label a tape, I get the following error: Unable to open device SDLT1-Drive (/dev/rmt/0mbn): ERR=Permission denied Using the mt command (mt -f

[Bacula-users] Upgrading from bacula 2 to 3

2009-06-24 Thread Assaf Flatto
Hello I am a newbie in bacula , I've inherited it from another admin . I saw the our version is an old version and i wanted to upgrade to the latest version , i looked at the bacula documentation to see if there is an upgrade procedure and couldn't find any . Is there an unofficial guide as

Re: [Bacula-users] Upgrading from bacula 2 to 3

2009-06-24 Thread Dirk Bartley
On Wed, 2009-06-24 at 16:30 +, Assaf Flatto wrote: Hello I am a newbie in bacula , I've inherited it from another admin . I saw the our version is an old version and i wanted to upgrade to the latest version , i looked at the bacula documentation to see if there is an upgrade

Re: [Bacula-users] Upgrading from bacula 2 to 3

2009-06-24 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Assaf Flatto wrote: Hello I am a newbie in bacula , I've inherited it from another admin . I saw the our version is an old version and i wanted to upgrade to the latest version , i looked at the bacula documentation to see if there is an

Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread mehma sarja
I got into gdb but know very little how to move around in there. I tried: [r...@lucifer ~]# gdb /usr/local/sbin/bacula-dir 27410 GNU gdb 6.1.1 [FreeBSD] This GDB was configured as amd64-marcel-freebsd...(no debugging symbols found)... Attaching to program: /usr/local/sbin/bacula-dir, process

Re: [Bacula-users] Firewall fun

2009-06-24 Thread Dirk Bartley
On Tue, 2009-06-23 at 21:52 +0200, Arno Lehmann wrote: Hi, 23.06.2009 17:04, Dirk Bartley wrote: Sure, iptables allows for connection based rules as well as the old ipchains style rules based rules. So your probably using connection based rules like : iptables -A INPUT -p tcp -m

Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread mehma sarja
(gdb) thread apply all bt Thread 4 (Thread 0x801902180 (LWP 100350)): #0 0x0008016f98cc in nanosleep () from /lib/libc.so.7 #1 0x0008009078c5 in nanosleep () from /lib/libthr.so.3 #2 0x0044e21e in bmicrosleep () #3 0x0042408d in wait_for_next_job () #4

Re: [Bacula-users] Upgrading from bacula 2 to 3

2009-06-24 Thread Timo Neuvonen
I am a newbie in bacula , I've inherited it from another admin . I saw the our version is an old version and i wanted to upgrade to the latest version , i looked at the bacula documentation to see if there is an upgrade procedure and couldn't find any . Is there an unofficial guide as to

Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread Martin Simmons
On Wed, 24 Jun 2009 10:41:03 -0700, mehma sarja said: (gdb) thread apply all bt Thread 4 (Thread 0x801902180 (LWP 100350)): #0 0x0008016f98cc in nanosleep () from /lib/libc.so.7 #1 0x0008009078c5 in nanosleep () from /lib/libthr.so.3 #2 0x0044e21e in bmicrosleep () #3

[Bacula-users] Overriding Job and/or File Retention Periods?

2009-06-24 Thread teksupptom
Greetings! Is there any way, in Bacula 2.4.4, to override the File and/or Job retention period in either the Job, Schedule, or FileSet resource? The reason I ask is that we have a couple of filesets that are extremely large, but only on a handful of clients. We don't have the space to restore

Re: [Bacula-users] Rewind permissions error in SD (UNCLASSIFIED)

2009-06-24 Thread Arno Lehmann
Hi, 24.06.2009 16:57, Swartzbaugh, Richard A CTR DISA EUR wrote: Classification: UNCLASSIFIED Caveats: NONE I have installed Bacula on a Solaris 10 system using a StorEdge C2 tape jukebox. When I try to label a tape, I get the following error: Unable to open device SDLT1-Drive

Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread mehma sarja
Thanks for all your help you guys. I am impressed with the level of expertise here! Error accessing memory address 0x7fbff000: Bad address. #0 0x0040c043 in add_findex () The function add_findex is interesting, but I think like your bacula-dir was Try the following gdb

[Bacula-users] Job vs volume retention periods

2009-06-24 Thread phatrik
Dirk Bartley wrote: On Wed, 2009-06-24 at 09:14 +0200, Fahrer, Julian wrote: Hi Erik, volumes will only be reused after the volume retention period is reached. And the point of keeping a volume which doesn't contain jobIDs is that you could import the tape or recover data from it

[Bacula-users] Overriding Job and/or File Retention Periods?

2009-06-24 Thread teksupptom
Trying to work around the file/job retention question above, is it possible to set up multiple Client resources for a single client machine, without running multiple file daemons on the client? The way I read the manual, the name given to the client file daemon is what needs to be used for

Re: [Bacula-users] Job vs volume retention periods

2009-06-24 Thread Dirk Bartley
Thanks for the help provided so far, it's very much appreciated. I do have a few follow-up questions: In a case where the client's storage pool Pools don't belong to a client unless you set up the directors schedules that way and don't run any manually to the pool. would of

Re: [Bacula-users] Overriding Job and/or File Retention Periods?

2009-06-24 Thread Dirk Bartley
If your serious about it, you could always script your way out of it. Set the file and job retention to the higher of the two desired values, then conjure up an sql statment that select the jobs that you want to have the lower retention periods and purge the records desired in a script. You