Re: [Bacula-users] Change in verification job tape selection time - deliberate or accidental?

2007-03-19 Thread Kern Sibbald
On Monday 19 March 2007 04:15, Troy Daniels wrote:
 Hi again,
 
 Just a quick note to say I've reported the bug as requested.
 
 I haven't forgotten the documentation updates, but am under time constraints 
 with a couple of other projects at work currently so haven't had time to 
work 
 on them yet.

No problem.

 
 I've also been giving some thought to my planned feature request for the 
 ability to specify a job to be verified. I probably should point out that 
when 
 I said:
 
  Verify last nights/weeks/months/whatever 'BackupCatalog' job
 
 I definitely wasn't considering it as the syntax for the feature. It was 
more 
 intended to be getting the idea across.

OK

 
 I can think of 2 ways to go with this that might work:
 
 1) Implement an option to the 'run' command to specify the verify job by job 
 id. Using some scripting magic it should be easy enough to grab the specific 
 job id you want to verify and trigger a job to perform this verification 
 whenever you want to.

I believe that this is already implemented via the run command then 
using mod.  However, since no one seems to have used setting the JobId, it 
has been rather neglected.  I'd suggest that you try what exists, and if it 
is broken, the best is probably to submit a bug report.

 
 2) Add the ability to specify a job by offset or scheduled start time. ie 
 Verify the 2nd last BaculaCatalog job or the BaculaCatalog job that was 
 scheduled to start on Friday. The offset would enable automatic scheduling 
of 
 jobs, and could be potentially more useful than the specific date. (which 
would 
 still need to be controlled thru scripting)

This is an idea that I think given a bit of careful thought and good 
specification could be very useful.  This idea would need to be submitted as 
a feature request.

 
 Option 1 is probably the simplest, and hopefully easiest, to implement.
 
 Thoughts? Suggestions??
 
 Cheers,
 
 
 Troy.
 
 Kern Sibbald wrote:
  Hello,
  
  Thanks for your analysis and discussion of the problem.  Please see my 
  comments below.
  
  On Wednesday 14 March 2007 03:36, Troy Daniels wrote:
  When a verify job is scheduled under 2.0.2 to perform a Volume to
  Catalog verify it now selects the job to be verified (and the 
associated
  tape(s)) at the scheduled start time. It then waits until all jobs of
  lower priority finish before performing the actual verify. This results
  in it verifying the previous nights backup instead of the current 
nights
  one.
 
  Under 1.38.5 the job wouldn't select the job to verify until it 
actually
  ran (Actual start time instead of scheduled start time). In my case 
this
  is after the job I actually want to verify has finished running for the
  evening.
  OK, thanks. This time, the problem is crystal clear.  The above 
describes
  what I need to know/understand.
 
  I haven't looked at the code, but I suspect that some of the startup 
code
  was moved earlier in the process.  In general this was done so that the
  catalog entries are more complete if the job is subsequently cancelled
  before it is actually started.
 
  In this case, if this is what happened, I can see that this will create 
a
  problem for you.  However, it does seem to make sense that the Verify 
job
  would select the job to be verified when Verify is scheduled rather than
  at some later time when additional jobs may have run.
 
  I'm not sure what the solution is. It seems there are two ways to 
resolve
  it: 1. Start the Verify immediately after the backup (probably with a
  RunScript. 2. Put the code back the way it was in 1.38.11 (assuming that
  is the problem).
 
  Do you or anyone else on this list have any comments on the above two
  possible solutions?
  Well I've already updated my config to implement option 1 as a
  'workaround', and am happy to trigger my verifies that way. I've 
scheduled
  a 'TriggerVerify' admin job that will run after the backup is complete 
and
  launch the verify. I used this as I believe using a RunScript within the
  backup job wouldn't work as the backup job will still be 'running' when 
the
  verify job is scheduled, so it'll  still automatically select the 
previous
  nights job.
  
  You mention below that you are considering looking over the documentation.  
  The above, IMO, regardless of how the code evolves, would be a very 
valuable 
  contribution to the documentation, because as you indicate, it gives 
  additional flexibility.
  
  Also, I personally feel the current implementation isn't as intuitive as
  how it worked in 1.38.11 - however this can probably be dealt with by
  appropriate documentation within the manual. 
  
  Yes, I agree with you about the current implementation not being very 
  intuitive.  I think the correct solution is to put the code back as it 
was 
  in 1.38.11, and document the potential problems with that (not the 
problems 
  with the current broken code) as well as document the Admin workaround 
job.
  
  I also think that for a 

Re: [Bacula-users] Bacula and HP MSL2024 autochanger

2007-03-19 Thread Marc Cuypers
Hi,

Jose Molina schreef:
  El vie, 16-03-2007 a las 16:14 +0100, Marc Cuypers escribió:
  Hi,
 
  Has someone bacula working with a HP MSL2024 autochanger?
 
 
  Indeed.

At the moment i'm using an exabyte.  We will have to move to another 
autochanger later this year.

Did the HP MSL2024 work immediately out of the box or did you have to do 
some special tweaking?

Are there others out there happily using this autochanger?

Is there some pointer where i can find bacula configuration files for 
the MSL2024?

-- 
best regards,

Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Change in verification job tape selection time - deliberate or accidental?

2007-03-19 Thread Troy Daniels
Hi,

 I can think of 2 ways to go with this that might work:

 1) Implement an option to the 'run' command to specify the verify job by job 
 id. Using some scripting magic it should be easy enough to grab the specific 
 job id you want to verify and trigger a job to perform this verification 
 whenever you want to.
 
 I believe that this is already implemented via the run command then 
 using mod.  However, since no one seems to have used setting the JobId, it 
 has been rather neglected.  I'd suggest that you try what exists, and if it 
 is broken, the best is probably to submit a bug report.
 

I checked for this capability (and double checked just now) when I setup my 
Admin verify trigger jobs.

I dont get an option to specify the job by JobID (eg 'Verify JobID=6192')- only 
by selecting a job name from a list.

I even tried to enter the job id at this prompt but was told to enter a number 
between 1 and 9.

Not sure that comes under the heading of bug report, unless it's supposed to be 
an option and isn't showing up. If that's the case, let me know and I'll file 
it. :-D

 2) Add the ability to specify a job by offset or scheduled start time. ie 
 Verify the 2nd last BaculaCatalog job or the BaculaCatalog job that was 
 scheduled to start on Friday. The offset would enable automatic scheduling 
 of 
 jobs, and could be potentially more useful than the specific date. (which 
 would 
 still need to be controlled thru scripting)
 
 This is an idea that I think given a bit of careful thought and good 
 specification could be very useful.  This idea would need to be submitted as 
 a feature request.
 

Which is exactly why I haven't rushed in a feature request yet.

Once I wrap my head around it and work out how I think it should work I'll post 
the request. Currently I'm leaning towards something along the lines of 'Verify 
Job Offset = 2' which would verify the 2nd last backup job instead of the last 
one.

Not sure the name is quite right, because it isn't really clear what it does. 
But its a work in progress.

Cheers


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and HP MSL2024 autochanger

