Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Ryan Novosielski
Sounds to me like the media are going bad or your drive is dirty. Clean
your drive and possibly try a brand new tape.

deann corum wrote:

> We're using Bacula 1.36.3 (yea, I know - old) on CentOS 3 (yea, I know
> - old) with AIT3 tapes (which store about 150 GB each) in an 8-tape
> changer (Sony Stor-Station LIB-81).
>
> Suddenly, Bacula has started marking tapes as 'Full' when only a few
> files have been written to them and only a few GB. We haven't changed
> anything on the system or any settings recently. Below are examples of
> what I'm seeing on three of the tapes that Bacula has marked as Full:
>
> Tape 1:   10,788,852,486 |  12 files - about 10-11 GB
> Tape 2:1,026,192,264 |  1 file - about 1 GB
> Tape 3:5,899,324,539 |  25 files - about 6 GB
>
> Having used Bacula for a while, I know these tapes hold much more data
> than that and this is absolutely not right.
>
> These are previously used Bacula tapes which have had the index erased
> (weof). We recycle them after a period of time, but have never had a
> problem with this. In my syslog file I see:
>
> pr 11 01:46:39 stash st0: Error with sense data: Info fld=0x1b,
> Current st09:00: sense key Medium Error
> Apr 11 01:46:39 stash Additional sense indicates Write error
>
> I can see that the drive doesn't like the tapes but am not sure why it
> suddenly can't write to them beyond a certain point. Anyone have any
> possible explanations for this?
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-12 Thread Stefan Schwietert
Am 10.04.2006 um 21:08 schrieb Bill Moran:Well.  I'm having some problems and I hope you can help me.  configuresucceeds, although I used a slightly different set of options:./configure \--enable-smartalloc \--sbindir=/usr/sbin \--with-pid-dir=/var/run \--with-subsys-dir=/var/run/subsys \--with-working-dir=/etc/bacula/working \--enable-client-only \--with-dir-password=  \--with-sd-password= \--with-fd-password= \--with-job-email=[snip] \--with-smtp-host=[snip] \--with-baseport=9101My options were ./configure --enable-client-onlyThe rest defaults.DT is installed, and I created the directories you mentioned, but I getthe following output during make:==>Entering directory /Users/bill/bacula-1.38.7/src/filed/usr/bin/g++   -c     -I. -I..  -g -O2 -Wall  filed.c/usr/bin/g++   -c     -I. -I..  -g -O2 -Wall  authenticate.c/usr/bin/g++   -c     -I. -I..  -g -O2 -Wall  acl.cacl.c:164:21: sys/acl.h: No such file or directoryThis is the hint. The compiler doesn't find the include files. Check the paths in the make file.You tell us you have the developer tools installed. Perhaps something failed?I compiled it successful under 10.3 and 10.4 without problems. It was just a little bit tricky to create a configuration for launchd. Stefan --  Stefan Schwietert Systembetreuer Ulmer Volkshochschule  

Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Erik P. Olsen

Ryan Novosielski wrote:

Sounds to me like the media are going bad or your drive is dirty. Clean
your drive and possibly try a brand new tape.


Probably not. I have had the same experience with brand new tapes and a cleaned 
tape drive. See thread: When is a tape "Full"?).


My last hypothesis is that it is due to using h/w compression. After I've 
changed back to s/w compression I have not seen this phenomenon. When that said, 
my tape device is DSS-4 from Seagate (Certance) and no tape changer, sp it could 
very well be a different case with same symptoms.




deann corum wrote:


We're using Bacula 1.36.3 (yea, I know - old) on CentOS 3 (yea, I know
- old) with AIT3 tapes (which store about 150 GB each) in an 8-tape
changer (Sony Stor-Station LIB-81).

Suddenly, Bacula has started marking tapes as 'Full' when only a few
files have been written to them and only a few GB. We haven't changed
anything on the system or any settings recently. Below are examples of
what I'm seeing on three of the tapes that Bacula has marked as Full:

Tape 1:   10,788,852,486 |  12 files - about 10-11 GB
Tape 2:1,026,192,264 |  1 file - about 1 GB
Tape 3:5,899,324,539 |  25 files - about 6 GB

Having used Bacula for a while, I know these tapes hold much more data
than that and this is absolutely not right.

These are previously used Bacula tapes which have had the index erased
(weof). We recycle them after a period of time, but have never had a
problem with this. In my syslog file I see:

pr 11 01:46:39 stash st0: Error with sense data: Info fld=0x1b,
Current st09:00: sense key Medium Error
Apr 11 01:46:39 stash Additional sense indicates Write error

I can see that the drive doesn't like the tapes but am not sure why it
suddenly can't write to them beyond a certain point. Anyone have any
possible explanations for this?



--
Regards,
Erik P. Olsen.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Diogo Melo
Have you tried to use the command "mt -f /dev/st0 erase" ? I think this will ensure that all data of the tape has been erased, including the eof marks.2006/4/12, Erik P. Olsen <
[EMAIL PROTECTED]>:Ryan Novosielski wrote:> Sounds to me like the media are going bad or your drive is dirty. Clean
> your drive and possibly try a brand new tape.Probably not. I have had the same experience with brand new tapes and a cleanedtape drive. See thread: When is a tape "Full"?).My last hypothesis is that it is due to using h/w compression. After I've
changed back to s/w compression I have not seen this phenomenon. When that said,my tape device is DSS-4 from Seagate (Certance) and no tape changer, sp it couldvery well be a different case with same symptoms.
>> deann corum wrote:>>> We're using Bacula 1.36.3 (yea, I know - old) on CentOS 3 (yea, I know>> - old) with AIT3 tapes (which store about 150 GB each) in an 8-tape>> changer (Sony Stor-Station LIB-81).
 Suddenly, Bacula has started marking tapes as 'Full' when only a few>> files have been written to them and only a few GB. We haven't changed>> anything on the system or any settings recently. Below are examples of
