[Bacula-users] MySQL bin files

2007-06-04 Thread Andrew Ross
pedro moreno wrote:

>   I have bacula 1.38.11 running over FreeBSD 6.1-p16 and MySQL 5.31, is
> working good some issues time to time, but i have been fixing does
> thanks to this maillist. Now i have 1 doubt, last time i compact my DB,
> i saw that my db folder increase in size.
> 
>I have all this files in my /var/db/mysql/:
> 
> total 4686402

> -rw-rw  1 mysql  wheel1073741999 Apr  2 22:45 bacula-bin.01
> -rw-rw  1 mysql  wheel154680106 Apr 13 17:13 bacula-bin.02

>   Do i need all this bacula-bin files?

This is not related to Bacula, but rather a feature of MySQL (see
http://dev.mysql.com/doc/refman/5.0/en/binary-log.html).

If you're not replicating your MySQL database with a master/slave setup
(http://dev.mysql.com/doc/refman/5.0/en/replication.html) you don't need
binary logging and can turn it off in the MySQL config file.

Additional/followup questions on this topic should probably be posted to
a MySQL users list.

Cheers

Andrew



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] To much bin files in my bacula folder?

2007-06-04 Thread pedro moreno

 HI people.

 I have bacula 1.38.11 running over FreeBSD 6.1-p16 and MySQL 5.31, is
working good some issues time to time, but i have been fixing does thanks to
this maillist. Now i have 1 doubt, last time i compact my DB, i saw that my
db folder increase in size.

  I have all this files in my /var/db/mysql/:

total 4686402
drwx--  2 mysql  wheel1536 May 17 13:09 bacula
-rw-rw  1 mysql  wheel1073741999 Apr  2 22:45 bacula-bin.01
-rw-rw  1 mysql  wheel154680106 Apr 13 17:13 bacula-bin.02
-rw-rw  1 mysql  wheel1073741897 Apr 29 22:51 bacula-bin.03
-rw-rw  1 mysql  wheel192763533 May  1 09:33 bacula-bin.04
-rw-rw  1 mysql  wheel1339 May  1 16:56 bacula-bin.05
-rw-rw  1 mysql  wheel1339 May  1 17:28 bacula-bin.06
-rw-rw  1 mysql  wheel1074425050 May 17 11:29 bacula-bin.07
-rw-rw  1 mysql  wheel629747314 May 18 08:24 bacula-bin.08
-rw-rw  1 mysql  wheel1339 May 18 08:50 bacula-bin.09
-rw-rw  1 mysql  wheel36105 May 21 11:16 bacula-bin.10
-rw-rw  1 mysql  wheel576098548 Jun  4 20:07 bacula-bin.11
-rw-rw  1 mysql  wheel220 May 21 13:49 bacula-bin.index
-rw-rw  1 mysql  wheel39679 May 21 13:49 bacula.MBX.local.err
-rw-rw  1 mysql  wheel4 May 21 13:49 bacula.MBX.local.pid
-rw-rw  1 mysql  wheel5242880 May 21 13:49 ib_logfile0
-rw-rw  1 mysql  wheel5242880 Jul 24  2006 ib_logfile1
-rw-rw  1 mysql  wheel10485760 May 21 13:49 ibdata1
-r--r--r--  1 root   wheel  4856 Mar  6 11:54 my.cnf
drwx--  2 mysql  wheel1536 Jul 24  2006 mysql
drwx--  2 mysql  wheel512 Jul 24  2006 test

 Do i need all this bacula-bin files?

Thanks all for your time people!!!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] volume retention and disk space

2007-06-04 Thread Arno Lehmann
Hi,

On 6/5/2007 2:31 AM, Bob Gamble wrote:
> One more thought on this.  Has anyone tried changing the time stamp on a 
> volume

You'd have to change the LastWritten column in the catalog. Bacula is 
not very interested in the file system timestamps.