2007-03-19 Thread Jose Molina
El lun, 19-03-2007 a las 10:17 +0100, Marc Cuypers escribió:

 Did the HP MSL2024 work immediately out of the box or did you have to do 
 some special tweaking?

Not much, as always check and test the mtx-changer script alone before
trying with bacula. As always, most of the tweaking depends mostly on
the drive, sice most autochangers will work fine with mtx, and bacula
uses this to load/unload...

Cheers,
-- 
José E. Molina
Técnico de Sistemas
Brújula
T. +34 971 433 909 - F. +34 971 433 910
www.brujula.es
___
En el corazón de su negocio




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Change in verification job tape sel ection time - deliberate or accidental?

2007-03-19 Thread Kern Sibbald
On Monday 19 March 2007 10:35, Troy Daniels wrote:
 Hi,
 
  I can think of 2 ways to go with this that might work:
 
  1) Implement an option to the 'run' command to specify the verify job by 
job 
  id. Using some scripting magic it should be easy enough to grab the 
specific 
  job id you want to verify and trigger a job to perform this verification 
  whenever you want to.
  
  I believe that this is already implemented via the run command then 
  using mod.  However, since no one seems to have used setting the JobId, 
it 
  has been rather neglected.  I'd suggest that you try what exists, and if 
it 
  is broken, the best is probably to submit a bug report.
  
 
 I checked for this capability (and double checked just now) when I setup my 
 Admin verify trigger jobs.
 
 I dont get an option to specify the job by JobID (eg 'Verify JobID=6192')- 
only 
 by selecting a job name from a list.
 
 I even tried to enter the job id at this prompt but was told to enter a 
number 
 between 1 and 9.
 
 Not sure that comes under the heading of bug report, unless it's supposed to 
be 
 an option and isn't showing up. If that's the case, let me know and I'll 
file 
 it. :-D

Sorry for the mixup, I just looked at the code, and I think I was confused 
with restore, which still lets the user specify a jobid.  What I was thinking 
of is not implemented.  The code does let you specify a Verify Job name, but 
that is not useful for what you want.

This would be a feature request rather than a bug report.  

Regards,

Kern

 
  2) Add the ability to specify a job by offset or scheduled start time. ie 
  Verify the 2nd last BaculaCatalog job or the BaculaCatalog job that was 
  scheduled to start on Friday. The offset would enable automatic 
scheduling 
  of 
  jobs, and could be potentially more useful than the specific date. (which 
  would 
  still need to be controlled thru scripting)
  
  This is an idea that I think given a bit of careful thought and good 
  specification could be very useful.  This idea would need to be submitted 
as 
  a feature request.
  
 
 Which is exactly why I haven't rushed in a feature request yet.
 
 Once I wrap my head around it and work out how I think it should work I'll 
post 
 the request. Currently I'm leaning towards something along the lines 
of 'Verify 
 Job Offset = 2' which would verify the 2nd last backup job instead of the 
last one.
 
 Not sure the name is quite right, because it isn't really clear what it 
does. 
 But its a work in progress.
 
 Cheers
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Authorization Errors after upgrade to 2.0.2 (Workaround)

2007-03-19 Thread Alan Brown
On Fri, 16 Mar 2007, Darien Hager wrote:

 The prep job uses an empty fileset and runs the prep script *after*
 the bulk of the job.

If you make the prep job an admin job instead of an archive job you 
won't need to define an empty fileset. :)


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and HP MSL2024 autochanger

2007-03-19 Thread Marc Cuypers
Jose Molina schreef:
 El lun, 19-03-2007 a las 10:17 +0100, Marc Cuypers escribió:
 
 Did the HP MSL2024 work immediately out of the box or did you have to do 
 some special tweaking?
 
 Not much, as always check and test the mtx-changer script alone before
 trying with bacula. As always, most of the tweaking depends mostly on
 the drive, sice most autochangers will work fine with mtx, and bacula
 uses this to load/unload...
 
Thanks for answering my question.  Now i know it is safe to go for the 
msl2024.

-- 
Best regards,

Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.0.3-1 released for SuSE 10.1 and 10.2 (x86_64)

2007-03-19 Thread Alan Brown
On Sat, 17 Mar 2007, Kern Sibbald wrote:

 Has anyone built a bacula-fd for suse-9 at all?

 Yes. No rpms here, though.

 I'm quite sure someone else will have an rpm soon for the FD at least.

 Hopefully the above is true, but if I recall correctly, the Bacula project
 (i.e. Scott) is no longer supporting SuSE 9.

I've previously discussed with Scott about making bacula-fd-static 
binaries available (where possible) for use on obsolete systems.

While I realise it's not always possible to make a full -static set, 99% 
of the time the filedaemon is the only thing needed - in order to keep 
backing up older systems until they're replaced.

Right now I can imagine several people asking why I don't just update and 
the answer is simple - we are a space lab, supporting projects which may 
run for a decade or more and a lot of the time the software is binary-only 
and keyed to a particular machine and/or OS(*) - which means we are locked 
into using that machine or OS until the probe in question (somewhere 
around the solar system) finally dies.


(*) Sometimes we have sources and find that the person who wrote the code 
is long gone, or the code is very tightly coded to the OS - but more often 
it's just so incredibly badly written that it's totally non-portable. 
Rocket Scientists are some of the lousiest programmers on the planet.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Corrupt tape label

2007-03-19 Thread Pierre Bernhardt
Hello,

I got a problem with one tape which have a corrupt label so
bacula cannot mount them.
I checked with btape too: readlabel could not found the
original label.

The tape is in use of my weekly backups.

Now my serious problem:
A job has been startet.
Bacula has loaded the tape an wants to mount it. But it cannot
because of the label was not found.
Now bacula wait and wait and wait..so I must cancel the jobs
which will go on these tape. I think auto cancel of the job I can
configure on job level.

To reread which tape is in which port I have updated the media list
by an

umount
update slots scan. At Slot 6 which contains the corrupt tape I got a
message.

A update slots=6 scan again said:

Could not unserialize Volume label: ERR=label.c:775 Expecting Volume
Label, got FI=SOS_LABEL Stream=141 len=162.

Here a problem:

But the tape will be still loading at next backup so I have now disabled
the volume which should contains the slot.

1. Is there a way to use an Error status instead of an disabling? (Not
   important but shows that there is a problem with this tape).
   Disabled status tapes could not purge, later.

2. Because of the corrupt label I think all backups stored on the tape
   and the following incrementals are no more readable so I want to
   purge/prune them. I did this without any problem after setting the
   status back to Full. Any other idea?

3. Here I found possible an bug:
   I have to delete the volume so I used update which didn't helped me:

*update
Update choice:
 1: Volume parameters
 2: Pool from resource
 3: Slots from autochanger
Choose catalog item to update (1-3): 3
The defined Storage resources are:
 1: File
 2: Libra-8
Select Storage resource (1-2): 2
Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
3306 Issuing autochanger slots command.
Device Libra-8 has 8 slots.
Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
3306 Issuing autochanger list command.
No Volumes found to label, or no barcodes.

  So I used different one to check how I can delete the volume from
  the database. A update than slots didn't helped me.

  Any idea how I can delete the media from bacula?