>> what I'm seeing on three of the tapes that Bacula has marked as Full: Tape 1:   10,788,852,486 |  12 files - about 10-11 GB>> Tape 2:1,026,192,264 |  1 file - about 1 GB
>> Tape 3:5,899,324,539 |  25 files - about 6 GB Having used Bacula for a while, I know these tapes hold much more data>> than that and this is absolutely not right.>>
>> These are previously used Bacula tapes which have had the index erased>> (weof). We recycle them after a period of time, but have never had a>> problem with this. In my syslog file I see:
 pr 11 01:46:39 stash st0: Error with sense data: Info fld=0x1b,>> Current st09:00: sense key Medium Error>> Apr 11 01:46:39 stash Additional sense indicates Write error>>
>> I can see that the drive doesn't like the tapes but am not sure why it>> suddenly can't write to them beyond a certain point. Anyone have any>> possible explanations for this?>>
--Regards,Erik P. Olsen.---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___Bacula-users mailing listBacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Deann Corum
I haven't tried that, but I will. If  I can determine that this solves 
the problem I'll report back to the list.


Thanks!

Deann

Diogo Melo wrote:
Have you tried to use the command "mt -f /dev/st0 erase" ? I think 
this will ensure that all data of the tape has been erased, including 
the eof marks.



2006/4/12, Erik P. Olsen < [EMAIL PROTECTED] >:

Ryan Novosielski wrote:
> Sounds to me like the media are going bad or your drive is
dirty. Clean
> your drive and possibly try a brand new tape.

Probably not. I have had the same experience with brand new tapes
and a cleaned
tape drive. See thread: When is a tape "Full"?).

My last hypothesis is that it is due to using h/w compression.
After I've
changed back to s/w compression I have not seen this phenomenon.
When that said,
my tape device is DSS-4 from Seagate (Certance) and no tape
changer, sp it could
very well be a different case with same symptoms.

>
> deann corum wrote:
>
>> We're using Bacula 1.36.3 (yea, I know - old) on CentOS 3 (yea,
I know
>> - old) with AIT3 tapes (which store about 150 GB each) in an 8-tape
>> changer (Sony Stor-Station LIB-81).
>>
>> Suddenly, Bacula has started marking tapes as 'Full' when only
a few
>> files have been written to them and only a few GB. We haven't
changed
>> anything on the system or any settings recently. Below are
examples of
>> what I'm seeing on three of the tapes that Bacula has marked as
Full:
>>
>> Tape 1:   10,788,852,486 |  12 files - about 10-11 GB
>> Tape 2:1,026,192,264 |  1 file - about 1 GB
>> Tape 3:5,899,324,539 |  25 files - about 6 GB
>>
>> Having used Bacula for a while, I know these tapes hold much
more data
>> than that and this is absolutely not right.
>>
>> These are previously used Bacula tapes which have had the index
erased
>> (weof). We recycle them after a period of time, but have never
had a
>> problem with this. In my syslog file I see:
>>
>> pr 11 01:46:39 stash st0: Error with sense data: Info fld=0x1b,
>> Current st09:00: sense key Medium Error
>> Apr 11 01:46:39 stash Additional sense indicates Write error
>>
>> I can see that the drive doesn't like the tapes but am not sure
why it
>> suddenly can't write to them beyond a certain point. Anyone
have any
>> possible explanations for this?
>>

--
Regards,
Erik P. Olsen.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the
live webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/bacula-users






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Deann Corum
That was one thing I did think of and I did put in a cleaning tape and 
ran it through. Will see if that clears it up.
I have trouble believing that 3-4 tapes were bad or corrupt all at once 
so not sure that's the problem but I suppose stranger things have happened.


Deann

Ryan Novosielski wrote:

Sounds to me like the media are going bad or your drive is dirty. Clean
your drive and possibly try a brand new tape.

deann corum wrote:

  

We're using Bacula 1.36.3 (yea, I know - old) on CentOS 3 (yea, I know
- old) with AIT3 tapes (which store about 150 GB each) in an 8-tape
changer (Sony Stor-Station LIB-81).

Suddenly, Bacula has started marking tapes as 'Full' when only a few
files have been written to them and only a few GB. We haven't changed
anything on the system or any settings recently. Below are examples of
what I'm seeing on three of the tapes that Bacula has marked as Full:

Tape 1:   10,788,852,486 |  12 files - about 10-11 GB
Tape 2:1,026,192,264 |  1 file - about 1 GB
Tape 3:5,899,324,539 |  25 files - about 6 GB

Having used Bacula for a while, I know these tapes hold much more data
than that and this is absolutely not right.

These are previously used Bacula tapes which have had the index erased
(weof). We recycle them after a period of time, but have never had a
problem with this. In my syslog file I see:

pr 11 01:46:39 stash st0: Error with sense data: Info fld=0x1b,
Current st09:00: sense key Medium Error
Apr 11 01:46:39 stash Additional sense indicates Write error