> (so bacula thinks it's  retention period is passed) and what 
> affect does this have in the big picture?

Pruning and recycling would happen according to the changed timestamp.

>  In other words, would bacula 
> get confused by this?

No.

> I realize this wouldn't be best practices by any stretch.  I'm only 
> looking at all ways I can retain part of a very large volume of data.  

If you want to make sure certain volumes are not recycled, use the 
console command 'update' to disable recycling or set the retention time. 
  A retention time of 0 zero means automatic pruning is disabled.

Keep in mind that the job retention time still applies, but Bacula will 
not overwrite your volumes.

Arno

> Thanks.
> 
> On 5/29/07, * Bob Gamble* <[EMAIL PROTECTED] 
> > wrote:
> 
> Well that clears pretty much all those questions up for me.  Thanks
> very much for the quick response.
> 
> 
> On 5/29/07, * Arno Lehmann* < [EMAIL PROTECTED]
> > wrote:
> 
> Hi,
> 
> On 5/29/2007 9:35 PM, Bob Gamble wrote:
> >  Hello,
> >
> >  When I first started using bacula about 5 months ago, I used one
> >  volume for everything.
> 
> Oh. That's not really a good idea.
> 
> >  All seemed to be fine until I realized how
> >  quickly I was going to use up the 2.5 terabytes.  At the time, I
> >  wrongly assumed six months would pass and I would have plenty
> of space
> >  after the volume was recycled.
> >
> >  Now, I have very little space left.  I've split each backup
> into their
> >  own pools (as described in
> >  http://www.bacula.org/dev-manual/Automated_Disk_Backup.html
> 
> >  <
> http://www.bacula.org/dev-manual/Automated_Disk_Backup.html>)
> and the
> >  large volume is no longer being written to as of the first week of
> >  May.  If I understand the documentation correctly I can
> recapture hard
> >  drive space like this:
> >
> >  Change the VolRetention period to three months instead of six
> (which I did)
> >
> >  Set Autoprune and Recycle to Yes
> >
> >  I'm hoping the VolRetention is measured from when the volume
> was first
> >  used, which is back in January or February,
> 
> No, the retention period starts when the volume was last used.
> Otherwise, you might lose valid backups.
> 
> >  and that even though the
> >  available disk space on the bacula server shows less than 100
> gb left,
> >  it will overwrite space that has been taken up by the single large
> >  volume when another volume needs the space.
> 
> No, it will overwrite th huge volume only when it's recycled,
> which will
> not happen before the retention time has passed.
> 
> >  That is essentially my question.  If I understand correctly, since
> >  bacula holds on to data as long is it can until more space is
> needed,
> >  will the bacula server at some point, always have a full hard
> drive?
> 
> Not necessarily. In your setup, though, probably.
> 
> >  If I'm wrong, when does it clear the space taken by expired
> retention
> >  periods?  I wonder what options I have to save the last three
> months
> >  of backups from the large volume while removing the backups
> whose time
> >  has expired.  Is there a way to do this?
> 
> Set up migration (you'll need a second sorage device for it
> which could
> use the same archive directory) and migrate the valid jobs from
> the huge
> volume. Afterwards, manually recycle that volume. When it's re-used,
> Bacula will truncate it and your disk space will look much nicer :-)
> 
> >  Or do I need to just remove
> >  the large volume to make more space?  Thank you for any tips.
> 
> That would be the simplest solution, but you will lose some
> backups you
> might consider valuable.
> 
> Arno
> 
> >  --
> >  BobG
> >
> >
> >
> 
> 
> 
> >
> >
> 
> -
> >  This SF.net email is sponsored by DB2 Express
> >  Download DB2 Express C - the FREE version of DB2 express and take
>

Re: [Bacula-users] volume retention and disk space

2007-06-04 Thread Bob Gamble

One more thought on this.  Has anyone tried changing the time stamp on a
volume (so bacula thinks it's  retention period is passed) and what affect
does this have in the big picture?  In other words, would bacula get
confused by this?

I realize this wouldn't be best practices by any stretch.  I'm only looking
at all ways I can retain part of a very large volume of data.  Thanks.

On 5/29/07, Bob Gamble <[EMAIL PROTECTED]> wrote:


Well that clears pretty much all those questions up for me.  Thanks very
much for the quick response.

On 5/29/07, Arno Lehmann < [EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On 5/29/2007 9:35 PM, Bob Gamble wrote:
> > Hello,
> >
> > When I first started using bacula about 5 months ago, I used one
> > volume for everything.
>
> Oh. That's not really a good idea.
>
> >  All seemed to be fine until I realized how
> > quickly I was going to use up the 2.5 terabytes.  At the time, I
> > wrongly assumed six months would pass and I would have plenty of space
> > after the volume was recycled.
> >
> > Now, I have very little space left.  I've split each backup into their
>
> > own pools (as described in
> > http://www.bacula.org/dev-manual/Automated_Disk_Backup.html
> > < http://www.bacula.org/dev-manual/Automated_Disk_Backup.html>) and
> the
> > large volume is no longer being written to as of the first week of
> > May.  If I understand the documentation correctly I can recapture hard
>
> > drive space like this:
> >
> > Change the VolRetention period to three months instead of six (which I
> did)
> >
> > Set Autoprune and Recycle to Yes
> >
> > I'm hoping the VolRetention is measured from when the volume was first
>
> > used, which is back in January or February,
>
> No, the retention period starts when the volume was last used.
> Otherwise, you might lose valid backups.
>
> > and that even though the
> > available disk space on the bacula server shows less than 100 gb left,
>
> > it will overwrite space that has been taken up by the single large
> > volume when another volume needs the space.
>
> No, it will overwrite th huge volume only when it's recycled, which will
> not happen before the retention time has passed.
>
> > That is essentially my question.  If I understand correctly, since
> > bacula holds on to data as long is it can until more space is needed,
> > will the bacula server at some point, always have a full hard drive?
>
> Not necessarily. In your setup, though, probably.
>
> > If I'm wrong, when does it clear the space taken by expired retention
> > periods?  I wonder what options I have to save the last three months
> > of backups from the large volume while removing the backups whose time
> > has expired.  Is there a way to do this?
>
> Set up migration (you'll need a second sorage device for it which could
> use the same archive directory) and migrate the valid jobs from the huge
>
> volume. Afterwards, manually recycle that volume. When it's re-used,
> Bacula will truncate it and your disk space will look much nicer :-)
>
> >  Or do I need to just remove
> > the large volume to make more space?  Thank you for any tips.
>
> That would be the simplest solution, but you will lose some backups you
> might consider valuable.
>
> Arno
>
> > --
> > BobG
> >
> >
> >
> 
> >
> >
> -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> >
> >
> >
> 
> >
> > ___
> > 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
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula - sophisticated

2007-06-04 Thread Dan Langille
"Bacula is a sophisticated network backup program that really should 
be better-known. The robust and easy to use application runs on Unix-
type operating ..."

From: http://www.serverwatch.com/tutorials/article.php/3681261

A very short overview on  Bacula.

-- 
Dan Langille
two conferences, one trip, great value: May 2007
BSDCan - The BSD Conference - http://www.bsdcan.org/
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mysteriously failing jobs

2007-06-04 Thread Frank Sweetser
Arno Lehmann wrote:
> If you need a minimal Nagios plugin - I wrote some shell script for that 
> purpose once :-)

Oddly enough, nothing actually crashes - a handfull of jobs fail, but all
subsequent ones go through just fne.

>>> A work around would be to not start all your jobs at once but run them 
>>> in batches. Lowering job concurrency will not work as a job waiting for 
>>> an available slot to run will also use memory.
>>>
>>> Also, you could try upgrading to the current development version as I 
>>> believe Kern worked on that problem. You should check the change log.
>> I think I might at least wait until Kern releases an official beta before
>> trying that one out =)
> 
> 2.1.10 IS kind of a released beta version :-) but the next one is doe 
> soon...

I'll definitely give that a try if no other solutions pop up...

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Large block sizes for fast tape drives

2007-06-04 Thread Mikey Orr
Hi everyone-

I have an DLT-S4 drive hooked up to a Dell 1950 running CentOS and 
Bacula 2.0.3. Everything works just fine, but the throughput to the tape 
drive is really slow. After mucking around with tar, I found that 
increasing the block size really improves the performance of the tape 
drive. According to tapeinfo, the drive can handle block sizes to just 
under 16 MB. Using a block size close to 16 MB gives me some of that 
awesome speed that Quantum promised:

bash-3.00# tar -c --totals -b 32000 -f /dev/nst0 .
Total bytes written: 1179648000 (1.1GiB, 94MiB/s)

I went to change the Maximum block size value in my SD, but I get data 
overrun errors while running a job with anything larger than 512 KB. 
Here's some output from the SD when the block size is set to 90:

bash-3.00# /usr/sbin/bacula-sd -f -d500

.. snip ...

cfile-prod-bkp-1-sd: append.c:300 back from write_end_session_label()
cfile-prod-bkp-1-sd: spool.c:137 Committing spooled data
cfile-prod-bkp-1-sd: spool.c:220 Despooling data
cfile-prod-bkp-1-sd: device.c:345 lock 0 from spool.c:235
cfile-prod-bkp-1-sd: block.c:443 binbuf=81 buf_len=90
cfile-prod-bkp-1-sd: block.c:443 binbuf=83 buf_len=90
cfile-prod-bkp-1-sd: block.c:443 binbuf=85 buf_len=90
cfile-prod-bkp-1-sd: dev.c:1655 weof_dev
cfile-prod-bkp-1-sd: askdir.c:395 >dird: CatReq 
Job=cFile1_Full.2007-06-04_11.37.16 CreateJobMedia FirstIndex=1 
LastIndex=43682 StartFile=3 EndFile=3 StartBlock=0 EndBlock=1110 Copy=0 
Strip=0 MediaId=20