4. update command can move a volume to an slot number which didn't
  exist on the tape library (12 for example). Not dau friendly :-)



MfG...
Pierre Bernhardt




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Password Protection on Restore?

2007-03-19 Thread Pierre Bernhardt
Michael Havas schrieb:
 Hi,
 
 I was thinking of using data encryption as discussed in the manual and
 have the ssl key require a passphrase. Here are a few questions I thought
 of:
 
 1. Is this supported by bacula? Is somebody else doing this?
 
 2. Will this even work?
 
 3. Is it possible to only use the master certificate to do the encryption?
In my opinion yes. Use only a master cert on the fd for encryption.
This will prevent from restore without having the master key file.
But this mean you cannot directly restore on the client without having
the master key on the client so the client fd can read them.
 
 4. Will I be required to enter the passphrase upon backing up data as
 well? For automation reasons, this is not something I want.
For encryption you will never need an password. The cert is enough.
The cert could not be used for decryption.
For decryption:
I have never seen asking interactive password for decryption. You must
have the key for decryption stored without the password. But my idea is
you can put them on an memory stick for example.

This is my opinion. I have not tested them but it should work.
For encryption I use a master cert and a fd cert for every client.
And on every client the fd key is stored so I can recover directly
on the client.
The master key is only used by my if the client key is lost by recover
the whole client.

MfG...
Pierre Bernhardt


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Jorj Bauer
What: The ability to read a configuration file as stdout from an executable

Why: The configuration files (particularly for the Director) are very
complex. In my case I find it easier to have a program generate them
from meta-information about the clients.

Notes:

The attached patch implements this. It's a simple change to lex.c, and
functions globally: if the first character of any configuration file's
name is a pipe (|), then the rest of the filename is considered to
be the path to an executable. The program is run, stdout is read, and
the output is the configuration file.

For example, starting the director like this:

# bacula-dir -c '|/usr/local/sbin/generate-dir-config'

... would cause it to run /usr/local/sbin/generate-dir-config to
generate a new configuration file.

Comments welcome.

-- Jorj
diff --recursive -u bacula-2.0.3/src/lib/lex.c 
bacula-2.0.3.patched/src/lib/lex.c
--- bacula-2.0.3/src/lib/lex.c  2006-11-21 11:13:58.0 -0500
+++ bacula-2.0.3.patched/src/lib/lex.c  2007-03-08 09:54:40.0 -0500
@@ -37,6 +37,12 @@
 #include bacula.h
 #include lex.h
 
+#if defined(HAVE_WIN32)
+#define POPEN_MODE rb
+#else
+#define POPEN_MODE r
+#endif
+
 extern int debug_level;
 
 /* Debug level for this source file */
@@ -133,7 +139,11 @@
Dmsg1(dbglvl, Close lex file: %s\n, lf-fname);
 
of = lf-next;
-   fclose(lf-fd);
+
+   if (lf-is_pipe)
+ pclose(lf-fd);
+   else
+ fclose(lf-fd);
Dmsg1(dbglvl, Close cfg file %s\n, lf-fname);
free(lf-fname);
if (of) {
@@ -159,6 +169,7 @@
  * the next field.
  *
  */
+
 LEX *lex_open_file(LEX *lf, const char *filename, LEX_ERROR_HANDLER 
*scan_error)
 
 {
@@ -166,9 +177,14 @@
FILE *fd;
char *fname = bstrdup(filename);
 
-
-   if ((fd = fopen(fname, rb)) == NULL) {
-  return NULL;
+   if (fname  fname[0] == '|') {
+  if ((fd = popen(fname[1], POPEN_MODE)) == NULL) {
+return NULL;
+  }
+   } else {
+  if ((fd = fopen(fname, rb)) == NULL) {
+return NULL;
+  }
}
Dmsg1(400, Open config file: %s\n, fname);
nf = (LEX *)malloc(sizeof(LEX));
@@ -188,6 +204,7 @@
   lex_set_default_error_handler(lf);
}
lf-fd = fd;
+   lf-is_pipe = (fname[0] == '|');
lf-fname = fname;
lf-state = lex_none;
lf-ch = L_EOL;
diff --recursive -u bacula-2.0.3/src/lib/lex.h 
bacula-2.0.3.patched/src/lib/lex.h
--- bacula-2.0.3/src/lib/lex.h  2006-11-21 08:20:11.0 -0500
+++ bacula-2.0.3.patched/src/lib/lex.h  2007-03-08 09:33:41.0 -0500
@@ -98,6 +98,7 @@
int options;   /* scan options */
char *fname;   /* filename */
FILE *fd;  /* file descriptor */
+   int is_pipe : 1;   /* did we use popen to open it? */
char line[MAXSTRING];  /* input line */
char str[MAXSTRING];   /* string being scanned */
int str_len;   /* length of string */


pgps7VkU1BjqE.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] suggestions for improving question enhancement submissions (Was: Re: Unhelpful help (was Re: Bacula and HP MSL2024autochanger))

2007-03-19 Thread mark . bergman


In the message dated: Fri, 16 Mar 2007 20:53:32 -,
The pithy ruminations from Rob MacGregor on 
Re: [Bacula-users] Unhelpful help (was Re: Bacula and HP MSL2024autochanger) 
were:
= On 3/16/07, Darien Hager [EMAIL PROTECTED] wrote:
=  I wonder if a small improvement would be to basically send them an e-
=  mail as part of the signup process which has some helpful links,
=  small manual TOC, etc.

I think that a MAJOR improvement would be a form on the website that prompts 
the user for all the required information to submit a question to the list 
(or a bug report):

bacula version
fd platform
sd platform
client platform[s]
specific error messages
debug level used
problem description
attached config files


There's so much information that the process of asking--and more importantly, 
answering--questions could be tremendously improved if the questions were 
posted in a standardized format. This would make them easier for human beings 
to scan and respond to, and easier to index for future searches.

Along these lines, I'd also strongly suggest a form for submitting enhancement 
requests. Kern has a strong preference for having the request submitted in a 
particular format...it would improve the quality of the requests, reduce the 
number of times that they are re-submitted because of formatting errors, and 
make it easier on Kern (and the other developers) if the data was in a 
standardized format.

Mark

= 
= I've seen that done on another list, including direct pointers to the
= section of the FAQ that details how to report problems.
= 
= I think maybe one person has actually provided even the majority of
= the requested information right off (and nobody all of it).  Even
= people who harp on about having read the FAQ provide little of the
= requested information.  The most common statement is I know I should
= upgrade, but
= 
= So, in my experience it may help, but I really doubt it.  The sad fact
= of life is that most people either don't read any of it (probably
= because they're in too much of a rush to get their post in so they can
= get help) or don't understand what they read (either language barriers
= or a lack of a common knowledge space).
= 
= -- 
=  Please keep list traffic on the list.
= 
= Rob MacGregor
=   Whoever fights monsters should see to it that in the process he
= doesn't become a monster.  Friedrich Nietzsche
= 
= -
= Take Surveys. Earn Cash. Influence the Future of IT
= Join SourceForge.net's Techsay panel and you'll get the chance to share your
= opinions on IT  business topics through brief surveys-and earn cash
= http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
= ___
= Bacula-users mailing list
= Bacula-users@lists.sourceforge.net
= https://lists.sourceforge.net/lists/listinfo/bacula-users
= 