I can see that the drive doesn't like the tapes but am not sure why it
suddenly can't write to them beyond a certain point. Anyone have any
possible explanations for this?






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Ryan Novosielski
Well, if they are all the same age and have been written to roughly an 
equal number of times, that might be a possibility. I have had a few go at 
around the same time (not simultaneously, but within a week or so of each 
other).


I would have a little bit of trouble believing that HW compression is the 
cause either, considering IIRC you said this is a setup that was working 
for awhile with no changes (unless the tape drive is just on its way out 
and is having trouble doing compression -- not a failure mode in my 
experience anyway).


  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - User Support Spec. III
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630

On Wed, 12 Apr 2006, Deann Corum wrote:

That was one thing I did think of and I did put in a cleaning tape and ran it 
through. Will see if that clears it up.
I have trouble believing that 3-4 tapes were bad or corrupt all at once so 
not sure that's the problem but I suppose stranger things have happened.


Deann

Ryan Novosielski wrote:

Sounds to me like the media are going bad or your drive is dirty. Clean
your drive and possibly try a brand new tape.

deann corum wrote:



We're using Bacula 1.36.3 (yea, I know - old) on CentOS 3 (yea, I know
- old) with AIT3 tapes (which store about 150 GB each) in an 8-tape
changer (Sony Stor-Station LIB-81).

Suddenly, Bacula has started marking tapes as 'Full' when only a few
files have been written to them and only a few GB. We haven't changed
anything on the system or any settings recently. Below are examples of
what I'm seeing on three of the tapes that Bacula has marked as Full:

Tape 1:   10,788,852,486 |  12 files - about 10-11 GB
Tape 2:1,026,192,264 |  1 file - about 1 GB
Tape 3:5,899,324,539 |  25 files - about 6 GB

Having used Bacula for a while, I know these tapes hold much more data
than that and this is absolutely not right.

These are previously used Bacula tapes which have had the index erased
(weof). We recycle them after a period of time, but have never had a
problem with this. In my syslog file I see:

pr 11 01:46:39 stash st0: Error with sense data: Info fld=0x1b,
Current st09:00: sense key Medium Error
Apr 11 01:46:39 stash Additional sense indicates Write error

I can see that the drive doesn't like the tapes but am not sure why it
suddenly can't write to them beyond a certain point. Anyone have any
possible explanations for this?






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HELP - where are my jobs?

2006-04-12 Thread Emery Guevremont

Martin Simmons wrote:

On Fri, 07 Apr 2006 10:43:30 -0400, Emery Guevremont <[EMAIL PROTECTED]> said:
I have a weird problem. I'm trying to restore some files from a tape 
backup taken a few months ago.


The problem is that the files aren't on the tape. If I use the query 
command in bconsole to find out which tape has the files, it says the 
files are on tape GKN079. If I check the "last date written" field for 
tape GKN079 it says Dec. 23rd 2005. I can also confirm the files I'm 
trying to restored when backed up on dec. 18 and dec. 20.


Now when I use the bls command to list the different jobs contained on 
the tape, it stops at a job done on dec. 15. This is the last entry from 
my bls command:


JobId : 9417
VerNum: 11
PoolName  : BDDump
PoolType  : Backup
JobName   : VMDBDmaitre-BDDump
ClientName: vmdbdmaitre-fd
Job (unique name) : VMDBDmaitre-BDDump.2005-12-14_20.05.11
FileSet   : BDDump-fs
JobType   : B
JobLevel  : I
JobFiles  : 531
JobBytes  : 5,129,941,915
StartBlock: 0
EndBlock  : 4,463
StartFile : 55
EndFile   : 54
JobErrors : 0
JobStatus : T
Date written  : 15-Dec-2005 08:15
bls: Got EOF at file 61  on device /dev/nst0, Volume "GKN079"
bls: End of Volume at file 61 on device /dev/nst0, Volume "GKN079"
bls: End of all volumes.
End of physical tape.

What I'm wondering is where are the jobs that were done between dec. 15, 
2005 and dec. 23, 2005?


I've also used the bls command to list the files on tape and the last 
file on tape dates back to dec. 15. Here's how bls end after listing my 
files:


End Session Record: VolSessionId=153 VolSessionTime=1134158972 
JobId=9417 DataLen=209

bls: Got EOF at file 61  on device /dev/nst0, Volume "GKN079"
bls: End of Volume at file 61 on device /dev/nst0, Volume "GKN079"
bls: End of all volumes.
Unknown Record: VolSessionId=0 VolSessionTime=0 JobId=0 DataLen=0
4417 files found.

What does unknown record mean?

Whether I look at the logs or on bconsole, no errors ever happened with 
the backups between dec. 15 and dec. 23. Everything indicates my backups 
should be on tape GKN079, but I don't see it on the tape. Is the tape 
dying? BTW I also tried reading the tape on a different drive, and I got 
the same result.


I suggest you post the output of running

select * from jobmedia where mediaid=xx;

from the bconsole sql command, where xx is the mediaid of GKN079.  Also, what
is the jobid of the job you are trying to restore?

__Martin



The jobid of the job in question is 9580. I've attached a file that
contains the output from the sql query. The problem starts from jobid 
9435. Every jobs after 8435 aren't available. One thing I noticed is 
that there's no start or end file number 61, it skips from 60 to 62. 
Could this be causing the problem? If so, how do I force bextract to 
skip fileid 61?