Damaged buffers found at bnet.c:288
   discovery of data overrun.
   Buffer address: 2a985a5010
Damaged buffer:  900016 bytes allocated at line 130 of 
cfile-prod-bkp-1-sd block.c
04-Jun 11:42 cfile-prod-bkp-1-sd: ABORTING due to ERROR in smartall.c:430
Damaged buffer found. Called from bnet.c:288
Kaboom! bacula-sd, cfile-prod-bkp-1-sd got signal 11. Attempting traceback.
Kaboom! exepath=/usr/sbin/
cfile-prod-bkp-1-sd: signal.c:138 Working=/var/bacula
cfile-prod-bkp-1-sd: signal.c:139 btpath=/usr/sbin/btraceback
cfile-prod-bkp-1-sd: signal.c:140 exepath=/usr/sbin/bacula-sd
Calling: /usr/sbin/btraceback /usr/sbin/bacula-sd 5335
cfile-prod-bkp-1-sd: signal.c:165 Doing waitpid

With 512 KB blocks, I get around 45-50 MB/sec. This isn't bad, but I 
know that tape drive can do better. Using 512 KB blocks with tar gives 
me about the same speed as Bacula:

bash-3.00# tar -c --totals -b 1024 -f /dev/nst0 .
Total bytes written: 1178075136 (1.1GiB, 45MiB/s)

Is anyone else seeing this problem with large block sizes? I know these 
faster tapes drives seem to like those bigger block sizes. =)

Thanks!

-Mikey

-- 
Mikey Orr
Core Technologies Unix System Administrator
ITS @ University of California, Santa Cruz
Call me at (831) 459-4222

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Media Assignment (different Drives)

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 3:54 PM, Lonny Selinger wrote:
> Setup:
> 
> I have 2 DLT drives (a and b) set up to accept jobs dedicated to each
> drive. Certain types of jobs go to a and certain types go to b and
> this seems to work fine. The problem I'm running into is having a
> drive request media in another drive. Both are valid for writing and
> are in the same pool but for some reason I'll get media mount
> requests on drive a for the media in drive b and vic/versa. Anyone
> have any ideas why this might be? The two media ID's aren't full and
> the upcoming jobs still show that a backup destined for drive b is
> going to request the media already mounted in a.

Which version of Bacula? This should happen rarely since 1.38, I 
believe, since in that version the catalog notices which device used a 
volume last.

> Suggestions greatly appreciated, Thanks! Lonny

Different media types, but that has been suggested... the catalog update 
fpr the existing volumes is rather simple: In SQL, something like 
'UPDATE Media SET MediaType="a" WHERE ;' is all you need.

You could select by Volume name, with wildcards, or using a list of 
volume IDs, for example.

Arno

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Shutdown

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 2:37 PM, Adam Cécile wrote:
> Lucio Crusca a écrit :
>> I'd like configure Bacula so that it turns off the computer after the SD has 
>> finished writing the backup. I'm running Debian GNU/Linux and Bacula 2.0.3. 
>> Is there a way to do that?
>>
>>   
> RunAfterCmd ?

Definitely... I use the following in my office:

Job {
   Priority = 999
   Name = Shutdown
   Type = Admin
   Run Before Job = "/etc/bacula/shutdown.sh"
   Schedule = Shutdown
   Messages = Standard
   Storage = DLT
   Fileset = Alles
   Pool = Full
   Client = goblin-fd
   Max Start Delay = 20h
   Rerun Failed Levels = No
}

Note the high priority value.

bacula/[EMAIL PROTECTED] /root # cat /etc/bacula/shutdown.sh
#!/bin/bash

if [ -f /var/bacula/server/allowshutdown ] ; then
 echo "Shutdown will take place..."
 /var/bacula/server/sched_downtime goblin "`date -d "now + 5 min" \
"+%Y-%m-%d %H:%M:%S"`" "`date "-d tomorrow 8:12"`" 1 0 0 bacula \
"goblin turns off until tomorrow morning..."
 /sbin/shutdown -h -t 120 +6 &
else
 echo "Shutdown will not happen (/var/bacula/server/allowshutdown 
not present)"
fi
exit 0

Most of the stuff in the script is for Nagios integration and you can 
safely ignore it... so your "Run Before Job" line could also simply be 
"/sbin/shutdown -h -t 120 +6 &" (I'm unsure about the & for background 
execution - at least it's better to have the shutdown in the background 
so Bacula can correctly finish the job and won't have a running job left 
in the catalog.)

Arno


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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 2:23 PM, Martin Simmons wrote:
...
> Here is a feature request for the voting system: separate voting for simple
> and complex requests.

Oh god, I haven't even decided how to do anything and you come up with 
this! ;-)

> I know these terms are somewhat imprecise, but I found it difficult to vote
> for my "top 5" last time when minor tweaks were mixed with major projects.

Good point, anyway. I'll keep that in mind.

Arno

> __Martin
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> 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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mysteriously failing jobs

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 6:17 PM, Frank Sweetser wrote:
> Arno Lehmann wrote:
>> Well, this one looks difficult.
> 
> At least it's not just me, then =)
> 
>> I suggest to monitor the memory usage of your server. I experienced 
>> problems with (usually) the DIR or (seldomly) the SD using up all 
>> available memory. Wich probably might affect the kernel so that it can't 
>> allocate memory for the network stuff.
> 
> That would explain why nothing visibly changed.  One or two jobs simply pushed
> some internal resource over the magic threshold, and triggered the memory
> consumption.

Quite possible, in my experience.

>> You should have something in the systems log files then, I suppose.
> 
> I didn't find anything that appeared related in the log files.  I have a quick
> and dirty system in place to monitor the memory usage of the dir and sd that
> I'll run through tonight's jobs, so we'll see how that looks.

If you need a minimal Nagios plugin - I wrote some shell script for that 
purpose once :-)

>> A work around would be to not start all your jobs at once but run them 
>> in batches. Lowering job concurrency will not work as a job waiting for 
>> an available slot to run will also use memory.
>>
>> Also, you could try upgrading to the current development version as I 
>> believe Kern worked on that problem. You should check the change log.
> 
> I think I might at least wait until Kern releases an official beta before
> trying that one out =)

2.1.10 IS kind of a released beta version :-) but the next one is doe 
soon...