The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader of 
this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] director password...Urgent

2007-03-19 Thread Naufal Zamir

Hi,

Please can anyone tell me how to reset or get the director password. I need
it for adding new clients and I am not sure what the password is.

Regards
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Corrupted volume. How do I recover?

2007-03-19 Thread John Drescher
  Now this tape (3rd in an archive pool) had 34GB of backups on it the
  first question I have is how do I find out what jobs were run on this
  volume?

 I found this one. Use the query command from the console.

query
Available queries:
 1: List up to 20 places where a File is saved regardless of the directory
 2: List where the most recent copies of a file are saved
 3: List last 20 Full Backups for a Client
 4: List all backups for a Client after a specified time
 5: List all backups for a Client
 6: List Volume Attributes for a selected Volume
 7: List Volumes used by selected JobId
 8: List Volumes to Restore All Files
 9: List Pool Attributes for a selected Pool
10: List total files/bytes by Job
11: List total files/bytes by Volume
12: List Files for a selected JobId
13: List Jobs stored on a selected MediaId
14: List Jobs stored for a given Volume name
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
Choose a query (1-16): 14
Enter Volume name: A00023
+---++-+--+---++-++
| jobid | name   | starttime   | type | level |
files  | bytes   | status |
+---++-+--+---++-++
| 3,867 | HOLOGICArchive-Job | 2007-03-12 15:17:46 | B| I |
13,216 | 118,405,453,610 | T  |
+---++-+--+---++-++

It says there is only one job on the tape which I worry about as it
says there are ~34GB of data on the tape but since this job only had
13GB where was the other data from?

list media pool=LTO2-Archived-Data
+-++---+-+-+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes|
volfiles | volretention | recycle | slot | inchanger | mediatype |
lastwritten |
+-++---+-+-+--+--+-+--+---+---+-+
| 121 | A8 | Full  |   1 | 293,324,113,143 |
301 |   31,536,000 |   0 |8 | 1 | LTO-2 |
2006-10-17 14:37:37 |
| 135 | A00010 | Archive   |   1 | 262,766,020,608 |
269 |   31,536,000 |   0 |   10 | 1 | LTO-2 |
2007-03-12 16:27:04 |
| 154 | A00023 | Append|   1 |  32,146,910,208 |
33 |   31,536,000 |   0 |   21 | 1 | LTO-2 |
2007-03-12 16:58:42 |

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread John Drescher
On 3/19/07, Naufal Zamir [EMAIL PROTECTED] wrote:
 Hi,

 Please can anyone tell me how to reset or get the director password. I need
 it for adding new clients and I am not sure what the password is.

This password is set in the bacula-dir.conf file on the director.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread Naufal Zamir

yep true, but its encrypted and i don't know the password because it was set
by some one else.. So how do I recover the password now.

Regards

On 3/19/07, John Drescher [EMAIL PROTECTED] wrote:


On 3/19/07, Naufal Zamir [EMAIL PROTECTED] wrote:
 Hi,

 Please can anyone tell me how to reset or get the director password. I
need
 it for adding new clients and I am not sure what the password is.

This password is set in the bacula-dir.conf file on the director.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread Bill Moran
In response to Naufal Zamir [EMAIL PROTECTED]:

 yep true, but its encrypted and i don't know the password because it was set
 by some one else.. So how do I recover the password now.

It's not encrypted.

 
 Regards
 
 On 3/19/07, John Drescher [EMAIL PROTECTED] wrote:
 
  On 3/19/07, Naufal Zamir [EMAIL PROTECTED] wrote:
   Hi,
  
   Please can anyone tell me how to reset or get the director password. I
  need
   it for adding new clients and I am not sure what the password is.
  
  This password is set in the bacula-dir.conf file on the director.
 
  John
 
 


-- 
Bill Moran
http://www.potentialtech.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread viashino
No, it is not encrypted, copy it as-is, it will work.
Generally it is created during setup via the /dev/rand device . Maybe its  
for this reason that it seams encrypted to you.


On Mon, 19 Mar 2007 17:22:36 +0100, Naufal Zamir [EMAIL PROTECTED]  
wrote:

 yep true, but its encrypted and i don't know the password because it was  
 set
 by some one else.. So how do I recover the password now.

 Regards

 On 3/19/07, John Drescher [EMAIL PROTECTED] wrote:

 On 3/19/07, Naufal Zamir [EMAIL PROTECTED] wrote:
  Hi,
 
  Please can anyone tell me how to reset or get the director password. I
 need
  it for adding new clients and I am not sure what the password is.
 
 This password is set in the bacula-dir.conf file on the director.

 John




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread John Drescher
On 3/19/07, Naufal Zamir [EMAIL PROTECTED] wrote:
 yep true, but its encrypted and i don't know the password because it was set
 by some one else.. So how do I recover the password now.

 Regards
No need to decode you just copy that cryptic code to the client
bacula-fs or enter it in the windows setup.
John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread Zachariah Mully
On Mon, 2007-03-19 at 12:22 -0400, Naufal Zamir wrote:
 yep true, but its encrypted and i don't know the password because it
 was set by some one else.. So how do I recover the password now.

Reset it on the director, then update all your clients with the new
password. Might be a pain if you have a lot of clients

-- 
Zachariah Mully
Director, Systems and Networks
SmartBrief, Inc.
[EMAIL PROTECTED]
p: 202-737-5500
f: 202-737-7577


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director password...Urgent

2007-03-19 Thread Naufal Zamir

Yeah thanks all of you. It works when i just copy and paste it.

Best Regards

On 3/19/07, John Drescher [EMAIL PROTECTED] wrote:


On 3/19/07, Naufal Zamir [EMAIL PROTECTED] wrote:
 yep true, but its encrypted and i don't know the password because it was
set
 by some one else.. So how do I recover the password now.

 Regards
No need to decode you just copy that cryptic code to the client
bacula-fs or enter it in the windows setup.
John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Darien Hager
On Mar 19, 2007, at 6:59 AM, Jorj Bauer wrote:
 What: The ability to read a configuration file as stdout from an  
 executable

 Why: The configuration files (particularly for the Director) are very
   complex. In my case I find it easier to have a program generate them
   from meta-information about the clients.

 Notes:

 The attached patch implements this. It's a simple change to lex.c, and
 functions globally: if the first character of any configuration file's
 name is a pipe (|), then the rest of the filename is considered to
 be the path to an executable. The program is run, stdout is read, and
 the output is the configuration file.

 For example, starting the director like this:

   # bacula-dir -c '|/usr/local/sbin/generate-dir-config'

 ... would cause it to run /usr/local/sbin/generate-dir-config to
 generate a new configuration file.


Hey, that sounds pretty useful. When you say globally, I assume you  
mean that I can just toss a similar line into bacula-dir to generate  
a subset of the configuration data from a script?

