Re: [Bacula-users] dir and sd hang

2009-06-24 Thread Silver Salonen
On Wednesday 24 June 2009 12:58:21 Attila Fülöp wrote: > 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 se

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 could

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

[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 the

[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 da

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

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" (

[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] 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 bmicros

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

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 0x00408a

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

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 274

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 a

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 "upgrad

[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

[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 /dev/rmt/0m

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

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. Som

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

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] 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 Na