Arno


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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 6:11 PM, Ken Gunderson wrote:
> On Mon, 04 Jun 2007 12:26:20 +0200
> Arno Lehmann <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>> On 6/4/2007 2:47 AM, Ken Gunderson wrote:
>>> On Mon, 4 Jun 2007 00:38:00 +0200
>>> Steen <[EMAIL PROTECTED]> wrote:
>>>
 On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
> Hello,
>
> On 5/29/2007 11:44 AM, Steen wrote:
>> Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
> ...
>
>>> To clarify things a bit:
>>>
> [snip]
>> What i'd like to achieve is to set up something which supports voting on 
>> feature request.
>>
>> A feature request has to be stored and presented in a formalized way, 
>> and each voter must be able to enter several weighted votes once per 
>> voting period.
>>
>> If noone finds a suitable solution with some readily available software 
>> I'll start thinking how to implement something myself in a few days.
> 
> Hello Arno:
> 
> What is the present site based on?  Straight html/css or is there some
> CMS backend already in place?  

Well, the site is not managed by me, but as far as I know it's 
hand-written php without any database.

> There are lots of CMS solutions out there, many of wh/look attractive
> on first blush but start showing assorted warts once you start using in
> production.

Yup, just my problem :-)

>  Given this, Plone makes my short list.  It's not a quick
> and dirty solution, however, as it involves setting up (and
> maintaining) Zope application server, ZEO DB backend (not strictly
> necessary but I recommend using for production sites), Plone, various
> Plone "Products" (e.g. Polls), and http proxy front end, so if you're
> looking for relatively "quick" fix then perhaps better off w/something
> php based, particularly if you're also interested in implementing other
> features like forum boards.

Well, I have almost decided that any full-blown CMS will be pure 
overkill for what I want to achieve. Especially given the fact that a 
module for voting like we used it would need to be created anyway...

> 
> Some links (don't go too crazy exploring...):

Fortunately I already explored many of these sites.

> -CMS Matrix
> 
> 
> 
> 
> -Opensource CMS (good place to demo various offerings)
> 
> 
> 
> 
> A couple php based that would make my short list:
> 
> -e107
> 
> 

That one is unknown to me, I'll give it a look.

> -Joomla:
> 
> 

Overweight :-)

> Joomla gives you more eye candy but I prefer e107 (better security
> track record - at least last I checked).
> 
> 
> I've got project deadlines and going to be swamped the next day or
> two.  Afterwards I'll still be pretty busy but should be able to
> squeeze some time.  

Great, I'm thankful for any help I get!

Arno

> 

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature: Reduce Backup Size on RAID

2007-06-04 Thread Ralf Gross
Mark Best schrieb:
> 
> I'm not sure what term is used to describe the feature but basically the
> backup server only saves 1 copy of a file. Using MD5 it checks to see if
> the file is different if its not it considers it to be the same file and
> doesn't backup multiple copies of the file. 
> 
> For example most *nixes have the /bin/ls binary file. Assuming it's the
> same 'ls' that another system has the backup server only keeps 1 copy of
> the binary but 2 entries in the Database - one for each PC. 
> ...

I don't think this is possible with bacula. BackupPC with its pooling
feature could be an alternative (maybe you know BackupPC already).

Ralf

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature: Reduce Backup Size on RAID

2007-06-04 Thread Mark Best
I'm sorry if this question is easily apparent in the Bacula
documentation but I simply can not find a straight answer. 

My boss wants to move away from our current backup system; so I
recommended Bacula. 

He loves the power and cost savings we would receive from Bacula but
will not convert based on one caveat. 

 

I'm not sure what term is used to describe the feature but basically the
backup server only saves 1 copy of a file. Using MD5 it checks to see if
the file is different if its not it considers it to be the same file and
doesn't backup multiple copies of the file. 

For example most *nixes have the /bin/ls binary file. Assuming it's the
same 'ls' that another system has the backup server only keeps 1 copy of
the binary but 2 entries in the Database - one for each PC. 

 

This feature becomes very helpful as we have say 300 workstation all
running WinXP - 2GB of 'system' files. That could results in 'savings'
of ~598GB of hard drive space - not to mention bandwidth on the network.


(Please note: we backup up everything to a Hard Disk RAID not tape; and
have bandwidth constraints.)

 

Can Bacula perform the above feature? 

What PROs and CONs should I make sure he knows about if it can?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature Request: "Reload" Functionality in Storage/File Daemon

2007-06-04 Thread Michael Short
Item 1:   Add "Reload" Functionality to Storage/File Daemon
  Origin: Michael Short <[EMAIL PROTECTED]>
  Date:   2 June 2007
  Status: Non-existent

  What:   The Bacula Storage Daemon and Bacula File Daemon need "reload" 
functionality similar to the Bacula Director. Alternatively, a subroutine 
should be added to circumvent job failure if either daemon were to be restarted 
during a backup.

  Why:This functionality is important because important backup jobs will 
fail if configuration changes are needed in the storage daemon or the file 
daemon.

  Notes:  I would like to added emphasis on the storage daemon side of this 
feature request because usually a configuration change to a file daemon would 
cause a job failure anyways.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Salvaging bad media/sanitizing odd catalog info

2007-06-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey all,

I've got something strange going on here, looks like. Apparently Bacula
had trouble finding the end of the tape on this one. However, it is a
nearly brand new tape. The drive appears as if it may have needed
cleaning, and I wonder if it perhaps wrote a bad file mark at some point
because the drive was dirty (or somehow missed writing one at all). In
any case, something strange is happening. According to my catalog, this
volume contains 4 "volume files". However, btape appears to be able to
find more than this:

# /opt/csw/sbin/btape helios_DDS
Tape block granularity is 1024 bytes.
btape: butil.c:286 Using device: "helios_DDS" for writing.
btape: btape.c:368 open device "helios_DDS" (/dev/rmt/0cbn): OK
*scan
btape: btape.c:1630 Starting scan at file 0
1751 blocks of 64512 bytes in file 0
End of File mark.
2152 blocks of 64512 bytes in file 1
End of File mark.
2256 blocks of 64512 bytes in file 2
End of File mark.
1893 blocks of 64512 bytes in file 3
End of File mark.
542 blocks of 64512 bytes in file 4
End of File mark.
18 blocks of 64512 bytes in file 5
End of File mark.
1830 blocks of 64512 bytes in file 6
End of File mark.
2822 blocks of 64512 bytes in file 7
End of File mark.
btape: btape.c:1637 Bad status from read -1. ERR=btape.c:1636 read error
on /dev/rmt/0cbn. ERR=I/O error.

It looks like there are 7 "good" "files" on there, and that anything
after that is not in a good state, however, I know that only 4 of those
"files" are referenced in my backups. How can I fix this? At the very
least, I'd like to shelve this tape until its next use (in a few weeks),
and make try to make the catalog match the tape. Is bscan appropriate in
this circumstance? How safe is bscan on a tape like this?
- --
  _  _ _  _ ___  _  _  _
 |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.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZD/Xmb+gadEcsb4RAtzqAJ941AcdYu/xkHceyiIIIPbtVbWINACeLLU0