--
--Darien A. Hager
[EMAIL PROTECTED]
Mobile: (206) 734-5666



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Jorj Bauer
  # bacula-dir -c '|/usr/local/sbin/generate-dir-config'
 
  ... would cause it to run /usr/local/sbin/generate-dir-config to
  generate a new configuration file.
 
 
 Hey, that sounds pretty useful. When you say globally, I assume you  
 mean that I can just toss a similar line into bacula-dir to generate  
 a subset of the configuration data from a script?

When I said globally I meant for all of the daemons (fd, dir, sd).

Your idea has merit, but I think it would be a much more substantial
patch. This patch specifically changes the behavior when starting to
open a file.

You can certainly replicate the behavior you're suggesting by using this
patch, and having your own script do the parsing-and-modification.

-- Jorj


pgpAsqMwh4MWp.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Darien Hager

On Mar 19, 2007, at 10:38 AM, Jorj Bauer wrote:

 # bacula-dir -c '|/usr/local/sbin/generate-dir-config'

 ... would cause it to run /usr/local/sbin/generate-dir-config to
 generate a new configuration file.


 Hey, that sounds pretty useful. When you say globally, I assume you
 mean that I can just toss a similar line into bacula-dir to generate
 a subset of the configuration data from a script?

 When I said globally I meant for all of the daemons (fd, dir, sd).

 Your idea has merit, but I think it would be a much more substantial
 patch. This patch specifically changes the behavior when starting to
 open a file.

 You can certainly replicate the behavior you're suggesting by using  
 this
 patch, and having your own script do the parsing-and-modification.

Hmm. Myself, I'd prefer a include-from-script directive I could  
place in the director. I suppose when you get down to it, both  
potential features (entire conf from script, subset from script) can  
be accomplished with existing capabilities (run script first, include  
from generated file.)

Nevertheless, I can't speak for many others, but if I could write a  
line to grab client/job definitions from this script within bacula- 
dir.conf, I would use it.

--
--Darien A. Hager
[EMAIL PROTECTED]
Mobile: (206) 734-5666




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula release strategy.

2007-03-19 Thread Kern Sibbald
After receiving somewhat conflicting input (some pro quick releases, some 
against), I've decided roughly to follow the following strategy:

For the immediate future:
1. Observe the progress of our current development work over the next week or 
two.  
2. As far as I can tell, all the code is stable *except* the new batch insert 
database code, which is not yet of production quality.
3. After a week, if it is production quality, then we will release an update 
to 2.0.x that contains the whole of the current development code.
4. If after a week, the database code is not production quality, then I will 
merge all the development code except the batch insert database code into 
2.0.4 and release it in the near future  (3 - 6 weeks).


Longer term:
While developing the 2.0.x code, we made some 12 releases to version 1.38.x.  
The first few, as with 2.0.x, were primarily bug fix releases, but a good 
part of the subsequent releases were new features, but those which I found to 
be stable and compatible.  I would like to continue this sort of release 
procedure.  It allows us to make a new incremental release every two to four 
months each time adding new features.  Please keep in mind that each of the 
2.0.x releases as was the case with 1.38.x will remain totally compatible.  
There will be no need as some feared to upgrade lots or clients unless you 
want new features that have been added to the clients.  Normally new client 
features don't come along too often, but we will probably have one shortly 
for 2.0.x for Win32, because from what I understand the current client does 
not run on Vista (thanks Microsoft), so we will very likely release an update 
(hopefully sooner rather than later).

Obviously the above means that the 2.0.x feature updates will be limited to 
those that are stable and cause no compatibility problems.  Major features 
updates will continue to be spaced at approximately 12-18 month intervals.

Basically this means maintaining the status quo.  If someone has some problems 
with this, now is the time to speak up.

Best regards,

Kern

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Could not connect to Storage daemon - ERR=No error

2007-03-19 Thread Brian A. Seklecki

 Unfortunately, the error message here is probably incorrect because at that 
 low level, it doesn't know about Win32.  As a consequence, it is most likely 
 that packrat is not properly defined on jeff-t40-fd.
 

Ahhh so different socket API errors for TCP sockets?  Different
firewalls return (or don't return) different TCP and ICMP packets in
response to SYN packets that violate policies.

Cisco doesn't give you a lot of control; pf(4) / ipf(4) does etc.

~BAS

 It would be a big help to Win32 users if you would file a bug report with the 
 above message and something like Incorrect Win32 network error message as 
 the title.





IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Two SDs (file) - Strange behavior...

2007-03-19 Thread James Bass
Hello all.  I'm 99% positive either I'm doing the configuration wrong - but 
I've read the manual and archives (maybe missing the answer) and have no clue 
as to what is going on...

I have the following setup - One machine running bacula-dir and bacula-sd 
(named backup1), another machine running bacula-sd (named backup2).  I am using 
file storage on both.  

On both are 3ware cards with disks that are allocated to the directory that 
holds the backup file storage (/bacula-nn).  My plan was to use a pool, and 
have bacula send the jobs to them as determined by the director.

Well, everything *sort of* works.  The problems I've encountered are as follows:

When backup1's disk space fills up, bconsole becomes practically unusable, as 
it slows down severely.  During this time I see a lot of these messages:

19-Mar 15:54 backup1.mydomain.com: ERROR in authenticate.c:382 Unable to 
authenticate console *UserAgent* at client:172.16.0.134:36131.

Also, during the slowdown, mysqld is being hit extremely hard.

Now, if I switch the order of the Storage lines in the Pool section, and 
restart the director, bconsole becomes snappy again, and backups to the pool go 
to backup2.  Mysqld is not taxed at all after the order is switched

Does any one have any idea on this?  Below are the relevant configuration 
sections.  I'm currently trying to restore a file from the 'backup1' server 
(its disks are full), and it is being extremely slow. :)

Backup1 - /etc/bacula/bacula-dir.conf:

Storage {
  Name = backup1 - File
  Address = backup1.mydomain.com
  SDPort = 9103
  Password = password
  Device = FileStorage
  Media Type = File
  Maximum Concurrent Jobs = 3
}

Storage {
  Name = backup2 - File
  Address = backup2.mydomain.com
  SDPort = 9103
  Password = password
  Device = FileStorage2
  Media Type = File2
  Maximum Concurrent Jobs = 3
}

Pool {
  Name = File Storage
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days # one year
  Storage = backup1 - File
  Storage = backup2 - File
}

Backup1 - /etc/bacula/bacula-sd.conf:

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /bacula-01
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Backup2 - /etc/bacula/bacula-sd.conf:

Device {
  Name = FileStorage2
  Media Type = File2
  Archive Device = /bacula-02
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.14/727 - Release Date: 3/19/2007 11:49
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and HP MSL2024 autochanger

2007-03-19 Thread John Goerzen
On 2007-03-16, Marc Cuypers [EMAIL PROTECTED] wrote:
 Hi,

 Has someone bacula working with a HP MSL2024 autochanger?

We have it working with an MSL4048, which from what I understand is very
similar.  Works great.

-- John


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Corrupted volume. How do I recover?

2007-03-19 Thread Martin Simmons
 On Thu, 15 Mar 2007 17:28:03 -0400, John Drescher said:
 
 I believe I confused bacula by restarting the sd with my tapes mounted
 in my autochanger. The end result is one of the tapes appears to have
 been corrupted:
 
 15-Mar 16:12 dev6-sd: 3305 Autochanger load slot 21, drive 1, status is OK.
 15-Mar 16:12 dev6-sd: 3301 Issuing autochanger loaded? drive 1 command.
 15-Mar 16:12 dev6-sd: 3302 Autochanger loaded? drive 1, result is Slot 21.
 15-Mar 16:12 dev6-sd: PLuSSArchive-Job.2007-03-15_16.06.16 Error:
 block.c:275 Volume data error at 0:0! Wanted ID: BB02, got .
 Buffer discarded.
 
 I try bls and I get more of the same:
 # bls -c /etc/bacula/bacula-sd.conf -V* /dev/nst1 -L
 bls: butil.c:283 Using device: /dev/nst1 for reading.
 15-Mar 17:14 bls: Invalid slot=0 defined, cannot autoload Volume.
 15-Mar 17:14 bls: 3301 Issuing autochanger loaded? drive 1 command.
 15-Mar 17:14 bls: 3302 Autochanger loaded? drive 1, result is Slot 21.
 15-Mar 17:14 bls: bls Error: block.c:275 Volume data error at 0:0!
 Wanted ID: BB02, got . Buffer discarded.
 
 Now this tape (3rd in an archive pool) had 34GB of backups on it the
 first question I have is how do I find out what jobs were run on this
 volume? Also If I purge the volume which should contain 2 to 4
 incremental jobs can I run an incremental backup again on the data so
 that bacula backups any files that were new along with the purged
 files. Or will bacula try to do a full backup?

It will run an incremental again as long as it can find the Full backup job.
The output of list jobs should show which jobs it knows about.

__Martin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Corrupted volume. How do I recover?

2007-03-19 Thread Martin Simmons
 On Mon, 19 Mar 2007 11:56:33 -0400, John Drescher said:
 
   Now this tape (3rd in an archive pool) had 34GB of backups on it the
   first question I have is how do I find out what jobs were run on this
   volume?
 
  I found this one. Use the query command from the console.
 
 query
 Available queries:
  1: List up to 20 places where a File is saved regardless of the directory
  2: List where the most recent copies of a file are saved
  3: List last 20 Full Backups for a Client
  4: List all backups for a Client after a specified time
  5: List all backups for a Client
  6: List Volume Attributes for a selected Volume
  7: List Volumes used by selected JobId
  8: List Volumes to Restore All Files
  9: List Pool Attributes for a selected Pool
 10: List total files/bytes by Job
 11: List total files/bytes by Volume
 12: List Files for a selected JobId
 13: List Jobs stored on a selected MediaId
 14: List Jobs stored for a given Volume name
 15: List Volumes Bacula thinks are in changer
 16: List Volumes likely to need replacement from age or errors
 Choose a query (1-16): 14
 Enter Volume name: A00023
 +---++-+--+---++-++
 | jobid | name   | starttime   | type | level | files  | 
 bytes   | status |
 +---++-+--+---++-++
 | 3,867 | HOLOGICArchive-Job | 2007-03-12 15:17:46 | B| I | 13,216 | 
 118,405,453,610 | T  |
 +---++-+--+---++-++
 
 It says there is only one job on the tape which I worry about as it
 says there are ~34GB of data on the tape but since this job only had
 13GB where was the other data from?
 
 list media pool=LTO2-Archived-Data
 +-++---+-+-+--+--+-+--+---+---+-+
 | mediaid | volumename | volstatus | enabled | volbytes| volfiles | 
 volretention | recycle | slot | inchanger | mediatype | lastwritten |
 +-++---+-+-+--+--+-+--+---+---+-+
 | 121 | A8 | Full  |   1 | 293,324,113,143 |  301 |   
 31,536,000 |   0 |8 | 1 | LTO-2 | 2006-10-17 14:37:37 |
 | 135 | A00010 | Archive   |   1 | 262,766,020,608 |  269 |   
 31,536,000 |   0 |   10 | 1 | LTO-2 | 2007-03-12 16:27:04 |
 | 154 | A00023 | Append|   1 |  32,146,910,208 |   33 |   
 31,536,000 |   0 |   21 | 1 | LTO-2 | 2007-03-12 16:58:42 |

In fact it is the other way round -- the job was 118GB.  Possibly the start of
the job is on A00010?

__Martin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Corrupted volume. How do I recover?

2007-03-19 Thread John Drescher
 In fact it is the other way round -- the job was 118GB.  Possibly the start of
 the job is on A00010?

Martin,
Thank You!

User error... I guess I could put some blame on the messed up
formatting on my gnome console.

This is a good thing then as I will only need to redo a single backup.
I now feel confident to purge tape A00023 and run another incremental
HOLOGICArchive-Job job.

Thanks again,
John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Andreas Helmcke
Jorj Bauer wrote:
 What: The ability to read a configuration file as stdout from an executable
 
 Why: The configuration files (particularly for the Director) are very
   complex. In my case I find it easier to have a program generate them
   from meta-information about the clients.
 
 Notes:
 
 The attached patch implements this. It's a simple change to lex.c, and
 functions globally: if the first character of any configuration file's
 name is a pipe (|), then the rest of the filename is considered to
 be the path to an executable. The program is run, stdout is read, and
 the output is the configuration file.
 
 For example, starting the director like this:
 
   # bacula-dir -c '|/usr/local/sbin/generate-dir-config'

Maybe I am missing some important point, but by now I can't see any mayor
benefits of your solution compared with:

 # /usr/local/sbin/generate-dir-config  /etc/bacula/bacula-dir.conf 
bacula-dir -c /etc/bacula/bacula-dir.conf


Andreas


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Corrupt tape label

2007-03-19 Thread Arno Lehmann
Hi,

On 3/19/2007 11:30 AM, Pierre Bernhardt wrote:
 Hello,
 
 I got a problem with one tape which have a corrupt label so
 bacula cannot mount them.
 I checked with btape too: readlabel could not found the
 original label.
 
 The tape is in use of my weekly backups.

Perhaps because the volume was in use by Bacula, then, for some reason, 
rewound without Bacula noticing that. Then the next job was written to 
the tape, without repositioning first, and thus you don't have a correct 
tape label anymore.

 Now my serious problem:
 A job has been startet.
 Bacula has loaded the tape an wants to mount it. But it cannot
 because of the label was not found.
 Now bacula wait and wait and wait..so I must cancel the jobs
 which will go on these tape. I think auto cancel of the job I can
 configure on job level.

You don't have to cancel jobs in this case.

 To reread which tape is in which port I have updated the media list
 by an
 
 umount
 update slots scan. At Slot 6 which contains the corrupt tape I got a
 message.
 
 A update slots=6 scan again said:
 
 Could not unserialize Volume label: ERR=label.c:775 Expecting Volume
 Label, got FI=SOS_LABEL Stream=141 len=162.
 
 Here a problem:
 
 But the tape will be still loading at next backup so I have now disabled
 the volume which should contains the slot.
 
 1. Is there a way to use an Error status instead of an disabling? (Not
important but shows that there is a problem with this tape).
Disabled status tapes could not purge, later.

'update volume=... volstatus=Error' might work.

 2. Because of the corrupt label I think all backups stored on the tape
and the following incrementals are no more readable so I want to
purge/prune them. I did this without any problem after setting the
status back to Full. Any other idea?

Either delete all the jobs stored on this tape (nominally), or simply 
delete and recreate the volume.

 3. Here I found possible an bug:
I have to delete the volume so I used update which didn't helped me:
 
 *update
 Update choice:
  1: Volume parameters
  2: Pool from resource
  3: Slots from autochanger
 Choose catalog item to update (1-3): 3
 The defined Storage resources are:
  1: File
  2: Libra-8
 Select Storage resource (1-2): 2
 Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
 Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
 3306 Issuing autochanger slots command.
 Device Libra-8 has 8 slots.
 Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
 3306 Issuing autochanger list command.
 No Volumes found to label, or no barcodes.
 
   So I used different one to check how I can delete the volume from
   the database. A update than slots didn't helped me.
 
   Any idea how I can delete the media from bacula?

The 'delete media' command.

 4. update command can move a volume to an slot number which didn't
   exist on the tape library (12 for example). Not dau friendly :-)