Entering SQL query mode.
Terminate each query with a semicolon.
Terminate query mode with a blank line.
Enter SQL query: 
++---+-++---+---+-++--+--+
| JobMediaId | JobId | MediaId | FirstIndex | LastIndex | StartFile | EndFile | 
StartBlock | EndBlock | VolIndex |
++---+-++---+---+-++--+--+
| 37,580 | 9,411 |  84 |  1 |   538 |40 |  40 | 
 0 |1,632 |   22,444 |
| 38,031 | 9,521 |  84 |  1 |   114 |   166 | 166 | 
 0 |   14,704 |   22,876 |
| 38,202 | 9,548 |  84 |  1 |   274 |   184 | 184 | 
 0 |  822 |   23,043 |
| 38,603 | 9,629 |  84 |  1 |   750 |   262 | 262 | 
 0 |   15,004 |   23,431 |
| 38,440 | 9,598 |  84 |  1 |90 |   215 | 215 | 
 0 |8,702 |   23,274 |
| 38,439 | 9,597 |  84 |  1 |84 |   214 | 214 | 
 0 |5,799 |   23,273 |
| 37,458 | 9,382 |  84 |  1 |   169 | 4 |   4 | 
 0 |  552 |   22,326 |
| 38,313 | 9,575 |  84 |  1 |   529 |   202 | 202 | 
 0 |2,176 |   23,150 |
| 38,455 | 9,602 |  84 |  1 |   753 |   230 | 230 | 
 0 |   14,969 |   23,288 |
| 37,454 | 9,378 |  84 |  7 |   298 | 0 |   0 | 
 1 |2,664 |   22,323 |
| 37,455 | 9,379 |  84 |  1 |44 | 1 |   1 | 
 0 |  253 |   22,324 |
| 37,456 | 9,380 |  84 |  1 |43 | 2 |   2 | 
 0 |  392 |   22,325 |
| 37,459 | 9,382 |  84 |169 |   697 | 5 |   5 | 
 0 |   15,499 |   22,327 |
| 37,460 | 9,382 |  84 |697 |   698 | 6 |

Re: [Bacula-users] Restore more than one client

2006-04-12 Thread Leonardo dos Santos Goldim




here are my *.conf:

-> bacula-dir.conf
Director {    # define myself
  Name = smart09-dir
  DIRport = 9101    # where we listen for UA connections
  DirAddress = 10.0.0.151
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 1
  Password = "*" # Console password
  Messages = Daemon
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = smart09-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}

Job {
  Name = "Smart09"
  JobDefs = "DefaultJob"
  Pool = smart09
  FileSet = "Backup Cfg"
  Write Bootstrap = "/var/bacula/working/Smart09.bsr"
}

Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula 12qwaszx"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=smart09-fd
  FileSet="Full Set"
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /home/backup/restore
}

FileSet {
  Name = "Full Set"
  Include {
    Options {
  signature = MD5
  compression = GZIP
    }
    File = /usr/src/bacula-1.38.7
  }
  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}

FileSet {
  Name = "Backup Cfg"
  Include {
    Options {
  signature = MD5
  compression = GZIP
    }
    File = /etc/
  }
  Exclude {
    File = /etc/samba/profiles
  }
}

Schedule {
  Name = "WeeklyCycle"
  Run = Full mon at 13:05
  Run = Incremental tue-fri at 13:05
}

Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full mon-fri at 13:10
}

FileSet {
  Name = "Catalog"
  Include {
    Options {
  signature = MD5
    }
    File = /var/bacula/working/bacula.sql
  }
}

Client {
  Name = smart09-fd
  Address = smart09
  FDPort = 9102
  Catalog = smart09
  Password = "8HBW1A5iYQQbSmrAX9NvY4tzVpiPWwmaGg+cXg+/06GO"  # password for FileDaemon
  File Retention = 10 days    # 30 days
  Job Retention = 6 months    # six months
  AutoPrune = yes # Prune expired Jobs/Files
}

Storage {
  Name = File
  Address = smart09    # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xx0LAAwy/7BspJTdsYWXrEYCB//Ro6I91OdbCutaq8sP"
  Device = FileStorage
  Media Type = File
}

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1 # specifies that each volume is to be used only once.
  Label Format = "Backup-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