XiWoea1oeFh5jz4gJbpgu/4=
=g5BR
-END PGP SIGNATURE-


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Media Assignment (different Drives)

2007-06-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lonny Selinger wrote:
> - "Ryan Novosielski" <[EMAIL PROTECTED]> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> If you don't want them getting crossed, you need to set two different
>> media types for the two drives. Media type is an arbitrary name and
>> is
>> only used for selection purposes -- it does not have to be an actual
>> media type (DDS4, etc.)
> 
> Ok next question, I'm assuming there's no clean way to reassign the media 
> type to existing volumes? I've just appended a corresponding a or b for Media 
> Type associated with drive a and b but in the database I'll still have the 
> existing media assigned to the original media type. Is it possible (even 
> manually) to change that in the DB and have it not mess up my existing 
> catalog etc?

I'm not sure, actually. Certainly it is possible by SQL, but there may
also be some other way with btape or similar commands. Changing that
stuff carefully with SQL commands shouldn't cause any trouble though as
far as I know. Search the list archives, perhaps -- this one has been
asked before.

Safest bet is just to take a DB backup and give it a shot -- if it
messes anything up, you can always restore the DB pretty quickly.

- --
  _  _ _  _ ___  _  _  _
 |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.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZDuQmb+gadEcsb4RApLMAJ9fhA2OvgyUS3/7hmIaMQalNA39vQCgwwJC
ylaZg/MUTWFLPE66PXW5t/o=
=gdjP
-END PGP SIGNATURE-


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mysteriously failing jobs

2007-06-04 Thread Frank Sweetser
Arno Lehmann wrote:
> Well, this one looks difficult.

At least it's not just me, then =)

> I suggest to monitor the memory usage of your server. I experienced 
> problems with (usually) the DIR or (seldomly) the SD using up all 
> available memory. Wich probably might affect the kernel so that it can't 
> allocate memory for the network stuff.

That would explain why nothing visibly changed.  One or two jobs simply pushed
some internal resource over the magic threshold, and triggered the memory
consumption.

> You should have something in the systems log files then, I suppose.

I didn't find anything that appeared related in the log files.  I have a quick
and dirty system in place to monitor the memory usage of the dir and sd that
I'll run through tonight's jobs, so we'll see how that looks.

> A work around would be to not start all your jobs at once but run them 
> in batches. Lowering job concurrency will not work as a job waiting for 
> an available slot to run will also use memory.
> 
> Also, you could try upgrading to the current development version as I 
> believe Kern worked on that problem. You should check the change log.

I think I might at least wait until Kern releases an official beta before
trying that one out =)

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Ken Gunderson
On Mon, 04 Jun 2007 12:26:20 +0200
Arno Lehmann <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> On 6/4/2007 2:47 AM, Ken Gunderson wrote:
> > On Mon, 4 Jun 2007 00:38:00 +0200
> > Steen <[EMAIL PROTECTED]> wrote:
> > 
> >> On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
> >>> Hello,
> >>>
> >>> On 5/29/2007 11:44 AM, Steen wrote:
>  Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
> >>> ...
> >>>
> > To clarify things a bit:
> >
[snip]
> What i'd like to achieve is to set up something which supports voting on 
> feature request.
> 
> A feature request has to be stored and presented in a formalized way, 
> and each voter must be able to enter several weighted votes once per 
> voting period.
> 
> If noone finds a suitable solution with some readily available software 
> I'll start thinking how to implement something myself in a few days.

Hello Arno:

What is the present site based on?  Straight html/css or is there some
CMS backend already in place?  

There are lots of CMS solutions out there, many of wh/look attractive
on first blush but start showing assorted warts once you start using in
production.  Given this, Plone makes my short list.  It's not a quick
and dirty solution, however, as it involves setting up (and
maintaining) Zope application server, ZEO DB backend (not strictly
necessary but I recommend using for production sites), Plone, various
Plone "Products" (e.g. Polls), and http proxy front end, so if you're
looking for relatively "quick" fix then perhaps better off w/something
php based, particularly if you're also interested in implementing other
features like forum boards.