True, but unfortunately there is no way for Bacula to know how many 
slots your library *really* has. The output from mtx usually does give 
the correct result, but that is only used by the SD (or rather, the DIR 
has to ask the SD for it), and doing this for a manual catalog update 
might result in other problems. For example if your autochanger is not 
working correctly and you have to update the tape poitions manually.

In your situation, I'd delete the jobs from volume in question, set the 
volstatus to used, prune the volume, so it gets marked as empty, and use 
btape to recreate the previous label.

Arno

 
 
 MfG...
 Pierre Bernhardt
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Daemon building

2007-03-19 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kern Sibbald wrote:
 The SD does not currently need/use the DB (this will probably chang).  
 However, some of the other tools that are built with the SD do need the DB, 
 therefore the dependence.  If you want ONLY the SD, for the current time, you 
 can build it with any DB and it will work.

Out of curiosity, what -- down the line -- would the -sd require a
database for? Config info?

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/zuwmb+gadEcsb4RAjmMAKCpMfyOY7WzanE5VFWE7/LkORAj9ACeNVTk
s5smJGwV7RkSTpnHs9QtmDg=
=BvU1
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Any experience with Quantum DLT-S4 ?

2007-03-19 Thread Mehmet Soysal
Hi,
is somebody using a Quantum DLT-S4 drive with Bacula ?
I'm looking for a tape drive with a huge uncompressed capacity on a
single tape and
the DLT-S4 drive seems to have the most capacity.

But i'm not sure if it is fully usable.




MfG
M.Soysal



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Two SDs (file) - Strange behavior...

2007-03-19 Thread Arthur Emerson III

James Bass [EMAIL PROTECTED] wrote:

 On both are 3ware cards with disks that are allocated to the directory
 that holds the backup file storage (/bacula-nn).
[snip]

 Also, during the slowdown, mysqld is being hit extremely hard.

 Now, if I switch the order of the Storage lines in the Pool section,
 and restart the director, bconsole becomes snappy again, and backups to
 the pool go to backup2.  Mysqld is not taxed at all after the order is
 switched

 Does any one have any idea on this?

I have had Bacula 1.38.x (and 1.36.x) running on a server with
a 3ware RAID controller for over a year now, and swear *at* the
3ware controller instead of swear by it like most other people.

Don't know if the thing is a pile of toss, if there's driver
problems, or if maybe the motherboard is incompatible with the
3ware card, but disk I/O actually seems to be faster through a
USB2 disk drive on the same server than it is to SATA disks on
the 3ware card!  When I finally got around to hooking up a SCSI
LTO tape drive to this server last month and found the tape to be
faster as a backup media than the disks, I realized just how
bad the disk throughput really was.  It seems to me like the
major problem is limited to huge sequential reads/writes like
Bacula does to monster backup files, but that's besides the point.

In any case, the description of your problem above sounds like
disk throughput problems just like I'm seeing, and if you have
30+ second delays even trying to logon to the system at the
console when things slow down then you are surely seeing the
same problem.  The MySQL problem is another symptom of a disk
bottleneck, especially if that disk partition is also on the
3ware controller.

If I'm correct in my diagnosis, the explanation for your
increased performance after swapping the parameters in the
config file is because you re-started the daemons...which
stopped the file processing backlog and let the disks catch up.
Having a second storage daemon and disk controller is
probably a little bit of a plus to better disk throughput
as well.

Of course, I may be wrong, but my $0.02 is to start by
checking the disk throughput on your backup1 box before
you dig any deeper into Bacula's configuration.

-Arthur

-
 Arthur Emerson III Email:  [EMAIL PROTECTED]
 Network Administrator  InterNIC:   AE81
 Mount Saint Mary College   MaBell: (845) 561-0800 Ext. 3109
 330 Powell Ave.Fax:(845) 562-6762
 Newburgh, NY  12550SneakerNet: Aquinas Hall Room 6


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula release strategy.

2007-03-19 Thread Steen
Mandag 19 marts 2007 19:34 skrev Kern Sibbald:
 After receiving somewhat conflicting input (some pro quick releases, some
 against), I've decided roughly to follow the following strategy:

 For the immediate future:
 1. Observe the progress of our current development work over the next week
 or two.
 2. As far as I can tell, all the code is stable *except* the new batch
 insert database code, which is not yet of production quality.
 3. After a week, if it is production quality, then we will release an
 update to 2.0.x that contains the whole of the current development code.
 4. If after a week, the database code is not production quality, then I
 will merge all the development code except the batch insert database code
 into 2.0.4 and release it in the near future  (3 - 6 weeks).
It is not clear to me if this then includes the features that you mentioned 
for version 2.2 in the original post. Seems to me that the marked performance 
improvements are so significant that the 2.2 version numbering was reasonable



 Longer term:
 While developing the 2.0.x code, we made some 12 releases to version
 1.38.x. The first few, as with 2.0.x, were primarily bug fix releases, but
 a good part of the subsequent releases were new features, but those which I
 found to be stable and compatible.  I would like to continue this sort of
 release procedure.  It allows us to make a new incremental release every
 two to four months each time adding new features.  Please keep in mind that
 each of the 2.0.x releases as was the case with 1.38.x will remain totally
 compatible. There will be no need as some feared to upgrade lots or clients
 unless you want new features that have been added to the clients.  Normally
 new client features don't come along too often, but we will probably have
 one shortly for 2.0.x for Win32, because from what I understand the current
 client does not run on Vista (thanks Microsoft), so we will very likely
 release an update (hopefully sooner rather than later).

 Obviously the above means that the 2.0.x feature updates will be limited to
 those that are stable and cause no compatibility problems.  Major features
 updates will continue to be spaced at approximately 12-18 month intervals.

 Basically this means maintaining the status quo.  If someone has some
 problems with this, now is the time to speak up.