Pool {
  Name = smart09
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1 # specifies that each volume is to be used only once.
  Label Format = "Smart09-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

Catalog {
  Name = smart09
  dbname = bacula; user = bacula; password = "12qwaszx"
}

Messages {
  Name = Standard
  mailcommand = "/sbin/bsmtp -h smtp.intranetworks.com.br -s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/sbin/bsmtp -h smtp.intranetworks.com.br -s \"Bacula: Intervention needed for %j\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped
  operator = [EMAIL PROTECTED] = mount
  console = all, !skipped, !saved
  append = "/var/bacula/working/log" = all, !skipped
}

Messages {
  Name = Daemon
  mailcommand = "/sbin/bsmtp -h smtp.intranetworks.com.br -s \"Bacula daemon message\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped
  console = all, !skipped, !saved
  append = "/var/bacula/working/log" = all, !skipped
}

Console {
  Name = smart09-mon
  Password = "*"
  CommandACL = status, .status
}


-> bacula-fd.conf:
Director {
  Name = smart09-dir
  Password = "*"
}

Director {
  Name = smart09-mon
  Password = "*"
  Monitor = yes
}

FileDaemon {  # this is me
  Name = smart09-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /var/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}

Messages {
  Name = Standard
  director = smart09-dir = all, !skipped, !restored
}


-> bacula-sd.conf
Storage {

Re: [Bacula-users] Restore more than one client

2006-04-12 Thread Leonardo dos Santos Goldim




hy,

i was doing more tests and found this:

* my problem isn't with more than one client, is with more than one
storage.

i made some changes on my bacula conf, i created one storage for each
client:

-> bacula-dir.conf
Director {    # define myself
  Name = smart09-dir
  DIRport = 9101    # where we listen for UA connections
  DirAddress = 10.0.0.151
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 1
  Password = "*" # Console password
  Messages = Daemon
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = smart09-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}

Job {
  Name = "Smart08"
  JobDefs = "DefaultJob"
  Client = smart08-fd
  Pool = smart08
  Storage = smart08
  FileSet = "Backup Cfg"
  Write Bootstrap = "/var/bacula/working/Smart08.bsr"
}

Job {
  Name = "Smart09"
  JobDefs = "DefaultJob"
  Client = smart09-fd
  Pool = smart09
  Storage = smart09
  FileSet = "Backup Cfg"
  Write Bootstrap = "/var/bacula/working/Smart09.bsr"
}

Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula 12qwaszx"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=smart09-fd
  FileSet="Full Set"
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /home/backup/restore
}

FileSet {
  Name = "Full Set"
  Include {
    Options {
  signature = MD5
  compression = GZIP
    }
    File = /usr/src/bacula-1.38.7
  }
  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}

FileSet {
  Name = "Backup Cfg"
  Include {
    Options {
  signature = MD5
  compression = GZIP
    }
    File = /etc/
  }
  Exclude {
    File = /etc/samba/profiles
  }
}

Schedule {
  Name = "WeeklyCycle"
  Run = Full mon at 13:05
  Run = Incremental tue-fri at 13:05
}

Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full mon-fri at 13:10
}

FileSet {
  Name = "Catalog"
  Include {
    Options {
  signature = MD5
    }
    File = /var/bacula/working/bacula.sql
  }
}

Client {
  Name = smart08-fd
  Address = smart08
  FDPort = 9102
  Catalog = smart09
  Password = "L3m91qJ0i+ZfPddQQaxLxmtJuxLH/6Idasngyk7xpWg7"  # password for FileDaemon
  File Retention = 10 days    # 30 days
  Job Retention = 6 months    # six months
  AutoPrune = yes # Prune expired Jobs/Files
}

Client {
  Name = smart09-fd
  Address = smart09
  FDPort = 9102
  Catalog = smart09
  Password = "8HBW1A5iYQQbSmrAX9NvY4tzVpiPWwmaGg+cXg+/06GO"  # password for FileDaemon
  File Retention = 10 days    # 30 days
  Job Retention = 6 months    # six months
  AutoPrune = yes # Prune expired Jobs/Files
}

Storage {
  Name = File
  Address = smart09    # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xx0LAAwy/7BspJTdsYWXrEYCB//Ro6I91OdbCutaq8sP"
  Device = FileStorage
  Media Type = File
}

Storage {
  Name = smart08
  Address = smart09    # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xx0LAAwy/7BspJTdsYWXrEYCB//Ro6I91OdbCutaq8sP"
  Device = smart08
  Media Type = File
}

Storage {
  Name = smart09
  Address = smart09    # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xx0LAAwy/7BspJTdsYWXrEYCB//Ro6I91OdbCutaq8sP"
  Device = smart09
  Media Type = File
}

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1 # specifies that each volume is to be used only once.
  Label Format = "Backup-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