Some links (don't go too crazy exploring...):

-CMS Matrix




-Opensource CMS (good place to demo various offerings)




A couple php based that would make my short list:

-e107



-Joomla:



Joomla gives you more eye candy but I prefer e107 (better security
track record - at least last I checked).


I've got project deadlines and going to be swamped the next day or
two.  Afterwards I'll still be pretty busy but should be able to
squeeze some time.  


-- 
Best regards,

Ken Gunderson
GPG Key -- 9F5179FD

"Never hold discussions with the monkey when the organ grinder is in
the room." - Sir Winston Churchill

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal Error : unable to authenticate with File Deamon

2007-06-04 Thread Marc-Henri Fernandez
Thanks to your help, I perform a full backup, it is great thank you !
The problem was the domain name of my client. Indeed, the configuration
file called bacula-dir.conf has a wrong address IP at the ressource
client.

Thanks very much



___

Marc Henri Fernandez
Service Informatique
Tourisport company


[EMAIL PROTECTED]
ligne directe : 04 88 66 48 68 – Portable : 06 09 54 77 90 
BP 109 – 13321 Marseille Cedex 16

Voyagez avec des spécialistes
www.clubaventure.fr randonneés & voyages
href="www.sport-away.com">www.sport-away.com destination passion
href="www.femmes-du-monde.com">www.femmes-du-monde.com l'aventure au
féminin
href="www.66nord.com">www.66nord.com le spécialiste des terres polaires






-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Media Assignment (different Drives)

2007-06-04 Thread Lonny Selinger
- "Ryan Novosielski" <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> If you don't want them getting crossed, you need to set two different
> media types for the two drives. Media type is an arbitrary name and
> is
> only used for selection purposes -- it does not have to be an actual
> media type (DDS4, etc.)

Ok next question, I'm assuming there's no clean way to reassign the media type 
to existing volumes? I've just appended a corresponding a or b for Media Type 
associated with drive a and b but in the database I'll still have the existing 
media assigned to the original media type. Is it possible (even manually) to 
change that in the DB and have it not mess up my existing catalog etc?

Thanks again Ryan,

Lonny
 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Media Assignment (different Drives)

2007-06-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If you don't want them getting crossed, you need to set two different
media types for the two drives. Media type is an arbitrary name and is
only used for selection purposes -- it does not have to be an actual
media type (DDS4, etc.)

=R

Lonny Selinger wrote:
> Setup:
> 
> I have 2 DLT drives (a and b) set up to accept jobs dedicated to each drive. 
> Certain types of jobs go to a and certain types go to b and this seems to 
> work fine. The problem I'm running into is having a drive request media in 
> another drive. Both are valid for writing and are in the same pool but for 
> some reason I'll get media mount requests on drive a for the media in drive b 
> and vic/versa. Anyone have any ideas why this might be? The two media ID's 
> aren't full and the upcoming jobs still show that a backup destined for drive 
> b is going to request the media already mounted in a.
> 
> Suggestions greatly appreciated,
> Thanks!
> Lonny
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

- --
  _  _ _  _ ___  _  _  _
 |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.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZB26mb+gadEcsb4RAj2AAKCVX867MEppnejQMtt++ZvRI8QhPQCgre5e
T7ZS0nDP7CVmHZXTX+GMNCs=
=lVMc
-END PGP SIGNATURE-


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Media Assignment (different Drives)

2007-06-04 Thread Lonny Selinger
Setup:

I have 2 DLT drives (a and b) set up to accept jobs dedicated to each drive. 
Certain types of jobs go to a and certain types go to b and this seems to work 
fine. The problem I'm running into is having a drive request media in another 
drive. Both are valid for writing and are in the same pool but for some reason 
I'll get media mount requests on drive a for the media in drive b and 
vic/versa. Anyone have any ideas why this might be? The two media ID's aren't 
full and the upcoming jobs still show that a backup destined for drive b is 
going to request the media already mounted in a.

Suggestions greatly appreciated,
Thanks!
Lonny

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Status

2007-06-04 Thread Kern Sibbald
Hello,

I've been more or less "gone" for the last two to three weeks doing intensive 
debugging and algorithm enhancing in Bacula, so have not been active on the 
email lists.  For the most part, the heavy debugging is now complete.  Here 
is a brief summary of how version 2.1.10 has progressed to where it is today.

- Fought two kernel bugs, one that rendered gdb useless.
- Had two UPS batteries go dead.
- Knocked several old bugs in the PostgreSQL driver that clobbered memory, and
  caused seg faults.  Several of these bugs appeared in only one in 20 
  executions of a particular regression script -- hard to debug.
- Added several new algorithms to the multi-drive autochanger algorithm.
  Hopefully, most if not all of the past problems will now be behind us.
- Implement new reservations system debugging code that permits much
  easier detection of conflicts.
- Fought a lot with PostgreSQL (I won't go into the details here ...).
- Figured out how to speed up SQLite3 by 30 times (increases probability
  of database corruption on sudden power failures).
- Implemented new smartalloc double buffer free detection (trapped a
  PostgreSQL driver bug).
- A bunch of bug fixes (mostly old bugs).
- In the foray, it appears that code that I previously added to switch drives
  during restore now works, which means that Bacula can now restore data
  written to multiple devices (different MediaTypes).  This needs testing and
  confirmation.
- If the above code works well, it will mean that shortly, we can eliminate
  the need for Bacula to move tapes from one autochanger drive to another
  during backups ... :-)

While I was "gone", Dirk was also "gone" on vacation.  At least that is what 
he said -- however, during his vacation, he has added an impressive number of 
new features to bat :-)

I recommend that anyone who is using version 2.1.10 test version 2.1.12, which 
is now in the SVN.  Although it has undergone very extensive testing, a bit 
more is necessary to ensure that recent enhancements to the ./configure 
process have not broken something on Solaris or FreeBSD.

Unless something really unexpected turns up, I will be releasing 2.1.12 for 
BETA testing later this week.

Best regards,

Kern

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Shutdown

2007-06-04 Thread Adam Cécile
Lucio Crusca a écrit :
> I'd like configure Bacula so that it turns off the computer after the SD has 
> finished writing the backup. I'm running Debian GNU/Linux and Bacula 2.0.3. 
> Is there a way to do that?
>
>   
RunAfterCmd ?

-- 
Adam CECILELinbox / Free&ALter Soft
152 rue de Grigy   tél: +33 3 87 50 87 95
Technopôle Metz 2000   fax: +33 3 87 75 19 26   
57070 METZ - Francehttp://www.linbox.com


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Shutdown

2007-06-04 Thread Lucio Crusca
I'd like configure Bacula so that it turns off the computer after the SD has 
finished writing the backup. I'm running Debian GNU/Linux and Bacula 2.0.3. 
Is there a way to do that?

-- 
Virtual Bit di Lucio Crusca
via Isonzo, 5
10069 - Villar Perosa (TO)
http://virtualbit.sulweb.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Martin Simmons
> On Mon, 04 Jun 2007 12:26:20 +0200, Arno Lehmann said:
> 
> Hi,
> 
> On 6/4/2007 2:47 AM, Ken Gunderson wrote:
> > On Mon, 4 Jun 2007 00:38:00 +0200
> > Steen <[EMAIL PROTECTED]> wrote:
> > 
> >> On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
> >>> Hello,
> >>>
> >>> On 5/29/2007 11:44 AM, Steen wrote:
>  Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
> >>> ...
> >>>
> To clarify things a bit:
> >
> Currently, I only plan to manage the feature requests and the voting
> process.
> >
> For that purpose, I'm looking for a solution to collect and present
> feature requests, preferrably in the format they are in now (i.e.
> Description, detailed notes, status and people working on it). The
> voting functionality should be included, so that, for each voting
> period, any (registered) user can vote for a number of features, can
> assign weights to the votes, and the solution adds the votes up
> correctly.
> >
> I'm not too eager to install a complete CMS plus add-ons, or bugzilla,
> or something similarly oversized. As of now, I don't see an out-of-the
> box solution, and I think that creating a tailored voting solution would
> not be unrealistic, but I'm still open for suggestions.
> >
> Arno
>  I have a plone server - I have no experience with the polling/voting
>  products, but there are a few:
> >>> Thanks for the suggestions!
> >>>
>  http://www.contentmanagementsoftware.info/plone/PlonePopoll
> >>> This one allows users to vote for an answer out of a prepared list. For
> >>> us, that would meant that I'd have to prepare a list of all feature
> >>> requests for the voting, each user could only vote for one feature, and
> >>> weigthed votes would not be possible.
> >>>
>  http://plone.org/products/rating-engine
> >>> No released files, and no usable example. The description sounds good,
> >>> though.
> >>>
>  http://www.contentmanagementsoftware.info/plone/usability-issue-tracker
>  and more:
>  http://plone.org/products/by-category/poll
> >>> Hmmm... I found ploneSurvey, but there is no usable documentation.
> >>>
>  It is normally quite easy to install a product, and also very easy to add
>  a new site to the server and do some minor adaptations to the looks -
>  clolour, logo etc
> 
>  So asuming that there will not be heavy traffic I could host the list if
>  you should favour that - only I'm in the process of upgrading the server
>  - so it will only be possible to go into production some weeks from now
> >>> That would not be a problem, I think... would you be willing to install
> >>> the rating-engine plugin for testing purposes?
> >>>
> >>> Arno
> >> I tried, but there were errors. Maybe my plone version is too old, I will 
> >> try 
> >> to install on the new server  - see if installs there.
> >>
> >> -- 
> >> Regards
> > 
> > I'm pretty familiar w/Plone.  Just resubscribed to this list, however,
> > so not up on what you're objectives are here in this thread. Feel free
> > to contact me off list if you'd like to elaborate.
> 
> What i'd like to achieve is to set up something which supports voting on 
> feature request.
> 
> A feature request has to be stored and presented in a formalized way, 
> and each voter must be able to enter several weighted votes once per 
> voting period.
> 
> If noone finds a suitable solution with some readily available software 
> I'll start thinking how to implement something myself in a few days.