Depends on the answer above, as those features are some that I personally just 
can't wait to see

Otherwise it seems as a very good way to keep a stable release for a 
reasonable length of time. I am still running 1.38 because it does what I 
need it to do, but just those performance improvements give me a good reason 
to upgrade, and it is nice if it will then last a while.

 Best regards,

 Kern

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Regards

Steen

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Jorj Bauer
 Maybe I am missing some important point, but by now I can't see any mayor
 benefits of your solution compared with:
 
  # /usr/local/sbin/generate-dir-config  /etc/bacula/bacula-dir.conf 
 bacula-dir -c /etc/bacula/bacula-dir.conf

It's subtle. You're missing the 'reload' command.

-- Jorj


pgpD3QQl2zEMq.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.0.3-1 released for SuSE 10.1 and 10.2 (x86_64)

2007-03-19 Thread Arno Lehmann
Hi,

On 3/19/2007 11:14 AM, Alan Brown wrote:
 On Sat, 17 Mar 2007, Kern Sibbald wrote:
 
 Has anyone built a bacula-fd for suse-9 at all?
 Yes. No rpms here, though.

 I'm quite sure someone else will have an rpm soon for the FD at least.
 Hopefully the above is true, but if I recall correctly, the Bacula project
 (i.e. Scott) is no longer supporting SuSE 9.
 
 I've previously discussed with Scott about making bacula-fd-static 
 binaries available (where possible) for use on obsolete systems.
 
 While I realise it's not always possible to make a full -static set, 99% 
 of the time the filedaemon is the only thing needed - in order to keep 
 backing up older systems until they're replaced.

Ok, I have an FD for SuSE 9.2 which should also work on SLES9. 
Statically linking was not possible, after some playing around, I always 
ended up with:

elf:/srv/nfsexport/bacula/bacula-2.0.2  grep Static ./config.out
   Statically Linked Tools:no
   Statically Linked FD:   yes
   Statically Linked SD:   no
   Statically Linked DIR:  no
   Statically Linked CONS: no
elf:/srv/nfsexport/bacula/bacula-2.0.2  ldd src/filed/bacula-fd
 linux-gate.so.1 =  (0xe000)
 libacl.so.1 = /lib/libacl.so.1 (0x4002f000)
 libz.so.1 = /lib/libz.so.1 (0x40035000)
 libpthread.so.0 = /lib/tls/libpthread.so.0 (0x40047000)
 libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x40059000)
 libm.so.6 = /lib/tls/libm.so.6 (0x40116000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x40139000)
 libc.so.6 = /lib/tls/libc.so.6 (0x40141000)
 libattr.so.1 = /lib/libattr.so.1 (0x40257000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
elf:/srv/nfsexport/bacula/bacula-2.0.2 

I can not find static .a libraries for linux-gate (whatever that is) and 
libattr, so I assume these might be one reason for not having a static 
FD possible.

Anyway, as far as I can see the FD should run on minimal 
SLES9-installation, perhaps even when running a recovery version from 
DVD and accessing the FD binary and configuration via nfs or similar.

I can mail the FD, or put it onto a web site if there is need for it. 
244k stripped, and here is a checksum: 
f2333e592204ae69800b265936ccfac05aa08c79  src/filed/bacula-fd-stripped

 Right now I can imagine several people asking why I don't just update

No need to explain that - I still have SuSE 8.1 running my Bacula server :-)

 and 
 the answer is simple

My answer would be even simpler :-)

 - we are a space lab, supporting projects which may 
 run for a decade or more and a lot of the time the software is binary-only 
 and keyed to a particular machine and/or OS(*) - which means we are locked 
 into using that machine or OS until the probe in question (somewhere 
 around the solar system) finally dies.

Which would be the time when you don't need a FD for it any more, any 
suppose...

 
 (*) Sometimes we have sources and find that the person who wrote the code 
 is long gone, or the code is very tightly coded to the OS - but more often 
 it's just so incredibly badly written that it's totally non-portable. 
 Rocket Scientists are some of the lousiest programmers on the planet.

That's because you don't have to be a rocket scientist to write code ;-)

Arno

 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Helmcke wrote:
 Jorj Bauer wrote:
 What: The ability to read a configuration file as stdout from an executable

 Why: The configuration files (particularly for the Director) are very
  complex. In my case I find it easier to have a program generate them
  from meta-information about the clients.

 Notes:

 The attached patch implements this. It's a simple change to lex.c, and
 functions globally: if the first character of any configuration file's
 name is a pipe (|), then the rest of the filename is considered to
 be the path to an executable. The program is run, stdout is read, and
 the output is the configuration file.

 For example, starting the director like this:

  # bacula-dir -c '|/usr/local/sbin/generate-dir-config'
 
 Maybe I am missing some important point, but by now I can't see any mayor
 benefits of your solution compared with:
 
  # /usr/local/sbin/generate-dir-config  /etc/bacula/bacula-dir.conf 
 bacula-dir -c /etc/bacula/bacula-dir.conf

I myself can't see the point of generate-dir-config. I know this is just
an example, but what might this script/program do that a flat file
can't? Maybe I'm missing something neat here, but I'm curious what one
would want to do with such a thing.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/ztNmb+gadEcsb4RAoBeAKCotpTTgZ5pMnfhq2BpCJuYXkOfDACeOBaI
ROr4nFz3uKRyUYX3LiJwVAw=
=jYso
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Daemon building

2007-03-19 Thread Troy Daniels
Hi,

Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Kern Sibbald wrote:
 The SD does not currently need/use the DB (this will probably chang).  
 However, some of the other tools that are built with the SD do need the DB, 
 therefore the dependence.  If you want ONLY the SD, for the current time, 
 you 
 can build it with any DB and it will work.
 
 Out of curiosity, what -- down the line -- would the -sd require a
 database for? Config info?
 

I personally guessed it was for the direct updating/storing of attributes - 
currently these are 'routed' thru the director aren't they?

There are probably other reasons tho.

Cheers,


Troy Daniels.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Two SDs (file) - Strange behavior...

2007-03-19 Thread Rob MacGregor
On 3/19/07, Arthur Emerson III [EMAIL PROTECTED] wrote:

 I have had Bacula 1.38.x (and 1.36.x) running on a server with
 a 3ware RAID controller for over a year now, and swear *at* the
 3ware controller instead of swear by it like most other people.

My experience is that, as long as you're not using RAID5, they're
fantastic.  The onboard RAID5 implementation however performs *very*
badly.  Strangely the onboard RAID50 implementation performs just as
well as all the other options (including the misnamed RAID0).

Worth doing some simple performance benchmarking (dd if=/dev/sdX
of=/dev/sdX1 count=200) to get a rough indicator.  Also worth
watching the WIO field of top to see if you're heavily I/O bound.

-- 
 Please keep list traffic on the list.

Rob MacGregor
  Whoever fights monsters should see to it that in the process he
doesn't become a monster.  Friedrich Nietzsche

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users