Pool {
  Name = smart08
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1 # specifies that each volume is to be used only once.
  Label Format = "Smart08-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

Pool {
  Name = smart09
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPr

Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote:
>
> My last hypothesis is that it is due to using h/w compression. After I've 
> changed back to s/w compression I have not seen this phenomenon. When that 
> said, 

No, h/w vs. s/w compression is only indirectly involved.  It  changes
the  timing.  With  s/w  compression,  data flow to the tape drive is
slower.

As mentioned before, I see the same effect when changing the  timing:
running  the  SD on a low end system (400 MHz P II) makes the problem
go away reliably - with h/w compression on.

I am more and more convinced that this is a subtel  timing  issue  in
the SCSI tape driver layer.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
"Plan to throw one away. You will anyway."
  - Fred Brooks, "The Mythical Man Month"


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Low backup throughput (High load average?)

2006-04-12 Thread Ian Levesque

Hi all,

I've been trying to optimize the backup speed of my bacula  
installation. My full backups, no spooling, max out at around 12-13MB/ 
s per client, where I think I should be seeing over 40MB/s. It  
doesn't appear to affect the speed of per-client backups when more  
than one client is running at a time. However, I've noticed that the  
server's load average while in operation is always above 1, and  
increases for each client it's backing up. So, if 3 clients are being  
backed-up, I see load averages of above 3 on the server (though CPU  
utilization is typically less than 50%). I'm not sure if this is  
normal, or is in any way affecting the speed I'm seeing...


I should note that network bandwidth tests between the server and  
clients typically reach full utilization (near 100MB/s) and the  
drives on the clients and backup server are both capable of over 50MB/s.


Server-Side
Bacula version: 1.38.6 on Fedora Core 3
Backup Server: Dual AMD MP 1900 w/ 3GB RAM on a gigabit link, Adaptec  
2940U2W SCSI

Tape library: ADIC Scalar 100 w/ three LTO-2 drives (using LTO-2 tapes)
Database: mysql, with indexes, running in a slightly modified 'huge'  
config on the backup server


Client-Side
Bacula version: 1.38.5 on Fedora Core 3
Typical client: Pentium IV 2.4Ghz, 1GB RAM on a gig link

Thanks for any advice,
Ian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore more than one client

2006-04-12 Thread Tyler Bannister

Leonardo dos Santos Goldim wrote:

hy,

i was doing more tests and found this:

* my problem isn't with more than one client, is with more than one 
storage.




   I am currently experiencing the same problem.  I have 3 different 
storage devices.  When I initiate a restore it always uses the default 
storage device specified in the restore job definition (in the 
bacula-dir.conf file) instead of automatically selecting the storage 
device the job was stored to.  It is possible to work around this by 
selecting the modify command before starting the restore job, but I 
shouldn't have to do that for every restore job.


I am currently using Bacula version 1.38.6.

--
Tyler Bannister
NetAccess Systems
905-524-2001 ext 224 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Low backup throughput (High load average?)

2006-04-12 Thread Ian Levesque

Hi Eric,

On Apr 12, 2006, at 4:41 PM, Eric Warnke wrote:

Are you using compression on the fileset? SHA1 signatures?  That  
can really bog down the director.  When I dumped compression ( the  
LTO drives we are using are quite capable ) + spooling our backup  
speed jumped to 40MB/sec ( about the limit of the spool drive ).


There's no compression and we're using MD5 sigs, but thanks for the  
consideration. Here's a typical fileset:


FileSet {
  Name = "CRYSTAL_HOME"
  Include {
Options {
  signature = MD5
onefs = no
}
File = /home
  }
  Exclude {
  }
}


Cheers,
Ian




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HELP - where are my jobs?

2006-04-12 Thread Martin Simmons
> On Wed, 12 Apr 2006 10:30:07 -0400, Emery Guevremont <[EMAIL PROTECTED]> 
> said:
> 
> Martin Simmons wrote:
> >> On Fri, 07 Apr 2006 10:43:30 -0400, Emery Guevremont <[EMAIL 
> >> PROTECTED]> said:
> >> I have a weird problem. I'm trying to restore some files from a tape 
> >> backup taken a few months ago.
> >>
> >> The problem is that the files aren't on the tape. If I use the query 
> >> command in bconsole to find out which tape has the files, it says the 
> >> files are on tape GKN079. If I check the "last date written" field for 
> >> tape GKN079 it says Dec. 23rd 2005. I can also confirm the files I'm 
> >> trying to restored when backed up on dec. 18 and dec. 20.
> >>
> >> Now when I use the bls command to list the different jobs contained on 
> >> the tape, it stops at a job done on dec. 15. This is the last entry from 
> >> my bls command:
> >>
> >> JobId : 9417
> >> VerNum: 11
> >> PoolName  : BDDump
> >> PoolType  : Backup
> >> JobName   : VMDBDmaitre-BDDump
> >> ClientName: vmdbdmaitre-fd
> >> Job (unique name) : VMDBDmaitre-BDDump.2005-12-14_20.05.11
> >> FileSet   : BDDump-fs
> >> JobType   : B
> >> JobLevel  : I
> >> JobFiles  : 531
> >> JobBytes  : 5,129,941,915
> >> StartBlock: 0
> >> EndBlock  : 4,463
> >> StartFile : 55
> >> EndFile   : 54
> >> JobErrors : 0
> >> JobStatus : T
> >> Date written  : 15-Dec-2005 08:15
> >> bls: Got EOF at file 61  on device /dev/nst0, Volume "GKN079"
> >> bls: End of Volume at file 61 on device /dev/nst0, Volume "GKN079"
> >> bls: End of all volumes.
> >> End of physical tape.
> >>
> >> What I'm wondering is where are the jobs that were done between dec. 15, 
> >> 2005 and dec. 23, 2005?
> >>
> >> I've also used the bls command to list the files on tape and the last 
> >> file on tape dates back to dec. 15. Here's how bls end after listing my 
> >> files:
> >>
> >> End Session Record: VolSessionId=153 VolSessionTime=1134158972 
> >> JobId=9417 DataLen=209
> >> bls: Got EOF at file 61  on device /dev/nst0, Volume "GKN079"
> >> bls: End of Volume at file 61 on device /dev/nst0, Volume "GKN079"
> >> bls: End of all volumes.
> >> Unknown Record: VolSessionId=0 VolSessionTime=0 JobId=0 DataLen=0
> >> 4417 files found.
> >>
> >> What does unknown record mean?
> >>
> >> Whether I look at the logs or on bconsole, no errors ever happened with 
> >> the backups between dec. 15 and dec. 23. Everything indicates my backups 
> >> should be on tape GKN079, but I don't see it on the tape. Is the tape 
> >> dying? BTW I also tried reading the tape on a different drive, and I got 
> >> the same result.
> > 
> > I suggest you post the output of running
> > 
> > select * from jobmedia where mediaid=xx;
> > 
> > from the bconsole sql command, where xx is the mediaid of GKN079.  Also, 
> > what
> > is the jobid of the job you are trying to restore?
> > 
> > __Martin
> > 
> 
> The jobid of the job in question is 9580. I've attached a file that
> contains the output from the sql query. The problem starts from jobid 
> 9435. Every jobs after 8435 aren't available. One thing I noticed is 
> that there's no start or end file number 61, it skips from 60 to 62. 
> Could this be causing the problem?

Yes, possibly.  I can think of three reasons why 61 could be missing now:

- There was an error during that job.
- There is a bug in bacula that writes junk.
- It has been pruned.

It is interesting that to see other gaps too, e.g. 39.  From the numbering, it
looks like 39 might be from job 9410.  Did that job run?

Was the tape in the drive continuously for all of these jobs?  If not, maybe
the discontinuities occur at the point where the tape was reinserted?


>If so, how do I force bextract to 
> skip fileid 61?

Given the "Unknown Record" error, it might not be mpossible.  It could be
interesting to play with mt and dd to see what happens at various points on
the tape.  Each "file" should be readable using dd and the size should be
slightly larger than reported in the job output.  E.g. (parameters may need
adjusting):

mt rewind
mt fsf 38
dd if=/dev/nsa0 bs=64512 | wc -c   # size of file 38
dd if=/dev/nsa0 bs=64512 | wc -c   # size of file 39
dd if=/dev/nsa0 bs=64512 | wc -c   # size of file 40

mt rewind
mt fsf 60
dd if=/dev/nsa0 bs=64512 | wc -c   # size of file 60
dd if=/dev/nsa0 bs=64512 | wc -c   # size of file 61
dd if=/dev/nsa0 bs=64512 | wc -c   # size of file 62

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacu

[Bacula-users] Re: Bacula feedback

2006-04-12 Thread Kern Sibbald
On Wednesday 12 April 2006 06:09, Greg Wilson wrote:
> Kern,
>
>
>
> Bacula is a great product and working well backing up my Postfix email
> system on Debian.
>
>
>
> The one and only problem I have with it is that I can't get it to fit my
> standard tape regime.
>
>
>
> We use a child, father, grandfather 10 tape system. Full backups are
> done every night to overwrite all tapes.
>
>
>
> Daily Tapes: Mon, Tues, Wed, Thur,
>
> Weekly Tapes: FriW1, FriW2,FriW3,
>
> Monthly Tapes: FriM1, FriM2, FriM3
>
>
>
> I print out a calendar year spreadsheet in which we sign off entering
> the tape for every backup system every day. This is used when restoring.
> If a signature is missing, the prior days tape would be overwritten.
>
>
>
> Complex as Bacula's tape handling regime is, without "overwite tape in
> drive" setup there is no way I can create a schedule that fits my tape
> rotation system.  

There are at least two ways I can think of to cause Bacula to overwrite the 
current tape in the drive, both of which I *highly* discourage as it will 
almost surely result in lost data some day.  Both of these methods (one 
directive, one using bconsole) have been discussed many times on this list, 
and very recently George Lutz has posted a link to his site where he shows 
how to do GFS rotation, and he has posted a detailed email on why just 
yesterday.


> I currently have a daily pool and a weekly pool 
> configured. Every Monday our Friday backup is run during business hours
> (and slows the mail server) when I force bacula to overwrite the loaded
> tape by doing an unmount then mount after the job has started.
>
>
>
> Cheers,
>
>
>
> Greg.
>
>
>
> --
> Greg Wilson
> Systems & Network Administrator
> Summerland Credit Union, Lismore
> Ph 02 6620 7010
> Fax 02 6622 6433
> [EMAIL PROTECTED]
>
> --
>
> This email and any attachments or annexure hereto are confidential and
> subject to copyright and no use may be made of them without the consent
> of, or pursuant to a written agreement with, The Summerland Credit Union
> Limited. To the extent possible by law, The Summerland Credit Union
> disclaims all liability in relation to any loss or damage suffered by
> the use or reliance upon any information contained or in any attachment
> or annexure hereto by any person.

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Anyone know where I can find bacula-client 1.36.3 src rpm?

2006-04-12 Thread Eric Peterson
Hello,

I need to install bacula-fd on my CentOS 4.3 x86_64 clients so I was
hoping I could find a src rpm for 1.36.3 so I could build it for my
platform.

Anyone?

Thanks,
Eric


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Erik P. Olsen

Wolfgang Denk wrote:

In message <[EMAIL PROTECTED]> you wrote:
My last hypothesis is that it is due to using h/w compression. After I've 
changed back to s/w compression I have not seen this phenomenon. When that said, 


No, h/w vs. s/w compression is only indirectly involved.  It  changes
the  timing.  With  s/w  compression,  data flow to the tape drive is
slower.

As mentioned before, I see the same effect when changing the  timing:
running  the  SD on a low end system (400 MHz P II) makes the problem
go away reliably - with h/w compression on.

I am more and more convinced that this is a subtel  timing  issue  in
the SCSI tape driver layer.


Do you think it could be an overrun situation?

--
Regards,
Erik P. Olsen.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Low backup throughput (High load average?)

2006-04-12 Thread Martin Simmons
> On Wed, 12 Apr 2006 15:42:25 -0400, Ian Levesque <[EMAIL PROTECTED]> said:
> 
> Hi all,
> 
> I've been trying to optimize the backup speed of my bacula  
> installation. My full backups, no spooling, max out at around 12-13MB/ 
> s per client, where I think I should be seeing over 40MB/s. It  
> doesn't appear to affect the speed of per-client backups when more  
> than one client is running at a time. However, I've noticed that the  
> server's load average while in operation is always above 1, and  
> increases for each client it's backing up. So, if 3 clients are being  
> backed-up, I see load averages of above 3 on the server (though CPU  
> utilization is typically less than 50%). I'm not sure if this is  
> normal, or is in any way affecting the speed I'm seeing...
> 
> I should note that network bandwidth tests between the server and  
> clients typically reach full utilization (near 100MB/s) and the  
> drives on the clients and backup server are both capable of over 50MB/s.
> 
> Server-Side
> Bacula version: 1.38.6 on Fedora Core 3
> Backup Server: Dual AMD MP 1900 w/ 3GB RAM on a gigabit link, Adaptec  
> 2940U2W SCSI
> Tape library: ADIC Scalar 100 w/ three LTO-2 drives (using LTO-2 tapes)
> Database: mysql, with indexes, running in a slightly modified 'huge'  
> config on the backup server
> 
> Client-Side
> Bacula version: 1.38.5 on Fedora Core 3
> Typical client: Pentium IV 2.4Ghz, 1GB RAM on a gig link

Since you have a multi-CPU server, what kind of CPU utilization is 50% (the
whole machine or one of the daemon processes)?

What about the CPU utilization on the client?

It is useful to check with /usr/bin/top.

Did you try using spooling?

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote:
>
> > I am more and more convinced that this is a subtel  timing  issue  in
> > the SCSI tape driver layer.
> 
> Do you think it could be an overrun situation?

Overrun of what? 

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
God runs electromagnetics by wave theory on  Monday,  Wednesday,  and
Friday,  and the Devil runs them by quantum theory on Tuesday, Thurs-
day, and Saturday.   -- William Bragg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula marking tapes Full with only a few GB written

2006-04-12 Thread Erik P. Olsen

Wolfgang Denk wrote:

In message <[EMAIL PROTECTED]> you wrote:

I am more and more convinced that this is a subtel  timing  issue  in
the SCSI tape driver layer.

Do you think it could be an overrun situation?


Overrun of what? 
Sorry, nothing. Not thinking clear enough. Late hours here. Should have been 
sleeping by now.


--
Regards,
Erik P. Olsen.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Anyone know where I can find bacula-client 1.36.3 src rpm?

2006-04-12 Thread Joshua Kugler
On Wednesday 12 April 2006 13:53, Eric Peterson wrote:
> Hello,
>
> I need to install bacula-fd on my CentOS 4.3 x86_64 clients so I was
> hoping I could find a src rpm for 1.36.3 so I could build it for my
> platform.

The client code is in with the rest.  I just built RPMs for CentOS 4.3, 
albeit, not x86_64.  I can send you the spec file that worked (I had to 
comment out stuff dealing with docs due to latex errors.

j- k-

-- 
Joshua Kugler PGP Key: http://pgp.mit.edu/
CDE System Administrator ID 0xDB26D7CE
http://distance.uaf.edu/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Low backup throughput (High load average?)

2006-04-12 Thread Ian Levesque

Hi Martin,

On Apr 12, 2006, at 6:11 PM, Martin Simmons wrote:

Since you have a multi-CPU server, what kind of CPU utilization is  
50% (the

whole machine or one of the daemon processes)?



I've only ever seen bacula take advantage of one CPU; typically I see  
50% utilized on one CPU.





What about the CPU utilization on the client?



Around 10% or less, with backups running in the middle of the night.




It is useful to check with /usr/bin/top.



I have cacti running and it keeps excellent track of resources on the  
network during backups. But this is easily reproduced if you think I  
should procure more specific IO stats.





Did you try using spooling?



Yes, it puts an enormous load on the backup server; I'm not sure why.  
I do utilize spooling for incrementals, but I expect them to be  
slower (which they are).


Thanks,
Ian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Label command not asking for slot number

2006-04-12 Thread daemonicpenguin

I'm experiencing the same problem with a Dell PV122T on RHEL 3. 
--
View this message in context: 
http://www.nabble.com/Label-command-not-asking-for-slot-number-t106202.html#a3893788
Sent from the Bacula - Users forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Anyone know where I can find bacula-client 1.36.3 src rpm?

2006-04-12 Thread Eric Peterson
Hi Joshua,

The spec file would be great.

I'm not quite sure what you mean by "The client code is in with the
rest".  I couldn't find any 1.36.3 rpm files on the bacula sourceforge
site.  The link to the older files seems to be broken.  If I can't
find a src rpm I'll just grab the source, but I was hoping I wouldn't
have to go that far.  Although, it sounds like it may be easier just
to compile from source since you had spec file problems.

Thanks,
Eric

On 4/12/06, Joshua Kugler <[EMAIL PROTECTED]> wrote:
> On Wednesday 12 April 2006 13:53, Eric Peterson wrote:
> > Hello,
> >
> > I need to install bacula-fd on my CentOS 4.3 x86_64 clients so I was
> > hoping I could find a src rpm for 1.36.3 so I could build it for my
> > platform.
>
> The client code is in with the rest.  I just built RPMs for CentOS 4.3,
> albeit, not x86_64.  I can send you the spec file that worked (I had to
> comment out stuff dealing with docs due to latex errors.
>
> j- k-
>
> --
> Joshua Kugler PGP Key: http://pgp.mit.edu/
> CDE System Administrator ID 0xDB26D7CE
> http://distance.uaf.edu/
>


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Label command not asking for slot number

2006-04-12 Thread Daemonic Penguin
... and I resolved it by including "Autochanger = yes" in the Storage resource in the Director configuration file. On 4/12/06, daemonicpenguin
 <[EMAIL PROTECTED]> wrote:
I'm experiencing the same problem with a Dell PV122T on RHEL 3.--View this message in context: http://www.nabble.com/Label-command-not-asking-for-slot-number-t106202.html#a3893788
Sent from the Bacula - Users forum at Nabble.com.---This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642___Bacula-users mailing list
Bacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users