Here is a feature request for the voting system: separate voting for simple
and complex requests.

I know these terms are somewhat imprecise, but I found it difficult to vote
for my "top 5" last time when minor tweaks were mixed with major projects.

__Martin

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Mikael Kermorgant


> I'm pretty familiar w/Plone.  Just resubscribed to this list, however,
> so not up on what you're objectives are here in this thread. Feel free
> to contact me off list if you'd like to elaborate.

What i'd like to achieve is to set up something which supports voting on
feature request.

A feature request has to be stored and presented in a formalized way,
and each voter must be able to enter several weighted votes once per
voting period.

If noone finds a suitable solution with some readily available software
I'll start thinking how to implement something myself in a few days.

Arno



Hello,

After googling a bit, I thought this could be interesting :

http://forum.utorrent.com/viewtopic.php?id=2399
http://utorrent.nitescifi.com/ (punbbb forum based feature request
management)


Regards,

--
Mikael Kermorgant
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal Error : unable to authenticate with File Deamon

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 10:32 AM, Marc-Henri Fernandez wrote:
>   Hi,
> 
> On windows client, I must run the FD with the wx-console

No. The FD is run as a service, wxconsle is only an interface to the DIR 
running elsewhere.

> (graphic 
> interface) and when I run a backup called 'serveur-bd.tourisport.fr' 
> there is the error :
> 
> 04-Jun 10:11 serveur-backup-ubuntu-dir: Start Backup JobId 144, 
> Job=serveur-bd.tourisport.fr.2007-06-04_10.11.31
> 04-Jun 10:11 serveur-backup-ubuntu-dir: 
> serveur-bd.tourisport.fr.2007-06-04_10.11.31 Fatal error: Unable to 
> authenticate with File daemon. Possible causes:
> Passwords or names not the same or
> Maximum Concurrent Jobs exceeded on the FD or
> FD networking messed up (restart daemon).
> Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors 
> for help.
> Concerning the firewall, on ubuntu, I check iptables and there is no 
> rules and the policy is ACCEPT for the three chains : INPUT, OUTPUT and 
> FORWARD
> 
> I don't have a firewall on the 'windows 2000 server' client.

Is the FD actually running?
Can you connect to it using telnet from the DIR server?

Arno

> 
> Thanks a lot
> 
> 
> ___
> 
> *Marc Henri Fernandez
> Service Informatique*
> 
> 
> Tourisport company
> 
> 
> [EMAIL PROTECTED]
> ligne directe : *04 88 66 48 68* – Portable : *06 09 54 77 90 *
> BP 109 – 13321 Marseille Cedex 16
> 
> Voyagez avec des spécialistes
> www.clubaventure.fr randonneés & voyages
> www.sport-away.com destination passion
> www.femmes-du-monde.com l'aventure au féminin
> www.66nord.com le spécialiste des terres polaires
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> 
> 
> ___
> 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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] voting

2007-06-04 Thread Arno Lehmann
Hi,

On 6/4/2007 2:47 AM, Ken Gunderson wrote:
> On Mon, 4 Jun 2007 00:38:00 +0200
> Steen <[EMAIL PROTECTED]> wrote:
> 
>> On Tuesday 29 May 2007 12:46:22 Arno Lehmann wrote:
>>> Hello,
>>>
>>> On 5/29/2007 11:44 AM, Steen wrote:
 Mandag 28 maj 2007 13:44 skrev Arno Lehmann:
>>> ...
>>>
> To clarify things a bit:
>
> Currently, I only plan to manage the feature requests and the voting
> process.
>
> For that purpose, I'm looking for a solution to collect and present
> feature requests, preferrably in the format they are in now (i.e.
> Description, detailed notes, status and people working on it). The
> voting functionality should be included, so that, for each voting
> period, any (registered) user can vote for a number of features, can
> assign weights to the votes, and the solution adds the votes up
> correctly.
>
> I'm not too eager to install a complete CMS plus add-ons, or bugzilla,
> or something similarly oversized. As of now, I don't see an out-of-the
> box solution, and I think that creating a tailored voting solution would
> not be unrealistic, but I'm still open for suggestions.
>
> Arno
 I have a plone server - I have no experience with the polling/voting
 products, but there are a few:
>>> Thanks for the suggestions!
>>>
 http://www.contentmanagementsoftware.info/plone/PlonePopoll
>>> This one allows users to vote for an answer out of a prepared list. For
>>> us, that would meant that I'd have to prepare a list of all feature
>>> requests for the voting, each user could only vote for one feature, and
>>> weigthed votes would not be possible.
>>>
 http://plone.org/products/rating-engine
>>> No released files, and no usable example. The description sounds good,
>>> though.
>>>
 http://www.contentmanagementsoftware.info/plone/usability-issue-tracker
 and more:
 http://plone.org/products/by-category/poll
>>> Hmmm... I found ploneSurvey, but there is no usable documentation.
>>>
 It is normally quite easy to install a product, and also very easy to add
 a new site to the server and do some minor adaptations to the looks -
 clolour, logo etc

 So asuming that there will not be heavy traffic I could host the list if
 you should favour that - only I'm in the process of upgrading the server
 - so it will only be possible to go into production some weeks from now
>>> That would not be a problem, I think... would you be willing to install
>>> the rating-engine plugin for testing purposes?
>>>
>>> Arno
>> I tried, but there were errors. Maybe my plone version is too old, I will 
>> try 
>> to install on the new server  - see if installs there.
>>
>> -- 
>> Regards
> 
> I'm pretty familiar w/Plone.  Just resubscribed to this list, however,
> so not up on what you're objectives are here in this thread. Feel free
> to contact me off list if you'd like to elaborate.

What i'd like to achieve is to set up something which supports voting on 
feature request.

A feature request has to be stored and presented in a formalized way, 
and each voter must be able to enter several weighted votes once per 
voting period.

If noone finds a suitable solution with some readily available software 
I'll start thinking how to implement something myself in a few days.

Arno

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] excluding files?

2007-06-04 Thread Arno Lehmann
Hi,

On 6/2/2007 6:26 PM, mikee wrote:
> I know how to exclude files that have an absolute path.
> How do I exclude any *.a|*.o|*.dynlib|*.lib|*.so that is
> in the home directories of my users (/home/.../*.a)?

With an options section. Use a wild card path or regular expression, and 
set "Exclude=Yes".

Getting this working can be a challenge as you have to observe the order 
of options sections in the file set.

Use the 'estimate listing' command to see if you get this set up, and if 
you experience problems as again!

Arno

> Mike
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> 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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mysteriously failing jobs

2007-06-04 Thread Arno Lehmann
Hi,

On 6/2/2007 7:43 AM, Frank Sweetser wrote:
> A couple of weeks ago, a problem started cropping up.  Jobs started failing
> with what look like network errors:
> 
> 02-Jun 01:10 lorien-sd: gkar-daily.2007-06-02_01.05.02 Fatal error:
> append.c:259 Network error on data channel. ERR=Input/output error
> 02-Jun 01:10 lorien-sd: Job write elapsed time = 00:03:16, Transfer rate =
> 4.157 M bytes/second
> 02-Jun 01:10 lorien-sd: gkar-daily.2007-06-02_01.05.02 Error: bnet.c:280 Read
> expected 65536 got 16384 from client:130.215.39.18:36643
> 02-Jun 01:10 lorien-dir: gkar-daily.2007-06-02_01.05.02 Fatal error: Network
> error with FD during Backup: ERR=No data available
> 02-Jun 01:10 lorien-dir: gkar-daily.2007-06-02_01.05.02 Fatal error: No Job
> status returned from FD.
> 02-Jun 01:10 lorien-dir: gkar-daily.2007-06-02_01.05.02 Error: Bacula 2.0.3
> (06Mar07): 02-Jun-2007 01:10:40
> 
> 
> However, I can find no evidence of any actual network problem between the
> machine running the fd and the one running both the sd and dir:
> 
>  - The network monitoring system shows no outages, and none of the switches
> and routers in between show anything out of the ordinary in the logs.
> 
>  - There is no external firewall between the two system.  Both ends are linux
> 2.6 with iptables, with non-stateful rules for all bacula traffic.
> 
>  - IP flow logs show that both ends of the FD -> SD TCP connection
> ungracefully closed down the stream with a RST after a very short idle period
> of about 10 seconds.
> 
>  - I've already tried swapping to a different NIC on the server to rule out a
> dying network card.
> 
>  - The failure occurs on different machines, ruling out something specific to
> one client, though it usually appears to affect the same one.  More
> specifically, it always seems to die around the same time - about ten minutes
> after the batch of nightly jobs start.  I have things configured to run four
> concurrent jobs, and the failures will cancel anywhere from one to four jobs.
>  When multiple jobs die, they all do so at the same time.  I can influence
> which clients get picked on by shuffling around priorities.

Well, this one looks difficult.

I suggest to monitor the memory usage of your server. I experienced 
problems with (usually) the DIR or (seldomly) the SD using up all 
available memory. Wich probably might affect the kernel so that it can't 
allocate memory for the network stuff.

You should have something in the systems log files then, I suppose.

A work around would be to not start all your jobs at once but run them 
in batches. Lowering job concurrency will not work as a job waiting for 
an available slot to run will also use memory.

Also, you could try upgrading to the current development version as I 
believe Kern worked on that problem. You should check the change log.

Hope you get this fixed,

Arno

>  - Running the failed job - either by itself or queued up with a bunch of
> other ones - always appear to work as expected.
> 
> The part *really* driving me bonkers is that I can find no evidence of any
> changes that coincide with the problem starting.  Bacula version, kernel
> version, hardware, network - nothing was changed.
> 
> If anyone has any suggestions where I could start looking, I'd love to hear 
> them.
> 

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal Error : unable to authenticate with File Deamon

2007-06-04 Thread Marc-Henri Fernandez
Hi,

On windows client, I must run the FD with the wx-console (graphic
interface) and when I run a backup called 'serveur-bd.tourisport.fr'
there is the error :

04-Jun 10:11 serveur-backup-ubuntu-dir: Start Backup JobId 144,
Job=serveur-bd.tourisport.fr.2007-06-04_10.11.31
04-Jun 10:11 serveur-backup-ubuntu-dir:
serveur-bd.tourisport.fr.2007-06-04_10.11.31 Fatal error: Unable to
authenticate with File daemon. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors
for help.

Concerning the firewall, on ubuntu, I check iptables and there is no
rules and the policy is ACCEPT for the three chains : INPUT, OUTPUT and
FORWARD

I don't have a firewall on the 'windows 2000 server' client.


Thanks a lot


___

Marc Henri Fernandez
Service Informatique
Tourisport company


[EMAIL PROTECTED]
ligne directe : 04 88 66 48 68 – Portable : 06 09 54 77 90 
BP 109 – 13321 Marseille Cedex 16

Voyagez avec des spécialistes
www.clubaventure.fr randonneés & voyages
href="www.sport-away.com">www.sport-away.com destination passion
href="www.femmes-du-monde.com">www.femmes-du-monde.com l'aventure au
féminin
href="www.66nord.com">www.66nord.com le spécialiste des terres polaires






-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems labelling and writing to tape.

2007-06-04 Thread Dragos Gheorghe

hi,

same problem here using a dell tape drive, not sure of specifics right 
now because its on a remote server but i can ask for them

did you find any fix to this? i can do those rectest and write a label 
ok, but others fail
btape runs as root, should be ok, also bacula is in the tape group

ill get back with further info if required

Emery Guevremont wrote:
>
>
> Alan Brown wrote:
>> On Fri, 13 Apr 2007, Emery Guevremont wrote:
>>
> 13-Apr 13:54 btape: btape Fatal error: Attempt to write on 
> read-only Volume.
 Isn't the above clear?
>>> I understand that's what bacula is saying, except the tape isn't set 
>>> in read-only.
>>
>> You will have the same effect if the userid accessing the tape drive 
>> is only able to get read-access.
>>
>> Check ownership and permissions.
>
> I know this isn't causing the problem, because not all the tapes are 
> causing this. IMHO I really think the problem is with the tape drive 
> itself. Except at this point there's no certain way for me to prove this.
>
> I was just hoping that someone might enlighten me on some other ways 
> to debug this, since everyone here has got some experience with all 
> sorts of hardware.
>
> Anyway, thanks for the help guys.
>
>>
>>
>> - 
>>
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
> 
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>   


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users