[Bacula-users] Distinct FileSets with distinct Pools

2008-02-01 Thread Eduardo Júnior
Hello,


Is that possible, using bacula, to create two distinct pools to the same
client?
This way I would have two FileSets, with their respective volumes.
A pool would be the backup of a server's fraction, and the second one of the
other fraction


i.e.FileSet1
Volumes: part1Server_Full, part1Server_Diff, part1Server_Inc

FileSet2
Volumes: part2Server_Full, part2Server_Diff, part2Server_Inc



Could anyone clear this doubt up or give me any reference where I can read
about it?



-- 
Eduardo Júnior :: twiki.dcc.ufba.br/~EduardoIhtraum
linux user 423272
--
"O meu conhecimento é o nosso conhecimento."
(Desconhecido)

:wq
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Dan Langille
Robin Blanchard wrote:
>>> Dan,
>>> What is the 'elegant' approach to giving bacula:bacula access to
>>> /dev/pass0 ?
>> What are the permissions on /dev/pass0?  I suspect operator group is
>> involed. If so, add Bacula to the operator group in /etc/group.
> 
> Your port does that (thanks); but the permissions (RELENG_6) are:
> 
> # ls -ald /dev/pass0 
> crw---  1 root  operator0, 112 Jan 29 11:43 /dev/pass0

Let operator group read and write that device:

   chmod g+rw /dev/pass0

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> > Dan,
> > What is the 'elegant' approach to giving bacula:bacula access to
> > /dev/pass0 ?
> 
> What are the permissions on /dev/pass0?  I suspect operator group is
> involed. If so, add Bacula to the operator group in /etc/group.

Your port does that (thanks); but the permissions (RELENG_6) are:

# ls -ald /dev/pass0 
crw---  1 root  operator0, 112 Jan 29 11:43 /dev/pass0

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Dan Langille
Robin Blanchard wrote:
>>> H...Sort of looks like bacula is passing the wrong variables to
>> the
>>> script ? Or my config is wrong ?
>>>
>> Your config looks correct. At least the line that calls the script.
>>> (shutdown all bacula daemons)
>>> # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1
>>>
>>> 20
>>>
>> The other option is whatever user you are running bacula-sd at does
>> not have access to  /usr/local/share/bacula/mtx-changer or /dev/pass0
>>
>> John
> 
> Good call :)
> 
> Running bacula-sd as root:wheel works.
> 
> Dan,
> What is the 'elegant' approach to giving bacula:bacula access to
> /dev/pass0 ?

What are the permissions on /dev/pass0?  I suspect operator group is 
involed. If so, add Bacula to the operator group in /etc/group.

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> > H...Sort of looks like bacula is passing the wrong variables to
> the
> > script ? Or my config is wrong ?
> >
> Your config looks correct. At least the line that calls the script.
> >
> > (shutdown all bacula daemons)
> > # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1
> >
> > 20
> >
> The other option is whatever user you are running bacula-sd at does
> not have access to  /usr/local/share/bacula/mtx-changer or /dev/pass0
> 
> John

Good call :)

Running bacula-sd as root:wheel works.

Dan,
What is the 'elegant' approach to giving bacula:bacula access to
/dev/pass0 ?


*label barcodes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: Drive-1
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "Drive-1" has 20 slots.
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot  Volume
==
   2  B00039L3
   3  B00029L3
   4  B00025L3
   5  B00028L3
   6  B00022L3
   7  B00026L3
   8  B00031L3
   9  B00030L3
  10  B00037L3
  11  B00034L3
  12  B00035L3
  13  B00036L3
  14  B00038L3
  15  B00032L3
  16  B00024L3
  17  B00021L3
  18  B00020L3
  19  B00027L3
  20  B00033L3
   1  B00023L3

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Help With bacula excluding directories

2008-02-01 Thread jeffrey Lang

First let me say Bacula is a great tool and works very well.

My question is this:   On my netapp device i have ".snapshot" 
directories interspersed in the file system.  I need to delete these 
from my backup.


I have tried numerous things, first reading the manual but have not yet 
been successful in making this happen.


Bacula version: Version: 2.2.3 ( i know there is newer versions)

Here;s my configuration for the server to be backed up which NFS mounts 
the filesystems from the netapp.


# EORI NetApp

# Client (File Services) to backup
Client {
   Name = hp1-fd
   Address = hp1.gg.uwyo.edu
   FDPort = 9102
   Catalog = MyCatalog
   Password = "9p+R2Jyx6l1KCVyU4WSPSPPSKgeZsRyM/iMnVVG80gXL"
   File Retention = 365 days# 30 days
   Job Retention = 365 days# six months
   AutoPrune = yes # Prune expired Jobs/Files
   Maximum Concurrent Jobs = 1
}
job {
   Name = "hp1-home"
   Enabled = no
   Type = Backup
   Client = hp1-fd
   FileSet = "hp1-home"
   Schedule = "EORI-Cycle"
   Storage = L700E
   Messages = Standard
   Pool = EORI
   Write Bootstrap = "/usr/local/bacula/working/hp1-home.bsr"
   Prefer Mounted Volumes = No
   Maximum Concurrent Jobs = 1

}
# List of files to be backed up
FileSet {
   Name = "hp1-home"
   Include {
   Options {
   signature = MD5
   noatime= yes
   }

   File = /net/uwyo/vol/vol0
   }

   Exclude {
   File = core
   File = ".snapshot"
   }
}

With the above job definition I still get the ".snapshot" directoies 
included in the backup. 

I know that i'm missing something about the EXCLUDE list but i can't 
seem to figure out what.


What do i need to change to exclude all ".snapshot" direcories inthe 
file system?



begin:vcard
fn:Jeffrey Lang
n:Lang;Jeffrey
org:University of Wyoming;Geology and Geophyscis
adr:;;1000 E. University Ave;Laramie;WY;72071;USA
email;internet:[EMAIL PROTECTED]
title:Unix/Linux Systems Admiin
tel;work:307-766-3381
x-mozilla-html:TRUE
url:http://home.gg.uwyo.edu
version:2.1
end:vcard

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread John Drescher
> H...Sort of looks like bacula is passing the wrong variables to the
> script ? Or my config is wrong ?
>
Your config looks correct. At least the line that calls the script.
>
> (shutdown all bacula daemons)
> # /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1
>
> 20
>
The other option is whatever user you are running bacula-sd at does
not have access to  /usr/local/share/bacula/mtx-changer or /dev/pass0

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> -Original Message-
> From: Dan Langille [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 01, 2008 1:58 PM
> To: Robin Blanchard
> Cc: bacula
> Subject: Re: [Bacula-users] help with autochanger/barcodes
> 
> Robin Blanchard wrote:
> > Trying to label the 20 tapes with their corresponding barcodesIs
> the
> > problem with my device (sd) configuration or is this stemming from
> the
> > mtx-changer script ?
> >
> > *label barcodes
> > Automatically selected Catalog: MyCatalog
> > Using Catalog "MyCatalog"
> > Automatically selected Storage: Drive-1
> > Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> > Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> > 3306 Issuing autochanger "slots" command.
> > Device "Drive-1" has 0 slots.
> > No slots in changer to scan.
> 
> At first, I said, where's the problem.  OH THERE IT IS.  It helps if
> you
> explicitly point it out to us old folks.
> 
> Check permissions on your mtx-changer script, and the devices it
> accesses with respect to the UID/GID that bacula-sd runs as.
> 
> I suspect the script, not the configuration.

H...Sort of looks like bacula is passing the wrong variables to the
script ? Or my config is wrong ?

(shutdown all bacula daemons)
# /usr/local/share/bacula/mtx-changer /dev/pass0 slots 1

20

(restart bacula daemons)
*label barcodes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: Drive-1
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "Drive-1" has 0 slots.
No slots in changer to scan.

---
Autochanger {
  Name = Autochanger
  Device = Drive-1
  Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/pass0
}

Device {
  Name = Drive-1
  Drive Index = 0
  Media Type = LTO3
  Description = "IBM Ultrium"
  Archive Device = /dev/nsa0
  SpoolDirectory = /export/bacula/spool;
  AutomaticMount = yes;
  AlwaysOpen = yes
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: Tape Library with 4 drives

2008-02-01 Thread Heiko.Schack
> You need to post more details of your system and bacula version, your
> current configs and the exact error messages. It is impossible to
> debug with the amount of information you have revealed.
> 
> 
> John

Ok. No Problem:

I have 2 SD-Server. SD#1 use Drive-0 and SD#2 use Drive-1 - bis Drive-3. SD#1 
have noch Problem to use Drive-0 (Drive Index 0). SD#2 Can't use any Drive - 
see Debug Output below. 

When i change the config von sd#1 to sd#2 and from sd#2 to sd#1, sd#1 can't use 
Drive-1 to Drive-3. I get the same error. SD#2 can use with no problem Drive-1. 


My bacula-sd.conf:


Autochanger {
  Name = sgzhBaculaSD2-LTO
  Device = Drive-0
  Device = Drive-1
  Device = Drive-2
  Device = Drive-3
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg2
}

Device {
  Name = Drive-0 #
  Drive Index = 0
  Media Type = LTO
  Archive Device = /dev/nst2
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  Autoselect = no
  Spool Directory = "/var/lib/bacula/tmp"
}

Device {
  Name = Drive-1 #
  Drive Index = 1
  Media Type = LTO
  Archive Device = /dev/nst3
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  Autoselect = yes
  Spool Directory = "/var/lib/bacula/tmp"
}

Device {
  Name = Drive-2 #
  Drive Index = 2
  Media Type = LTO
  Archive Device = /dev/nst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  Autoselect = yes
  Spool Directory = "/var/lib/bacula/tmp"
}

Device {
  Name = Drive-3 #
  Drive Index = 3
  Media Type = LTO
  Archive Device = /dev/nst1
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes;
  Autoselect = yes
  Spool Directory = "/var/lib/bacula/tmp"
}

---

Here are the output on the bconsole:

---
Mount sgzhBaculaSD2-LTO
3999 Device "sgzhBaculaSD2-LTO" not found or could not be opened.
---

And the debug output from the sd-server:

---
sgzhBaculaSD2: dircmd.c:172-0 Conn: Hello Director sgzhBaculaDIR-dir calling
sgzhBaculaSD2: dircmd.c:185-0 Got a DIR connection
sgzhBaculaSD2: jcr.c:603-0 OnEntry JobStatus=sgzhBaculaSD2: jcr.c:623-0 OnExit 
JobStatus=C set=C
sgzhBaculaSD2: cram-md5.c:73-0 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0
sgzhBaculaSD2: cram-md5.c:133-0 cram-get received: auth cram-md5 <[EMAIL 
PROTECTED]> ssl=0
sgzhBaculaSD2: cram-md5.c:152-0 sending resp to challenge: 
ex1azj/br///S7BNT5gMSC
sgzhBaculaSD2: dircmd.c:207-0 Message channel init completed.
sgzhBaculaSD2: dircmd.c:214-0 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread John Drescher
On Feb 1, 2008 2:32 PM, Robin Blanchard <[EMAIL PROTECTED]> wrote:
> > : It doesI successfully wrote to the tape this morning. Now I'm
> > trying
> > : to get the barcode/label business going.
> >
> > So did it really change the tapes, or just wrote to the tape?
> > Tape drive and tape changer are different scsi devices.
> >
>
> Well that's exactly what I'm tyring to figure out :) the btape full
> multitape test completed successfully. But this morning's "real" test
> terminated (and I received no email from bacula). So I figured perhaps
> the problem is/was changing of tapes (hence starting over and attempting
> to use the barcode labels)...
>

Yes. You need to get the label barcodes working because you should
never manually label tapes in an autochanger that has a barcode
reader. If you label the tapes manually you are disabling the
advantage of having a barcode reader to tell bacula what tapes are in
each slot.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread John Drescher
On Feb 1, 2008 1:54 PM, Robin Blanchard <[EMAIL PROTECTED]> wrote:
> Trying to label the 20 tapes with their corresponding barcodesIs the
> problem with my device (sd) configuration or is this stemming from the
> mtx-changer script ?
>
> *label barcodes
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected Storage: Drive-1
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Drive-1" has 0 slots.
> No slots in changer to scan.
>
> # mtx -f /dev/pass0 status
>
>   Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
> Data Transfer Element 0:Empty
> Data Transfer Element 1:Empty
>   Storage Element 1:Full :VolumeTag=B00023L3
>   Storage Element 2:Full :VolumeTag=B00039L3
>   Storage Element 3:Full :VolumeTag=B00029L3
>   Storage Element 4:Full :VolumeTag=B00025L3
>   Storage Element 5:Full :VolumeTag=B00028L3
>   Storage Element 6:Full :VolumeTag=B00022L3
>   Storage Element 7:Full :VolumeTag=B00026L3
>   Storage Element 8:Full :VolumeTag=B00031L3
>   Storage Element 9:Full :VolumeTag=B00030L3
>   Storage Element 10:Full :VolumeTag=B00037L3
>
>   Storage Element 11:Full :VolumeTag=B00034L3
>
>   Storage Element 12:Full :VolumeTag=B00035L3
>
>   Storage Element 13:Full :VolumeTag=B00036L3
>
>   Storage Element 14:Full :VolumeTag=B00038L3
>
>   Storage Element 15:Full :VolumeTag=B00032L3
>
>   Storage Element 16:Full :VolumeTag=B00024L3
>
>   Storage Element 17:Full :VolumeTag=B00021L3
>
>   Storage Element 18:Full :VolumeTag=B00020L3
>
>   Storage Element 19:Full :VolumeTag=B00027L3
>
>   Storage Element 20:Full :VolumeTag=B00033L3
>
>
> Device {
>   Name = Drive-1
>   Drive Index = 0
>   Media Type = LTO3
>   Description = "IBM Ultrium"
>   Archive Device = /dev/nsa0
>   SpoolDirectory = /export/bacula/spool;
>   AutomaticMount = yes;
>   AlwaysOpen = yes
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Offline On Unmount = no
>   Hardware End of Medium = no
>   BSF at EOM = yes
>   Backward Space Record = no
>   Fast Forward Space File = no
>   TWO EOF = yes
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
>

What do you have for your autochanger resource in bacula-sd.conf?

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: how to relabel / assign to appropriate pool

2008-02-01 Thread John Drescher
So backing up just a bit (pre-barcodes)The test that started this
morning yielded (and no bacula email) the following. Can you shed any
light on this ?

*status dir
lewis-dir Version: 2.2.8 (26 January 2008) i386-portbld-freebsd6.3
freebsd 6.3-STABLE
Daemon started 01-Feb-08 09:57, 0 Jobs run since started.
 Heap: heap=524,288 smbytes=41,253 max_bytes=85,881 bufs=209
max_bufs=216

Scheduled Jobs:
Level  Type Pri  Scheduled  Name
Volume

===
IncrementalBackup10  02-Feb-08 01:05mustang.itos.uga.edu
mustang_test01


Running Jobs:
 JobId Level   Name   Status
==
 1 Fullmustang.itos.uga.edu.2008-02-01_09.57.03 has terminated


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName

 1  Full  0 0   OK   29-Jan-08 15:09 Client1
 2  Full  0 0   OK   29-Jan-08 15:12 Client1
 1  Full  0 0   OK   29-Jan-08 15:25 Client1
 1  Full  0 0   Cancel   31-Jan-08 15:37
mustang.itos.uga.edu
 2  Full  0 0   Cancel   31-Jan-08 15:42
mustang.itos.uga.edu
 1  Full  0 0   Cancel   31-Jan-08 15:58
mustang.itos.uga.edu
 2  Full  0 0   Error01-Feb-08 06:05
mustang.itos.uga.edu
 1  Full  0 0   Cancel   01-Feb-08 08:43
mustang.itos.uga.edu
 2  Full 1015.27 G  Other01-Feb-08 09:48
mustang.itos.uga.edu
 3  Full  0 0   Cancel   01-Feb-08 09:51
mustang.itos.uga.edu


You have messages.
*messages
01-Feb 12:04 lewis-sd JobId 1: Job write elapsed time = 02:05:50,
Transfer rate = 22.88 M bytes/second
01-Feb 12:04 lewis-sd JobId 1: Committing spooled data to Volume
"mustang_test01". Despooling 172,938,885,831 bytes ...
*messages
You have no messages.
*status storage
Automatically selected Storage: Drive-1
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103

lewis-sd Version: 2.2.8 (26 January 2008) i386-portbld-freebsd6.3
freebsd 6.3-STABLE
Daemon started 01-Feb-08 09:57, 0 Jobs run since started.
 Heap: heap=487,424 smbytes=222,136 max_bytes=251,114 bufs=121
max_bufs=125
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Full Backup job mustang.itos.uga.edu JobId=1
Volume="mustang_test01"
pool="Default" device="Drive-1" (/dev/nsa0)
spooling=0 despooling=1 despool_wait=0
Files=95 Bytes=172,778,600,467 Bytes/sec=13,254,975
FDReadSeqNo=2,637,133 in_msg=2636865 out_msg=9 fd=7


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName
===
 1  Full  0 0   Cancel   31-Jan-08 15:37
mustang.itos.uga.edu
 2  Full  0 0   Cancel   31-Jan-08 15:42
mustang.itos.uga.edu
 1  Full  0 0   Cancel   31-Jan-08 15:58
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 01:35
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 03:05
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 04:35
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 06:05
mustang.itos.uga.edu
 1  Full  0 0   Cancel   01-Feb-08 08:43
mustang.itos.uga.edu
 2  Full 1015.27 G  Error01-Feb-08 09:48
mustang.itos.uga.edu
 4  Full  0 0   Cancel   01-Feb-08 09:56
mustang.itos.uga.edu


Device status:
Autochanger "Autochanger" with devices:
   "Drive-1" (/dev/nsa0)
Device "Drive-1" (/dev/nsa0) is mounted with:
Volume:  mustang_test01
Pool:Default
Media type:  LTO3
Drive 0 status unknown.
Total Bytes=98,797,934,592 Blocks=1,531,465 Bytes/block=64,512
Positioned at File=98 Block=12,466


In Use Volume status:
mustang_test01 on device "Drive-1" (/dev/nsa0)
Reader=0 writers=1 reserved=0 released=0


Data spooling: 1 active jobs, 172,938,885,831 bytes; 0 total jobs,
172,938,885,831 max bytes/job.
Attr spooling: 1 active jobs, 0 bytes; 0 total jobs, 0 max bytes.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
> : It doesI successfully wrote to the tape this morning. Now I'm
> trying
> : to get the barcode/label business going.
> 
> So did it really change the tapes, or just wrote to the tape?
> Tape drive and tape changer are different scsi devices.
> 

Well that's exactly what I'm tyring to figure out :) the btape full
multitape test completed successfully. But this morning's "real" test
terminated (and I received no email from bacula). So I figured perhaps
the problem is/was changing of tapes (hence starting over and attempting
to use the barcode labels)...

*status dir
lewis-dir Version: 2.2.8 (26 January 2008) i386-portbld-freebsd6.3
freebsd 6.3-STABLE
Daemon started 01-Feb-08 09:57, 0 Jobs run since started.
 Heap: heap=524,288 smbytes=41,253 max_bytes=85,881 bufs=209
max_bufs=216

Scheduled Jobs:
Level  Type Pri  Scheduled  Name
Volume

===
IncrementalBackup10  02-Feb-08 01:05mustang.itos.uga.edu
mustang_test01


Running Jobs:
 JobId Level   Name   Status
==
 1 Fullmustang.itos.uga.edu.2008-02-01_09.57.03 has terminated


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName 

 1  Full  0 0   OK   29-Jan-08 15:09 Client1
 2  Full  0 0   OK   29-Jan-08 15:12 Client1
 1  Full  0 0   OK   29-Jan-08 15:25 Client1
 1  Full  0 0   Cancel   31-Jan-08 15:37
mustang.itos.uga.edu
 2  Full  0 0   Cancel   31-Jan-08 15:42
mustang.itos.uga.edu
 1  Full  0 0   Cancel   31-Jan-08 15:58
mustang.itos.uga.edu
 2  Full  0 0   Error01-Feb-08 06:05
mustang.itos.uga.edu
 1  Full  0 0   Cancel   01-Feb-08 08:43
mustang.itos.uga.edu
 2  Full 1015.27 G  Other01-Feb-08 09:48
mustang.itos.uga.edu
 3  Full  0 0   Cancel   01-Feb-08 09:51
mustang.itos.uga.edu


You have messages.
*messages
01-Feb 12:04 lewis-sd JobId 1: Job write elapsed time = 02:05:50,
Transfer rate = 22.88 M bytes/second
01-Feb 12:04 lewis-sd JobId 1: Committing spooled data to Volume
"mustang_test01". Despooling 172,938,885,831 bytes ...
*messages
You have no messages.
*status storage
Automatically selected Storage: Drive-1
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103

lewis-sd Version: 2.2.8 (26 January 2008) i386-portbld-freebsd6.3
freebsd 6.3-STABLE
Daemon started 01-Feb-08 09:57, 0 Jobs run since started.
 Heap: heap=487,424 smbytes=222,136 max_bytes=251,114 bufs=121
max_bufs=125
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Full Backup job mustang.itos.uga.edu JobId=1
Volume="mustang_test01"
pool="Default" device="Drive-1" (/dev/nsa0)
spooling=0 despooling=1 despool_wait=0
Files=95 Bytes=172,778,600,467 Bytes/sec=13,254,975
FDReadSeqNo=2,637,133 in_msg=2636865 out_msg=9 fd=7


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName 
===
 1  Full  0 0   Cancel   31-Jan-08 15:37
mustang.itos.uga.edu
 2  Full  0 0   Cancel   31-Jan-08 15:42
mustang.itos.uga.edu
 1  Full  0 0   Cancel   31-Jan-08 15:58
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 01:35
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 03:05
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 04:35
mustang.itos.uga.edu
 2  Full  0 0   Other01-Feb-08 06:05
mustang.itos.uga.edu
 1  Full  0 0   Cancel   01-Feb-08 08:43
mustang.itos.uga.edu
 2  Full 1015.27 G  Error01-Feb-08 09:48
mustang.itos.uga.edu
 4  Full  0 0   Cancel   01-Feb-08 09:56
mustang.itos.uga.edu


Device status:
Autochanger "Autochanger" with devices:
   "Drive-1" (/dev/nsa0)
Device "Drive-1" (/dev/nsa0) is mounted with:
Volume:  mustang_test01
Pool:Default
Media type:  LTO3
Drive 0 status unknown.
Total Bytes=98,797,934,592 Blocks=1,531,465 Bytes/block=64,512
Positioned at File=98 Block=12,466


In Use Volume status:
mustang_test01 on device "Drive-1" (/dev/nsa0)
Reader=0 writers=1 reserved=0 released=0


Data spooling: 1 active jobs, 172,938,885,831 bytes; 0 total jobs,
172,938,885,831 max bytes/job.
Attr spooling: 1 active jobs, 0 bytes; 0 total jobs, 0 max bytes.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http:/

Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Timo Neuvonen
>> Trying to label the 20 tapes with their corresponding barcodesIs the
>> problem with my device (sd) configuration or is this stemming from the
>> mtx-changer script ?
>>
>> *label barcodes
>> Automatically selected Catalog: MyCatalog
>> Using Catalog "MyCatalog"
>> Automatically selected Storage: Drive-1
>> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
>> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
>> 3306 Issuing autochanger "slots" command.
>> Device "Drive-1" has 0 slots.
>> No slots in changer to scan.
>>
>> # mtx -f /dev/pass0 status
>>
>>  Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
>> Data Transfer Element 0:Empty
>> Data Transfer Element 1:Empty
>>  Storage Element 1:Full :VolumeTag=B00023L3
>>  Storage Element 2:Full :VolumeTag=B00039L3
>>  Storage Element 3:Full :VolumeTag=B00029L3
>>  Storage Element 4:Full :VolumeTag=B00025L3
>>  Storage Element 5:Full :VolumeTag=B00028L3
>>  Storage Element 6:Full :VolumeTag=B00022L3
>>  Storage Element 7:Full :VolumeTag=B00026L3
>>  Storage Element 8:Full :VolumeTag=B00031L3
>>  Storage Element 9:Full :VolumeTag=B00030L3
>>  Storage Element 10:Full :VolumeTag=B00037L3
>>
>>  Storage Element 11:Full :VolumeTag=B00034L3
>>
>>  Storage Element 12:Full :VolumeTag=B00035L3
>>
>>  Storage Element 13:Full :VolumeTag=B00036L3
>>
>>  Storage Element 14:Full :VolumeTag=B00038L3
>>
>>  Storage Element 15:Full :VolumeTag=B00032L3
>>
>>  Storage Element 16:Full :VolumeTag=B00024L3
>>
>>  Storage Element 17:Full :VolumeTag=B00021L3
>>
>>  Storage Element 18:Full :VolumeTag=B00020L3
>>
>>  Storage Element 19:Full :VolumeTag=B00027L3
>>
>>  Storage Element 20:Full :VolumeTag=B00033L3
>>
>>
> First thing to check, when manual commands work but not when called from
> bacula:
> Make sure the user the storage daemon is running as has write access to 
> your
> autochanger device.
>

(Pls. answer primarily to the list instead of direct e-mail)

: It doesI successfully wrote to the tape this morning. Now I'm trying
: to get the barcode/label business going.

So did it really change the tapes, or just wrote to the tape?
Tape drive and tape changer are different scsi devices.

--
TiN 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Timo Neuvonen
> Trying to label the 20 tapes with their corresponding barcodesIs the
> problem with my device (sd) configuration or is this stemming from the
> mtx-changer script ?
>
> *label barcodes
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected Storage: Drive-1
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Drive-1" has 0 slots.
> No slots in changer to scan.
>
> # mtx -f /dev/pass0 status
>
>  Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
> Data Transfer Element 0:Empty
> Data Transfer Element 1:Empty
>  Storage Element 1:Full :VolumeTag=B00023L3
>  Storage Element 2:Full :VolumeTag=B00039L3
>  Storage Element 3:Full :VolumeTag=B00029L3
>  Storage Element 4:Full :VolumeTag=B00025L3
>  Storage Element 5:Full :VolumeTag=B00028L3
>  Storage Element 6:Full :VolumeTag=B00022L3
>  Storage Element 7:Full :VolumeTag=B00026L3
>  Storage Element 8:Full :VolumeTag=B00031L3
>  Storage Element 9:Full :VolumeTag=B00030L3
>  Storage Element 10:Full :VolumeTag=B00037L3
>
>  Storage Element 11:Full :VolumeTag=B00034L3
>
>  Storage Element 12:Full :VolumeTag=B00035L3
>
>  Storage Element 13:Full :VolumeTag=B00036L3
>
>  Storage Element 14:Full :VolumeTag=B00038L3
>
>  Storage Element 15:Full :VolumeTag=B00032L3
>
>  Storage Element 16:Full :VolumeTag=B00024L3
>
>  Storage Element 17:Full :VolumeTag=B00021L3
>
>  Storage Element 18:Full :VolumeTag=B00020L3
>
>  Storage Element 19:Full :VolumeTag=B00027L3
>
>  Storage Element 20:Full :VolumeTag=B00033L3
>
>
First thing to check, when manual commands work but not when called from 
bacula:
Make sure the user the storage daemon is running as has write access to your 
autochanger device.

--
TiN 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard



Robin P. Blanchard
Systems Administrator
Information Technology Outreach Services
Carl Vinson Institute of Government
The University of Georgia
fon 706.542.6295 // fax 706.542.6535



> -Original Message-
> From: John Drescher [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 01, 2008 1:58 PM
> To: Robin Blanchard
> Cc: bacula
> Subject: Re: [Bacula-users] help with autochanger/barcodes
> 
> On Feb 1, 2008 1:54 PM, Robin Blanchard <[EMAIL PROTECTED]>
> wrote:
> > Trying to label the 20 tapes with their corresponding barcodesIs
> the
> > problem with my device (sd) configuration or is this stemming from
> the
> > mtx-changer script ?
> >
> > *label barcodes
> > Automatically selected Catalog: MyCatalog
> > Using Catalog "MyCatalog"
> > Automatically selected Storage: Drive-1
> > Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> > Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> > 3306 Issuing autochanger "slots" command.
> > Device "Drive-1" has 0 slots.
> > No slots in changer to scan.
> >
> > # mtx -f /dev/pass0 status
> >
> >   Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
> > Data Transfer Element 0:Empty
> > Data Transfer Element 1:Empty
> >   Storage Element 1:Full :VolumeTag=B00023L3
> >   Storage Element 2:Full :VolumeTag=B00039L3
> >   Storage Element 3:Full :VolumeTag=B00029L3
> >   Storage Element 4:Full :VolumeTag=B00025L3
> >   Storage Element 5:Full :VolumeTag=B00028L3
> >   Storage Element 6:Full :VolumeTag=B00022L3
> >   Storage Element 7:Full :VolumeTag=B00026L3
> >   Storage Element 8:Full :VolumeTag=B00031L3
> >   Storage Element 9:Full :VolumeTag=B00030L3
> >   Storage Element 10:Full :VolumeTag=B00037L3
> >
> >   Storage Element 11:Full :VolumeTag=B00034L3
> >
> >   Storage Element 12:Full :VolumeTag=B00035L3
> >
> >   Storage Element 13:Full :VolumeTag=B00036L3
> >
> >   Storage Element 14:Full :VolumeTag=B00038L3
> >
> >   Storage Element 15:Full :VolumeTag=B00032L3
> >
> >   Storage Element 16:Full :VolumeTag=B00024L3
> >
> >   Storage Element 17:Full :VolumeTag=B00021L3
> >
> >   Storage Element 18:Full :VolumeTag=B00020L3
> >
> >   Storage Element 19:Full :VolumeTag=B00027L3
> >
> >   Storage Element 20:Full :VolumeTag=B00033L3
> >
> >
> > Device {
> >   Name = Drive-1
> >   Drive Index = 0
> >   Media Type = LTO3
> >   Description = "IBM Ultrium"
> >   Archive Device = /dev/nsa0
> >   SpoolDirectory = /export/bacula/spool;
> >   AutomaticMount = yes;
> >   AlwaysOpen = yes
> >   RemovableMedia = yes;
> >   RandomAccess = no;
> >   AutoChanger = yes
> >   Offline On Unmount = no
> >   Hardware End of Medium = no
> >   BSF at EOM = yes
> >   Backward Space Record = no
> >   Fast Forward Space File = no
> >   TWO EOF = yes
> >   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> > }
> >
> 
> What do you have for your autochanger resource in bacula-sd.conf?
> 
> John

Autochanger {
  Name = Autochanger
  Device = Drive-1
#  Device = Drive-2
  Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/pass0
}

And, yeah, the btape autochanger test succeeded

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Michael Galloway
what i do is put my tapes in the scratch pool, then let bacula assign them
to my working pools:

label storage=MYSTORAGEDEVICE slots=STARTSLOTNUMBER-ENDSLOTNUMBER pool=Scratch 
barcodes

-- michael

On Fri, Feb 01, 2008 at 01:54:17PM -0500, Robin Blanchard wrote:
> Trying to label the 20 tapes with their corresponding barcodesIs the
> problem with my device (sd) configuration or is this stemming from the
> mtx-changer script ?
> 
> *label barcodes
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected Storage: Drive-1
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Drive-1" has 0 slots.
> No slots in changer to scan.
> 
> # mtx -f /dev/pass0 status
> 
>   Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
> Data Transfer Element 0:Empty
> Data Transfer Element 1:Empty
>   Storage Element 1:Full :VolumeTag=B00023L3
>   Storage Element 2:Full :VolumeTag=B00039L3
>   Storage Element 3:Full :VolumeTag=B00029L3
>   Storage Element 4:Full :VolumeTag=B00025L3
>   Storage Element 5:Full :VolumeTag=B00028L3
>   Storage Element 6:Full :VolumeTag=B00022L3
>   Storage Element 7:Full :VolumeTag=B00026L3
>   Storage Element 8:Full :VolumeTag=B00031L3
>   Storage Element 9:Full :VolumeTag=B00030L3
>   Storage Element 10:Full :VolumeTag=B00037L3
> 
>   Storage Element 11:Full :VolumeTag=B00034L3
> 
>   Storage Element 12:Full :VolumeTag=B00035L3
> 
>   Storage Element 13:Full :VolumeTag=B00036L3
> 
>   Storage Element 14:Full :VolumeTag=B00038L3
> 
>   Storage Element 15:Full :VolumeTag=B00032L3
> 
>   Storage Element 16:Full :VolumeTag=B00024L3
> 
>   Storage Element 17:Full :VolumeTag=B00021L3
> 
>   Storage Element 18:Full :VolumeTag=B00020L3
> 
>   Storage Element 19:Full :VolumeTag=B00027L3
> 
>   Storage Element 20:Full :VolumeTag=B00033L3
> 
> 
> Device {
>   Name = Drive-1
>   Drive Index = 0
>   Media Type = LTO3
>   Description = "IBM Ultrium"
>   Archive Device = /dev/nsa0
>   SpoolDirectory = /export/bacula/spool;
>   AutomaticMount = yes;   
>   AlwaysOpen = yes
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Offline On Unmount = no
>   Hardware End of Medium = no
>   BSF at EOM = yes
>   Backward Space Record = no
>   Fast Forward Space File = no
>   TWO EOF = yes
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
> 
> 
> Robin P. Blanchard
> Systems Administrator
> Information Technology Outreach Services
> Carl Vinson Institute of Government
> The University of Georgia
> fon 706.542.6295 // fax 706.542.6535
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Dan Langille
Robin Blanchard wrote:
> Trying to label the 20 tapes with their corresponding barcodesIs the
> problem with my device (sd) configuration or is this stemming from the
> mtx-changer script ?
> 
> *label barcodes
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected Storage: Drive-1
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Drive-1" has 0 slots.
> No slots in changer to scan.

At first, I said, where's the problem.  OH THERE IT IS.  It helps if you 
explicitly point it out to us old folks.

Check permissions on your mtx-changer script, and the devices it 
accesses with respect to the UID/GID that bacula-sd runs as.

I suspect the script, not the configuration.

> # mtx -f /dev/pass0 status
> 
>   Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
> Data Transfer Element 0:Empty
> Data Transfer Element 1:Empty
>   Storage Element 1:Full :VolumeTag=B00023L3
>   Storage Element 2:Full :VolumeTag=B00039L3
>   Storage Element 3:Full :VolumeTag=B00029L3
>   Storage Element 4:Full :VolumeTag=B00025L3
>   Storage Element 5:Full :VolumeTag=B00028L3
>   Storage Element 6:Full :VolumeTag=B00022L3
>   Storage Element 7:Full :VolumeTag=B00026L3
>   Storage Element 8:Full :VolumeTag=B00031L3
>   Storage Element 9:Full :VolumeTag=B00030L3
>   Storage Element 10:Full :VolumeTag=B00037L3
> 
>   Storage Element 11:Full :VolumeTag=B00034L3
> 
>   Storage Element 12:Full :VolumeTag=B00035L3
> 
>   Storage Element 13:Full :VolumeTag=B00036L3
> 
>   Storage Element 14:Full :VolumeTag=B00038L3
> 
>   Storage Element 15:Full :VolumeTag=B00032L3
> 
>   Storage Element 16:Full :VolumeTag=B00024L3
> 
>   Storage Element 17:Full :VolumeTag=B00021L3
> 
>   Storage Element 18:Full :VolumeTag=B00020L3
> 
>   Storage Element 19:Full :VolumeTag=B00027L3
> 
>   Storage Element 20:Full :VolumeTag=B00033L3
> 
> 
> Device {
>   Name = Drive-1
>   Drive Index = 0
>   Media Type = LTO3
>   Description = "IBM Ultrium"
>   Archive Device = /dev/nsa0
>   SpoolDirectory = /export/bacula/spool;
>   AutomaticMount = yes;   
>   AlwaysOpen = yes
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   Offline On Unmount = no
>   Hardware End of Medium = no
>   BSF at EOM = yes
>   Backward Space Record = no
>   Fast Forward Space File = no
>   TWO EOF = yes
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] help with autochanger/barcodes

2008-02-01 Thread Robin Blanchard
Trying to label the 20 tapes with their corresponding barcodesIs the
problem with my device (sd) configuration or is this stemming from the
mtx-changer script ?

*label barcodes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: Drive-1
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
Connecting to Storage daemon Drive-1 at lewis.itos.uga.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "Drive-1" has 0 slots.
No slots in changer to scan.

# mtx -f /dev/pass0 status

  Storage Changer /dev/pass0:2 Drives, 20 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
  Storage Element 1:Full :VolumeTag=B00023L3
  Storage Element 2:Full :VolumeTag=B00039L3
  Storage Element 3:Full :VolumeTag=B00029L3
  Storage Element 4:Full :VolumeTag=B00025L3
  Storage Element 5:Full :VolumeTag=B00028L3
  Storage Element 6:Full :VolumeTag=B00022L3
  Storage Element 7:Full :VolumeTag=B00026L3
  Storage Element 8:Full :VolumeTag=B00031L3
  Storage Element 9:Full :VolumeTag=B00030L3
  Storage Element 10:Full :VolumeTag=B00037L3

  Storage Element 11:Full :VolumeTag=B00034L3

  Storage Element 12:Full :VolumeTag=B00035L3

  Storage Element 13:Full :VolumeTag=B00036L3

  Storage Element 14:Full :VolumeTag=B00038L3

  Storage Element 15:Full :VolumeTag=B00032L3

  Storage Element 16:Full :VolumeTag=B00024L3

  Storage Element 17:Full :VolumeTag=B00021L3

  Storage Element 18:Full :VolumeTag=B00020L3

  Storage Element 19:Full :VolumeTag=B00027L3

  Storage Element 20:Full :VolumeTag=B00033L3


Device {
  Name = Drive-1
  Drive Index = 0
  Media Type = LTO3
  Description = "IBM Ultrium"
  Archive Device = /dev/nsa0
  SpoolDirectory = /export/bacula/spool;
  AutomaticMount = yes;   
  AlwaysOpen = yes
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = yes
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}


Robin P. Blanchard
Systems Administrator
Information Technology Outreach Services
Carl Vinson Institute of Government
The University of Georgia
fon 706.542.6295 // fax 706.542.6535




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: Tape Library with 4 drives

2008-02-01 Thread John Drescher
> My original configuration have 4 drives (like your example).  But the 
> sd-server can't use drives where there drive index is something other than 0 
> (=zero).
>
> When i use Drive-2 the sd-server log out the following error (debug 400):
>
> ---
> want=0 got=2
> ---
>
> Why the sd server want zero and not 2? I don't now!
>
You need to post more details of your system and bacula version, your
current configs and the exact error messages. It is impossible to
debug with the amount of information you have revealed.


John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: Tape Library with 4 drives

2008-02-01 Thread Heiko.Schack
Hi,


> -Original Message-
> From: John Drescher [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 01, 2008 4:00 PM
> To: Schack; Bacula Users
> Subject: Re: [Bacula-users] Problem: Tape Library with 4 drives
> 
> > I have this problem with all drives where there drive index is greater
> then 0.
> >
> >
> > bacula-sd.conf
> > ---
> > Autochanger {
> >   Name = sgzhBaculaSD2-LTO
> >   Device = Drive-1
> >   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
> >   Changer Device = /dev/sg0
> > }
> >
> >
> > Device {
> >   Name = Drive-1 #
> >   Drive Index = 1
> >   Media Type = LTO
> >   Archive Device = /dev/nst1
> >   AutomaticMount = yes;   # when device opened, read it
> >   AlwaysOpen = yes;
> >   RemovableMedia = yes;
> >   RandomAccess = no;
> >   AutoChanger = yes;
> >   Autoselect = yes
> >   Spool Directory = "/var/lib/bacula/tmp"
> > }
> > ---
> >
> > Perhaps someone has an idea? In version 1.38.11 it still ran. I think it
> is a problem with the Drive Index id.
> >
> I am confused. Why are you defining only 1 drive? There should be 4
> device entries and the autochanger resource should reference all of
> them.
> 
> Autochanger {
>Name = sgzhBaculaSD2-LTO
>Device = Drive-0,Drive-1,Drive-2,Drive-3
>Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>Changer Device = /dev/sg0
>  }
> 
>  Device {
>Name = Drive-0 #
>Drive Index = 0
>Media Type = LTO
>Archive Device = /dev/nst0
>AutomaticMount = yes;   # when device opened, read it
>AlwaysOpen = yes;
>RemovableMedia = yes;
>RandomAccess = no;
>AutoChanger = yes;
>Autoselect = yes
>Spool Directory = "/var/lib/bacula/tmp"
>  }
> 
> Device {
>Name = Drive-1 #
>Drive Index = 1
>Media Type = LTO
>Archive Device = /dev/nst1
>AutomaticMount = yes;   # when device opened, read it
>AlwaysOpen = yes;
>RemovableMedia = yes;
>RandomAccess = no;
>AutoChanger = yes;
>Autoselect = yes
>Spool Directory = "/var/lib/bacula/tmp"
>  }
> 
> Device {
>Name = Drive-2 #
>Drive Index = 2
>Media Type = LTO
>Archive Device = /dev/nst2
>AutomaticMount = yes;   # when device opened, read it
>AlwaysOpen = yes;
>RemovableMedia = yes;
>RandomAccess = no;
>AutoChanger = yes;
>Autoselect = yes
>Spool Directory = "/var/lib/bacula/tmp"
>  }
> 
> Device {
>Name = Drive-3 #
>Drive Index = 3
>Media Type = LTO
>Archive Device = /dev/nst3
>AutomaticMount = yes;   # when device opened, read it
>AlwaysOpen = yes;
>RemovableMedia = yes;
>RandomAccess = no;
>AutoChanger = yes;
>Autoselect = yes
>Spool Directory = "/var/lib/bacula/tmp"
>  }
> 
> John

My original configuration have 4 drives (like your example).  But the sd-server 
can't use drives where there drive index is something other than 0 (=zero). 

When i use Drive-2 the sd-server log out the following error (debug 400):

---
want=0 got=2
---

Why the sd server want zero and not 2? I don't now! 

Thx

Heiko
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with storage (LTO-2)

2008-02-01 Thread Tyekanyk
allright, thank you very very much, I will look into it

On Feb 1, 2008 1:25 PM, John Drescher <[EMAIL PROTECTED]> wrote:

> On Feb 1, 2008 10:15 AM, Tyekanyk <[EMAIL PROTECTED]> wrote:
> > this error happen when any tape is loaded, not always, but in some cases
> > with no reason it happens, when I change the daily tapes for example...
> >
> > im running bacula 2.0.3 on a debian sarge... I do not have an
> autochanger
> > and I have 3 pools of tapes (daily, weekly, monthly with 4, 4, and 2
> > respectively).
> >  the server that controls storage is a debian sarge, and where the
> director
> > runs is an etch...
> > this is the complete output of the bconsole error:
> >
> > 01-feb 02:02 adm-dir: Start Backup JobId 633,
> > Job=adm-mysql-diario.2008-02-01_02.00.00
> >  01-feb 02:02 adm-sd: Volume "vi" previously written, moving to end of
> data.
> >
> > 01-feb 02:04 adm-sd: adm-mysql-diario.2008-02-01_02.00.00 Error: Unable
> to
> > position to end of data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl
> > MTIOCGET error on "LTO" (/dev/nst0). ERR=Input/output error.
> >
> The error above appears to be a timeout problem. I will take a look at
> this later. In the meantime you may want to do a google search with
> the following terms:
>
>  bacula MTIOCGET
>
> I have seen a few discussions about MTIOCGET errors on this list before.
>
> John
>



-- 
-Jorixine-
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with storage (LTO-2)

2008-02-01 Thread John Drescher
On Feb 1, 2008 10:15 AM, Tyekanyk <[EMAIL PROTECTED]> wrote:
> this error happen when any tape is loaded, not always, but in some cases
> with no reason it happens, when I change the daily tapes for example...
>
> im running bacula 2.0.3 on a debian sarge... I do not have an autochanger
> and I have 3 pools of tapes (daily, weekly, monthly with 4, 4, and 2
> respectively).
>  the server that controls storage is a debian sarge, and where the director
> runs is an etch...
> this is the complete output of the bconsole error:
>
> 01-feb 02:02 adm-dir: Start Backup JobId 633,
> Job=adm-mysql-diario.2008-02-01_02.00.00
>  01-feb 02:02 adm-sd: Volume "vi" previously written, moving to end of data.
>
> 01-feb 02:04 adm-sd: adm-mysql-diario.2008-02-01_02.00.00 Error: Unable to
> position to end of data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl
> MTIOCGET error on "LTO" (/dev/nst0). ERR=Input/output error.
>
The error above appears to be a timeout problem. I will take a look at
this later. In the meantime you may want to do a google search with
the following terms:

 bacula MTIOCGET

I have seen a few discussions about MTIOCGET errors on this list before.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with storage (LTO-2)

2008-02-01 Thread John Drescher
On Feb 1, 2008 7:34 AM, Tyekanyk <[EMAIL PROTECTED]> wrote:
> Hi all, im currently having some issues with my HP Ultrium LTO-2... It is
> connected via scsi on an HP server too
> Sometimes I get this error in bconsole:
>
> 01-feb 02:04 adm-sd: adm-mysql-diario.2008-02-01_02.00.00 Error: Unable to
> position to end of data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl
> MTIOCGET error on "LTO" (/dev/nst0). ERR=Input/output error.
>
Does this error happen when loading a new tape? If so edit the
mtx-changer script and add some delay where the comments suggest that.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with storage (LTO-2)

2008-02-01 Thread Tyekanyk
this error happen when any tape is loaded, not always, but in some cases
with no reason it happens, when I change the daily tapes for example...

im running bacula 2.0.3 on a debian sarge... I do not have an autochanger
and I have 3 pools of tapes (daily, weekly, monthly with 4, 4, and 2
respectively).
the server that controls storage is a debian sarge, and where the director
runs is an etch...
this is the complete output of the bconsole error:

01-feb 02:02 adm-dir: Start Backup JobId 633, Job=
adm-mysql-diario.2008-02-01_02.00.00
01-feb 02:02 adm-sd: Volume "vi" previously written, moving to end of data.
01-feb 02:04 adm-sd: adm-mysql-diario.2008-02-01_02.00.00 Error: Unable to
position to end of data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl
MTIOCGET error on "LTO" (/dev/nst0). ERR=Input/output error.

01-feb 02:04 adm-sd: Marking Volume "vi" in Error in Catalog.

this is no happening always, sometimes I load the tape and the next day at
2am the backup begins without any problems...
ask for any more information if needed.

Sorry for my english, im in argentina



On Feb 1, 2008 1:02 PM, John Drescher <[EMAIL PROTECTED]> wrote:

> On Feb 1, 2008 7:34 AM, Tyekanyk <[EMAIL PROTECTED]> wrote:
> > Hi all, im currently having some issues with my HP Ultrium LTO-2... It
> is
> > connected via scsi on an HP server too
> > Sometimes I get this error in bconsole:
> >
> > 01-feb 02:04 adm-sd: adm-mysql-diario.2008-02-01_02.00.00 Error: Unable
> to
> > position to end of data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl
> > MTIOCGET error on "LTO" (/dev/nst0). ERR=Input/output error.
> >
> Does this error happen when loading a new tape? If so edit the
> mtx-changer script and add some delay where the comments suggest that.
>
> John
>



-- 
-Jorixine-
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with storage (LTO-2)

2008-02-01 Thread John Drescher
On Feb 1, 2008 10:02 AM, John Drescher <[EMAIL PROTECTED]> wrote:
> On Feb 1, 2008 7:34 AM, Tyekanyk <[EMAIL PROTECTED]> wrote:
> > Hi all, im currently having some issues with my HP Ultrium LTO-2... It is
> > connected via scsi on an HP server too
> > Sometimes I get this error in bconsole:
> >
> > 01-feb 02:04 adm-sd: adm-mysql-diario.2008-02-01_02.00.00 Error: Unable to
> > position to end of data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl
> > MTIOCGET error on "LTO" (/dev/nst0). ERR=Input/output error.
> >
> Does this error happen when loading a new tape? If so edit the
> mtx-changer script and add some delay where the comments suggest that.
>
Sorry forgot to mention this solution is only for autochangers. If you
do not have an autochanger please describe your system in detail and
post more of the error message.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem: Tape Library with 4 drives

2008-02-01 Thread John Drescher
> I have this problem with all drives where there drive index is greater then 0.
>
>
> bacula-sd.conf
> ---
> Autochanger {
>   Name = sgzhBaculaSD2-LTO
>   Device = Drive-1
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg0
> }
>
>
> Device {
>   Name = Drive-1 #
>   Drive Index = 1
>   Media Type = LTO
>   Archive Device = /dev/nst1
>   AutomaticMount = yes;   # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes;
>   Autoselect = yes
>   Spool Directory = "/var/lib/bacula/tmp"
> }
> ---
>
> Perhaps someone has an idea? In version 1.38.11 it still ran. I think it is a 
> problem with the Drive Index id.
>
I am confused. Why are you defining only 1 drive? There should be 4
device entries and the autochanger resource should reference all of
them.

Autochanger {
   Name = sgzhBaculaSD2-LTO
   Device = Drive-0,Drive-1,Drive-2,Drive-3
   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
   Changer Device = /dev/sg0
 }

 Device {
   Name = Drive-0 #
   Drive Index = 0
   Media Type = LTO
   Archive Device = /dev/nst0
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes;
   Autoselect = yes
   Spool Directory = "/var/lib/bacula/tmp"
 }

Device {
   Name = Drive-1 #
   Drive Index = 1
   Media Type = LTO
   Archive Device = /dev/nst1
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes;
   Autoselect = yes
   Spool Directory = "/var/lib/bacula/tmp"
 }

Device {
   Name = Drive-2 #
   Drive Index = 2
   Media Type = LTO
   Archive Device = /dev/nst2
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes;
   Autoselect = yes
   Spool Directory = "/var/lib/bacula/tmp"
 }

Device {
   Name = Drive-3 #
   Drive Index = 3
   Media Type = LTO
   Archive Device = /dev/nst3
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes;
   Autoselect = yes
   Spool Directory = "/var/lib/bacula/tmp"
 }

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: how to relabel / assign to appropriate pool

2008-02-01 Thread John Drescher
On Feb 1, 2008 8:48 AM, Robin Blanchard <[EMAIL PROTECTED]> wrote:
> > > > On Jan 31, 2008 4:13 PM, Robin Blanchard
> > > <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > Finally trying to conduct a real-world test here. Must be
> > something
> > > > > trivial I'm overlooking here ?
> > > > >
> > > > What exactly are you trying to do here? You never want to manually
> > > > label tapes that have barcodes on them.
> > > >
> > > > John
> > >
> > > Btape multitape test must have assigned this, no ?
> > >
> > > Cannot label Volume because it is already labeled: "TestVolume1"
> > >
> > > I'm simply trying to conduct a simple test (backup to tape)
> > >
> > Use
> > delete volume
> >
> > and follow the prompts.
> >
> > John
>
> What am I doing wrong here ?
>
Nothing. The tape is not in the catalog but has a label. In this case
you need to erase the tape. Load the tape in the drive and look at
Kern's answer here:

http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg16858.html

If your drive is not st0 replace that with the correct drive. Also you
probably should stop bacula-sd because depending on how you configured
things it may have exclusive access to your tape drive.

John



-- 
John M. Drescher

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Query on Bacula Feature

2008-02-01 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:

> 1.Whether Bacula supports any kind of fault-tolerance. If yes, what
> are the schemes?

Can you be more specific about what kinds of faults you're interested in, and
what levels of tolerance?

> 2.Whether Bacula supports any kind of Load-balancing. If yes, please
> provide details.

If you mean having backups pointed at a cluster of storage daemons, no, it
does not.

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
> Hi,
> As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
> everyone who's contributed to Bacula!
> 
> When the backup status is "Backup OK -- with warnings" the subject of 
> the report e-mail is always "Backup OK".
> My co-workers (and sometimes I) often miss small problems that cause the 
> warnings because it's assumed from the subject of the e-mail that the 
> backup was completely successful - especially with a high volume of 
> e-mailed reports.
> 
> My natural assumption is that the e-mail subject would be the same as 
> the backup status.
> Is this not the case by design?

As far as I know, there's no way to include warnings in the subject line, no.
 Doing so sounds pretty reasonable to me, so I'd suggest that you file a
feature request to ask if the current behavior can be improved.  You can find
directions on how to make a feature request here:

http://bacula.org/en/?page=feature-request

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with storage (LTO-2)

2008-02-01 Thread Tyekanyk
Hi all, im currently having some issues with my HP Ultrium LTO-2... It is
connected via scsi on an HP server too
Sometimes I get this error in bconsole:

01-feb 02:04 adm-sd:
adm-mysql-diario.2008-02-01_02.00.00 Error: Unable to position to end of
data on device "LTO" (/dev/nst0): ERR=dev.c:931 ioctl MTIOCGET error on
"LTO" (/dev/nst0). ERR=Input/output error.

This error is not always there, only thing I have to do to start backups is
to umount and remount the device and that's it (previously updating the
volume parameters, since it is marked as error)
As you imagine doing this delays the backups nearly 6 hours (from the
schedule time, till I get here).
If some kind soul can help me will be really apreciatted.
Thank you so much

Horacio Lo Brutto
-- 
-Jorixine-
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Query on Bacula Feature

2008-02-01 Thread sandip.mandal1
Hi,

 

Can anyone help me answering these questions?

 

 

1.Whether Bacula supports any kind of fault-tolerance. If yes, what
are the schemes?

 

2.Whether Bacula supports any kind of Load-balancing. If yes, please
provide details.

 

 

Thanks,

 

Sandip Mandal

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread tomasz dereszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> tomasz dereszynski wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> [EMAIL PROTECTED] wrote:
>>   
>>> tomasz dereszynski wrote:
>>> 
 depends

 subject is the same as the backup status! as bacula backed up with no
 errors everything it could! it couldnt backup some stuff cos for example
 it do not exist then it is not error only warning.

 cos the 'small problems you miss' are not problems in terms of how
 useful is what you backed up.
 i will more say as bacula is bit 'stupid proof' and i will back up
 'stuff' even if you done typo or so.

 if your fileset contain  not existing directory would you like to have
 backup anyway or not?

 it means as you are warned about some problems but they are not critical.
 for me it has a lot of sense. and i think as it is good way of doing it.

 is it what you asked for?
   
>>> Yes and no ;-)
>>>
>>> The if the status of the backup was "with warnings" then I would expect 
>>> this to be reflected in the subject of the e-mail.
>>>
>>> One real-life example...
>>>
>>> We have a job to backup up the Bacula database. The 
>>> 'make_catalog_backup' script is executed at the start and 
>>> 'delete_catalog_backup' at the end, and the job is defined to back up 
>>> only *one* file - the dumped Bacula SQL database text file.
>>>
>>> However at some point the dumped database became to large for the 
>>> file-system and the 'make_catalog_backup' and 'delete_catalog_backup' 
>>> script were modified to dump the database to a different file-system.
>>>
>>> For some time this job had failed completely because it could no longer 
>>> find the file to back up! Our Bacula database backups were failing and 
>>> we didn't know!
>>>
>>> The subject of the job e-mail told us "Backup OK" which was taken to 
>>> mean just that - that the backup was OK.
>>> However the actual backup status in the contents of the e-mail was "with 
>>> warnings". If the subject reflected the same state as the log then 
>>> someone would have realised the first night!
>>>
>>> I find the fact that the subject differs from the actual status illogical.
>>> 
>> bacula do not track or care about scripts running as before_backup
>> thingy if they are successful or not.
>>
>> bacula care about files to backup
>>
>> if 'external' script for some reason failed i does not mean it is
>> important for bacula.
>>
>> i do understand where you coming from but i still think as STATUS OK is
>>  valid.
>>
>> and it this terms i will say as job didnt fail there was just nothing to
>> backup cos 'make' script was broken. or it was still the same dump file.
>>
>> bacula done its job.
>>
>> its called human factor isnt it?
> Hi again Thomasz,
> You misunderstand again :-p The script wasn't broken.
> The job definition became incorrect. The job is configured to backup 
> only one file - the dumped Bacula SQL database text file. However 
> because this file changed location the job failed for some time. Because 
> the e-mail subject didn't report "with warnings" no-one noticed for some 
> time!
> As you say, Bacula cares about files to back up. If any files cause 
> warnings then why wouldn't Bacula show this in the subject with "Backup 
> OK -- with warnings" when the status in the log is also "Backup OK -- 
> with warnings"?
> The user can still choose to ignore the e-mail the same whether the 
> subject is "Backup OK" or "Backup OK -- with warnings".
> 
> I think my real-life example shows how important is it to reflect there 
> were warnings in the subject line, and the confusion caused when the two 
> statuses differ!
> 
> Justin
> 


Justin,
i have to admit as you are right.
i misunderstood from beginning.

cos now i understand as only one thing you request it info in subject
'with warnings'.

i do apologise for misunderstanding.

it make kind of sense ;-)

thats why checking logs at time to time make sense too. ;-)

all the best

- --
bEsT rEgArDs|   "Confidence is what you have before you
tomasz dereszynski  |   understand the problem." -- Woody Allen
|   
Spes confisa Deo|   "In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different." -- Albert Einstein

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHow9a5GTLLfVywbsRAvKoAJ9M060mnCGm+hd6n/jVaQQsTqGrjACgpaw7
DcTNBTuOfmuFVJBFI43n3mI=
=czME
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing li

Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread Martin Simmons
> On Fri, 01 Feb 2008 10:20:56 +, justin  said:
> 
> Hi,
> As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
> everyone who's contributed to Bacula!
> 
> When the backup status is "Backup OK -- with warnings" the subject of 
> the report e-mail is always "Backup OK".
> My co-workers (and sometimes I) often miss small problems that cause the 
> warnings because it's assumed from the subject of the e-mail that the 
> backup was completely successful - especially with a high volume of 
> e-mailed reports.
> 
> My natural assumption is that the e-mail subject would be the same as 
> the backup status.
> Is this not the case by design?

The state doesn't actually include the "with warnings" part -- it is only
printed like that.

You could use a customized mailcommand or something like procmail to alter the
emails before they are seen by a human.

__Martin

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.2.8 wont start (MacOS X)

2008-02-01 Thread Hydro Meteor
Hello again Piero,

Sorry I don't have a MySQL installation with Bacula, otherwise I could help
you solve your MySQL problem with Bacula on Leo. All I can do is say that
there is for sure hope, because I have Bacula 2.2.8 on Leopard 10.5.1 built
against Postgres running perfect so far. I am about to research the details
of Leopard's use of extended attributes (EAs) including Access Control List
(ACL) metadata information that is stored in some files on the HFS file
systems. By the way, I should also let you know that the disk volumes that I
attach to my Mac that runs Leopard Server 10.5.1 are all HFSX journaled
(that is, case-sensitive). You might know that you can now have the option,
with Leopard, to install your boot disc volumes from the Apple Leopard DVD
discs as HSFX (case sensitive). This is great news because in Tiger we only
had the option of formatting non-boot-discs with HFSX. I'm pretty sure that
the HFSX case sensitive option for the Mac OS X boot discs were required in
order for Apple to get Mac OS X to be fully UNIX certified:

http://www.apple.com/macosx/technology/unix.html

UNIX certification.
>
> Leopard is an Open Brand UNIX 03 Registered Product, conforming to the
> SUSv3 and POSIX 1003.1 specifications for the C API, Shell Utilities, and
> Threads. Since Leopard can compile and run all your existing UNIX code, you
> can deploy it in environments that demand full conformance — complete with
> hooks to maintain compatibility with existing software.
>

Now that Apple is well past its move to Intel architecture, and it is now
UNIX certified and fully 64-bit capable, and considering the competing
products for virtual systems on Mac OS X (VMWare's Fusion and Parallels), I
foresee Apple becoming stronger and stronger with time.

I am currently running Bacula on an Xserve in case you're wondering about my
hardware et up. What hardware are you attempting to run Bacula on? Is your
hardware Intel or PowerPC based?

Cheers,

Hydro

On 2/1/08, Piero Giobbi <[EMAIL PROTECTED]> wrote:
>
> Hi again!
> No im not running Macports, my next step is to use that instead (with
> bacula 2.2.6) but i rather get this running!
>
> Im on the same track, something is fishy with bacula - mysql, maybe bacula
> can't find this file:
>
> dyld: Library not loaded:
> /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib
>
> p
>
> 1 feb 2008 kl. 12.18 skrev Hydro Meteor:
>
> Oops hello to everyone and especially Piero Giobbi, I must be dreaming or
> having a temporary lapse of amnesia. Of course the Storage Daemon has an
> Archive Device directive (it has been a while since I looked at Bacula
> configuration files so I forgot about it).
>
> So, I just added "/tmp" to the Archive Device directive in the Storage
> Daemon configuration file, and great news --> Bacula 2.2.8 daemons
> (Director, Storage, File) are all running on Leopard Server 10.5.1
>
> Even though you have MySQL running on your Leopard system, please let me
> know if I can provide some tips / suggestions for how to get Bacula 
> 2.2.8running on your system. Glancing at your output from the error you
> encountered, it looks to be for sure some problem related to when you ran
> ./configure (when specifying the configuration arguments required for
> building against MySQL). Take a look at libsql in your make output -- I bet
> you'll find some errors there. For example, I don't have MySQL or sqlite on
> my system, so I got these complaints when running make:
>
> Making libsql.a ...
> > /usr/bin/ar rc  libsql.a mysql.o bdb.o bdb_create.o bdb_get.o
> > bdb_update.o bdb_delete.o bdb_find.o bdb_list.o sql.o sql_cmds.o
> > sql_create.o sql_delete.o sql_find.o sql_get.o sql_list.o sql_update.o
> > sqlite.o postgresql.o
> > ranlib: file: libsql.a(mysql.o) has no symbols
> > ranlib: file: libsql.a(bdb.o) has no symbols
> > ranlib: file: libsql.a(bdb_create.o) has no symbols
> > ranlib: file: libsql.a(bdb_get.o) has no symbols
> > ranlib: file: libsql.a(bdb_update.o) has no symbols
> > ranlib: file: libsql.a(bdb_delete.o) has no symbols
> > ranlib: file: libsql.a(bdb_find.o) has no symbols
> > ranlib: file: libsql.a(bdb_list.o) has no symbols
> > ranlib: file: libsql.a(sqlite.o) has no symbols
> > ranlib libsql.a
> > ranlib: file: libsql.a(mysql.o) has no symbols
> > ranlib: file: libsql.a(bdb.o) has no symbols
> > ranlib: file: libsql.a(bdb_create.o) has no symbols
> > ranlib: file: libsql.a(bdb_get.o) has no symbols
> > ranlib: file: libsql.a(bdb_update.o) has no symbols
> > ranlib: file: libsql.a(bdb_delete.o) has no symbols
> > ranlib: file: libsql.a(bdb_find.o) has no symbols
> > ranlib: file: libsql.a(bdb_list.o) has no symbols
> > ranlib: file: libsql.a(sqlite.o) has no symbols
> >  Make of cats is good 
> >
>
> When I made Bacula 2.2.3 on Tiger Server 10.4.10 against PostgreSQL 8.1.9,
> I didn't have these ranlib "no symbols" results. So something has changed.
>
> By the way, I have just about all of my dependencies for Bacula installed
> as MacPorts. Do

Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread justin
tomasz dereszynski wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> [EMAIL PROTECTED] wrote:
>   
>> tomasz dereszynski wrote:
>> 
>>> depends
>>>
>>> subject is the same as the backup status! as bacula backed up with no
>>> errors everything it could! it couldnt backup some stuff cos for example
>>> it do not exist then it is not error only warning.
>>>
>>> cos the 'small problems you miss' are not problems in terms of how
>>> useful is what you backed up.
>>> i will more say as bacula is bit 'stupid proof' and i will back up
>>> 'stuff' even if you done typo or so.
>>>
>>> if your fileset contain  not existing directory would you like to have
>>> backup anyway or not?
>>>
>>> it means as you are warned about some problems but they are not critical.
>>> for me it has a lot of sense. and i think as it is good way of doing it.
>>>
>>> is it what you asked for?
>>>   
>> Yes and no ;-)
>>
>> The if the status of the backup was "with warnings" then I would expect 
>> this to be reflected in the subject of the e-mail.
>>
>> One real-life example...
>>
>> We have a job to backup up the Bacula database. The 
>> 'make_catalog_backup' script is executed at the start and 
>> 'delete_catalog_backup' at the end, and the job is defined to back up 
>> only *one* file - the dumped Bacula SQL database text file.
>>
>> However at some point the dumped database became to large for the 
>> file-system and the 'make_catalog_backup' and 'delete_catalog_backup' 
>> script were modified to dump the database to a different file-system.
>>
>> For some time this job had failed completely because it could no longer 
>> find the file to back up! Our Bacula database backups were failing and 
>> we didn't know!
>>
>> The subject of the job e-mail told us "Backup OK" which was taken to 
>> mean just that - that the backup was OK.
>> However the actual backup status in the contents of the e-mail was "with 
>> warnings". If the subject reflected the same state as the log then 
>> someone would have realised the first night!
>>
>> I find the fact that the subject differs from the actual status illogical.
>> 
>
> bacula do not track or care about scripts running as before_backup
> thingy if they are successful or not.
>
> bacula care about files to backup
>
> if 'external' script for some reason failed i does not mean it is
> important for bacula.
>
> i do understand where you coming from but i still think as STATUS OK is
>  valid.
>
> and it this terms i will say as job didnt fail there was just nothing to
> backup cos 'make' script was broken. or it was still the same dump file.
>
> bacula done its job.
>
> its called human factor isnt it?
Hi again Thomasz,
You misunderstand again :-p The script wasn't broken.
The job definition became incorrect. The job is configured to backup 
only one file - the dumped Bacula SQL database text file. However 
because this file changed location the job failed for some time. Because 
the e-mail subject didn't report "with warnings" no-one noticed for some 
time!
As you say, Bacula cares about files to back up. If any files cause 
warnings then why wouldn't Bacula show this in the subject with "Backup 
OK -- with warnings" when the status in the log is also "Backup OK -- 
with warnings"?
The user can still choose to ignore the e-mail the same whether the 
subject is "Backup OK" or "Backup OK -- with warnings".

I think my real-life example shows how important is it to reflect there 
were warnings in the subject line, and the confusion caused when the two 
statuses differ!

Justin

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread Sébastien Guilbaud
> bacula do not track or care about scripts running as before_backup
> thingy if they are successful or not.
>
> bacula care about files to backup
>
> if 'external' script for some reason failed i does not mean it is
> important for bacula.
>
> i do understand where you coming from but i still think as STATUS OK is
>  valid.
>
> and it this terms i will say as job didnt fail there was just nothing to
> backup cos 'make' script was broken. or it was still the same dump file.
>
> bacula done its job.
>
> its called human factor isnt it?

it's not a matter of external script failure handling : it's a matter of
whether bacula should reflect job status (ok with warnings) in the
subject of the mail... If you want to backup a directory, when this
directory does no longer exist, bacula issues a warning in the *body*
of the message, but nothing in the subject warns you of this "error"

As the OP, I think it would be great to have this kind of information
in the subject, or maybe there's another way to be alerted when
this happens ?

have a nice day !

-- 
seb

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread tomasz dereszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> tomasz dereszynski wrote:
>> depends
>>
>> subject is the same as the backup status! as bacula backed up with no
>> errors everything it could! it couldnt backup some stuff cos for example
>> it do not exist then it is not error only warning.
>>
>> cos the 'small problems you miss' are not problems in terms of how
>> useful is what you backed up.
>> i will more say as bacula is bit 'stupid proof' and i will back up
>> 'stuff' even if you done typo or so.
>>
>> if your fileset contain  not existing directory would you like to have
>> backup anyway or not?
>>
>> it means as you are warned about some problems but they are not critical.
>> for me it has a lot of sense. and i think as it is good way of doing it.
>>
>> is it what you asked for?
> Yes and no ;-)
> 
> The if the status of the backup was "with warnings" then I would expect 
> this to be reflected in the subject of the e-mail.
> 
> One real-life example...
> 
> We have a job to backup up the Bacula database. The 
> 'make_catalog_backup' script is executed at the start and 
> 'delete_catalog_backup' at the end, and the job is defined to back up 
> only *one* file - the dumped Bacula SQL database text file.
> 
> However at some point the dumped database became to large for the 
> file-system and the 'make_catalog_backup' and 'delete_catalog_backup' 
> script were modified to dump the database to a different file-system.
> 
> For some time this job had failed completely because it could no longer 
> find the file to back up! Our Bacula database backups were failing and 
> we didn't know!
> 
> The subject of the job e-mail told us "Backup OK" which was taken to 
> mean just that - that the backup was OK.
> However the actual backup status in the contents of the e-mail was "with 
> warnings". If the subject reflected the same state as the log then 
> someone would have realised the first night!
> 
> I find the fact that the subject differs from the actual status illogical.

bacula do not track or care about scripts running as before_backup
thingy if they are successful or not.

bacula care about files to backup

if 'external' script for some reason failed i does not mean it is
important for bacula.

i do understand where you coming from but i still think as STATUS OK is
 valid.

and it this terms i will say as job didnt fail there was just nothing to
backup cos 'make' script was broken. or it was still the same dump file.

bacula done its job.

its called human factor isnt it?

- --
bEsT rEgArDs|   "Confidence is what you have before you
tomasz dereszynski  |   understand the problem." -- Woody Allen
|   
Spes confisa Deo|   "In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different." -- Albert Einstein

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHowkF5GTLLfVywbsRAgDJAJ0RxrKu2sGSI6xoO2ie6ozUcL0htACdFLja
CZSyrVY+GQnYYQ62PrJcWEQ=
=5Kpt
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread justin
tomasz dereszynski wrote:
> depends
>
> subject is the same as the backup status! as bacula backed up with no
> errors everything it could! it couldnt backup some stuff cos for example
> it do not exist then it is not error only warning.
>
> cos the 'small problems you miss' are not problems in terms of how
> useful is what you backed up.
> i will more say as bacula is bit 'stupid proof' and i will back up
> 'stuff' even if you done typo or so.
>
> if your fileset contain  not existing directory would you like to have
> backup anyway or not?
>
> it means as you are warned about some problems but they are not critical.
> for me it has a lot of sense. and i think as it is good way of doing it.
>
> is it what you asked for?
Yes and no ;-)

The if the status of the backup was "with warnings" then I would expect 
this to be reflected in the subject of the e-mail.

One real-life example...

We have a job to backup up the Bacula database. The 
'make_catalog_backup' script is executed at the start and 
'delete_catalog_backup' at the end, and the job is defined to back up 
only *one* file - the dumped Bacula SQL database text file.

However at some point the dumped database became to large for the 
file-system and the 'make_catalog_backup' and 'delete_catalog_backup' 
script were modified to dump the database to a different file-system.

For some time this job had failed completely because it could no longer 
find the file to back up! Our Bacula database backups were failing and 
we didn't know!

The subject of the job e-mail told us "Backup OK" which was taken to 
mean just that - that the backup was OK.
However the actual backup status in the contents of the e-mail was "with 
warnings". If the subject reflected the same state as the log then 
someone would have realised the first night!

I find the fact that the subject differs from the actual status illogical.

Many thanks,
Justin

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread justin
tomasz dereszynski wrote:
> [EMAIL PROTECTED] wrote:
>   
>> Hi,
>> As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
>> everyone who's contributed to Bacula!
>>
>> When the backup status is "Backup OK -- with warnings" the subject of 
>> the report e-mail is always "Backup OK".
>> My co-workers (and sometimes I) often miss small problems that cause the 
>> warnings because it's assumed from the subject of the e-mail that the 
>> backup was completely successful - especially with a high volume of 
>> e-mailed reports.
>>
>> My natural assumption is that the e-mail subject would be the same as 
>> the backup status.
>> Is this not the case by design?
>>
>> 
> look into bacula log file.
> it often mean as you tried to back up /dev or fileset include directory
> which do not exist on fd server.
> check out in log.
>   
Hi Tomasz,
Thanks for your reply, but that wasn't what I was asking ;-)

Justin

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread tomasz dereszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> tomasz dereszynski wrote:
>> [EMAIL PROTECTED] wrote:
>>   
>>> Hi,
>>> As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
>>> everyone who's contributed to Bacula!
>>>
>>> When the backup status is "Backup OK -- with warnings" the subject of 
>>> the report e-mail is always "Backup OK".
>>> My co-workers (and sometimes I) often miss small problems that cause the 
>>> warnings because it's assumed from the subject of the e-mail that the 
>>> backup was completely successful - especially with a high volume of 
>>> e-mailed reports.
>>>
>>> My natural assumption is that the e-mail subject would be the same as 
>>> the backup status.
>>> Is this not the case by design?
>>>
>>> 
>> look into bacula log file.
>> it often mean as you tried to back up /dev or fileset include directory
>> which do not exist on fd server.
>> check out in log.
>>   
> Hi Tomasz,
> Thanks for your reply, but that wasn't what I was asking ;-)
> 
> Justin

depends

subject is the same as the backup status! as bacula backed up with no
errors everything it could! it couldnt backup some stuff cos for example
it do not exist then it is not error only warning.

cos the 'small problems you miss' are not problems in terms of how
useful is what you backed up.
i will more say as bacula is bit 'stupid proof' and i will back up
'stuff' even if you done typo or so.

if your fileset contain  not existing directory would you like to have
backup anyway or not?

it means as you are warned about some problems but they are not critical.
for me it has a lot of sense. and i think as it is good way of doing it.

is it what you asked for?


- --
bEsT rEgArDs|   "Confidence is what you have before you
tomasz dereszynski  |   understand the problem." -- Woody Allen
|   
Spes confisa Deo|   "In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different." -- Albert Einstein

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHowIF5GTLLfVywbsRAgKcAJ9zteSSZrChfa6giqwii6GEDGGN3gCcC+J2
0n4biZL3pGWOEMZxKeqIENw=
=/O5A
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.2.8 wont start (MacOS X)

2008-02-01 Thread Piero Giobbi

Hi again!

No im not running Macports, my next step is to use that instead (with  
bacula 2.2.6) but i rather get this running!


Im on the same track, something is fishy with bacula - mysql, maybe  
bacula can't find this file:


dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient_r. 
15.dylib


p

1 feb 2008 kl. 12.18 skrev Hydro Meteor:

Oops hello to everyone and especially Piero Giobbi, I must be  
dreaming or having a temporary lapse of amnesia. Of course the  
Storage Daemon has an Archive Device directive (it has been a while  
since I looked at Bacula configuration files so I forgot about it).


So, I just added "/tmp" to the Archive Device directive in the  
Storage Daemon configuration file, and great news --> Bacula 2.2.8  
daemons (Director, Storage, File) are all running on Leopard Server  
10.5.1


Even though you have MySQL running on your Leopard system, please  
let me know if I can provide some tips / suggestions for how to get  
Bacula 2.2.8 running on your system. Glancing at your output from  
the error you encountered, it looks to be for sure some problem  
related to when you ran ./configure (when specifying the  
configuration arguments required for building against MySQL). Take a  
look at libsql in your make output -- I bet you'll find some errors  
there. For example, I don't have MySQL or sqlite on my system, so I  
got these complaints when running make:


Making libsql.a ...
/usr/bin/ar rc  libsql.a mysql.o bdb.o bdb_create.o bdb_get.o  
bdb_update.o bdb_delete.o bdb_find.o bdb_list.o sql.o sql_cmds.o  
sql_create.o sql_delete.o sql_find.o sql_get.o sql_list.o  
sql_update.o sqlite.o postgresql.o

ranlib: file: libsql.a(mysql.o) has no symbols
ranlib: file: libsql.a(bdb.o) has no symbols
ranlib: file: libsql.a(bdb_create.o) has no symbols
ranlib: file: libsql.a(bdb_get.o) has no symbols
ranlib: file: libsql.a(bdb_update.o) has no symbols
ranlib: file: libsql.a(bdb_delete.o) has no symbols
ranlib: file: libsql.a(bdb_find.o) has no symbols
ranlib: file: libsql.a(bdb_list.o) has no symbols
ranlib: file: libsql.a(sqlite.o) has no symbols
ranlib libsql.a
ranlib: file: libsql.a(mysql.o) has no symbols
ranlib: file: libsql.a(bdb.o) has no symbols
ranlib: file: libsql.a(bdb_create.o) has no symbols
ranlib: file: libsql.a(bdb_get.o) has no symbols
ranlib: file: libsql.a(bdb_update.o) has no symbols
ranlib: file: libsql.a(bdb_delete.o) has no symbols
ranlib: file: libsql.a(bdb_find.o) has no symbols
ranlib: file: libsql.a(bdb_list.o) has no symbols
ranlib: file: libsql.a(sqlite.o) has no symbols
 Make of cats is good 

When I made Bacula 2.2.3 on Tiger Server 10.4.10 against PostgreSQL  
8.1.9, I didn't have these ranlib "no symbols" results. So something  
has changed.


By the way, I have just about all of my dependencies for Bacula  
installed as MacPorts. Do you use MacPorts for installing MySQL?


Cheers,

Hydro

On 2/1/08, Hydro Meteor <[EMAIL PROTECTED]> wrote:
Piero,

This is a difficult one to diagnose because it depends on how you  
configured Bacula on your system with Leopard and MySQL. Moments  
ago, I just ran configure, make and make install with Bacula 2.2.8  
on Mac OS X Server 10.5.1 (Leopard Server) and I am using  
PostgreSQL, not MySQL. I had no problems getting the File and  
Director daemons to run on Leopard Server 10.5.1 but the Storage  
Daemon gave me an error because I didn't assign an Archive Device in  
the storage daemon configuration file, as in:


Device {
  Name = FileStorage
  Media Type = File
  Archive Device =
  LabelMedia = yes;   # lets Bacula label unlabeled  
media

  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

So when I ran the bacula start script, I got:

Starting the Bacula Storage daemon
01-Feb 10:29 bacula-sd: ERROR TERMINATION at lex.c:735
Config error: expected a name, got T_EOL: =
: line 48, col 20 of file /opt/local/etc/bacula/bacula- 
sd.conf

  Archive Device =

Starting the Bacula File daemon
Starting the Bacula Director daemon

Hmm ... it amazing how much has changed from Bacula 2.2.3 to 2.2.8  
because I have never heard of the Archive Device directive yet. Ugh!  
This means I need to read more documentation but I am guessing its  
for the better. I will for now comment out this line until I know  
more about it. Nonetheless, the good news is that I can tell you  
with certainty that Bacula compiles and runs on Leopard Server  
10.5.1 and so I would guess also Leopard (non-Server) 10.5.1


I am about to do some testing with Leopard's Access Control Lists  
(ACLs) with Bacula to see if files that have ACLs can be backed up  
and restored perfectly.


Cheers,

Hydro


On 1/27/08, Piero Giobbi <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Just compiled latest bacula with Leopard and latest Mysql, the  
build went
> well. Now when i configured all up and starting up bacula i get  
this error:

>
>
>

Re: [Bacula-users] Bacula 2.2.8 wont start (MacOS X)

2008-02-01 Thread Piero Giobbi

Hi, thanks for answering!!

The compilation went excellent for me to on my Leo 10.5.1 with mysql  
mysql-5.0.45. Since there is no mysql for 10.5 i took the one for  
10.4. Im running all kinds of stuff on mysql and it works fine  
(webapps).


Yes, i noticed it to, the Archive Device =. I have to commenting it  
out but it doesn't help any im afraid. I tried different Devices with  
the right Archive Device set, set for File or Cd - nothing helps.


It seems to be a mysql-problem all together:
sh-3.2# bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient_r. 
15.dylib

  Referenced from: /usr/local/bacula/bin/bacula-dir
  Reason: image not found
/usr/local/bacula/bin/bacula-ctl-dir: line 197: 22270 Trace/BPT  
trap  ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c ${BACDIRCFG}/ 
bacula-dir.conf


I have no idea what "image not found" means..


p

1 feb 2008 kl. 11.37 skrev Hydro Meteor:


Piero,

This is a difficult one to diagnose because it depends on how you  
configured Bacula on your system with Leopard and MySQL. Moments  
ago, I just ran configure, make and make install with Bacula 2.2.8  
on Mac OS X Server 10.5.1 (Leopard Server) and I am using  
PostgreSQL, not MySQL. I had no problems getting the File and  
Director daemons to run on Leopard Server 10.5.1 but the Storage  
Daemon gave me an error because I didn't assign an Archive Device in  
the storage daemon configuration file, as in:


Device {
  Name = FileStorage
  Media Type = File
  Archive Device =
  LabelMedia = yes;   # lets Bacula label unlabeled  
media

  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

So when I ran the bacula start script, I got:

Starting the Bacula Storage daemon
01-Feb 10:29 bacula-sd: ERROR TERMINATION at lex.c:735
Config error: expected a name, got T_EOL: =
: line 48, col 20 of file /opt/local/etc/bacula/bacula- 
sd.conf

  Archive Device =

Starting the Bacula File daemon
Starting the Bacula Director daemon

Hmm ... it amazing how much has changed from Bacula 2.2.3 to 2.2.8  
because I have never heard of the Archive Device directive yet. Ugh!  
This means I need to read more documentation but I am guessing its  
for the better. I will for now comment out this line until I know  
more about it. Nonetheless, the good news is that I can tell you  
with certainty that Bacula compiles and runs on Leopard Server  
10.5.1 and so I would guess also Leopard (non-Server) 10.5.1


I am about to do some testing with Leopard's Access Control Lists  
(ACLs) with Bacula to see if files that have ACLs can be backed up  
and restored perfectly.


Cheers,

Hydro

On 1/27/08, Piero Giobbi <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Just compiled latest bacula with Leopard and latest Mysql, the  
build went
> well. Now when i configured all up and starting up bacula i get  
this error:

>
>
> sh-3.2# /usr/local/bacula/bin/bacula start
> Starting the Bacula Storage daemon
> Starting the Bacula File daemon
> Starting the Bacula Director daemon
> dyld: Library not loaded:
> /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib
>   Referenced from: /usr/local/bacula/bin/bacula-dir
>   Reason: image not found
> /usr/local/bacula/bin/bacula-ctl-dir: line 197: 42268
> Trace/BPT trap  ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c
> ${BACDIRCFG}/bacula-dir.conf
> Anyone know whats wrong?
>
> thx.
>
> p
>  
-

> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.2.8 wont start (MacOS X)

2008-02-01 Thread Hydro Meteor
Oops hello to everyone and especially Piero Giobbi, I must be dreaming or
having a temporary lapse of amnesia. Of course the Storage Daemon has an
Archive Device directive (it has been a while since I looked at Bacula
configuration files so I forgot about it).

So, I just added "/tmp" to the Archive Device directive in the Storage
Daemon configuration file, and great news --> Bacula 2.2.8 daemons
(Director, Storage, File) are all running on Leopard Server 10.5.1

Even though you have MySQL running on your Leopard system, please let me
know if I can provide some tips / suggestions for how to get Bacula
2.2.8running on your system. Glancing at your output from the error
you
encountered, it looks to be for sure some problem related to when you ran
./configure (when specifying the configuration arguments required for
building against MySQL). Take a look at libsql in your make output -- I bet
you'll find some errors there. For example, I don't have MySQL or sqlite on
my system, so I got these complaints when running make:

Making libsql.a ...
> /usr/bin/ar rc  libsql.a mysql.o bdb.o bdb_create.o bdb_get.o bdb_update.o
> bdb_delete.o bdb_find.o bdb_list.o sql.o sql_cmds.o sql_create.o
> sql_delete.o sql_find.o sql_get.o sql_list.o sql_update.o sqlite.o
> postgresql.o
> ranlib: file: libsql.a(mysql.o) has no symbols
> ranlib: file: libsql.a(bdb.o) has no symbols
> ranlib: file: libsql.a(bdb_create.o) has no symbols
> ranlib: file: libsql.a(bdb_get.o) has no symbols
> ranlib: file: libsql.a(bdb_update.o) has no symbols
> ranlib: file: libsql.a(bdb_delete.o) has no symbols
> ranlib: file: libsql.a(bdb_find.o) has no symbols
> ranlib: file: libsql.a(bdb_list.o) has no symbols
> ranlib: file: libsql.a(sqlite.o) has no symbols
> ranlib libsql.a
> ranlib: file: libsql.a(mysql.o) has no symbols
> ranlib: file: libsql.a(bdb.o) has no symbols
> ranlib: file: libsql.a(bdb_create.o) has no symbols
> ranlib: file: libsql.a(bdb_get.o) has no symbols
> ranlib: file: libsql.a(bdb_update.o) has no symbols
> ranlib: file: libsql.a(bdb_delete.o) has no symbols
> ranlib: file: libsql.a(bdb_find.o) has no symbols
> ranlib: file: libsql.a(bdb_list.o) has no symbols
> ranlib: file: libsql.a(sqlite.o) has no symbols
>  Make of cats is good 
>

When I made Bacula 2.2.3 on Tiger Server 10.4.10 against PostgreSQL 8.1.9, I
didn't have these ranlib "no symbols" results. So something has changed.

By the way, I have just about all of my dependencies for Bacula installed as
MacPorts. Do you use MacPorts for installing MySQL?

Cheers,

Hydro

On 2/1/08, Hydro Meteor <[EMAIL PROTECTED]> wrote:
>
> Piero,
>
> This is a difficult one to diagnose because it depends on how you
> configured Bacula on your system with Leopard and MySQL. Moments ago, I just
> ran configure, make and make install with Bacula 2.2.8 on Mac OS X Server
> 10.5.1 (Leopard Server) and I am using PostgreSQL, not MySQL. I had no
> problems getting the File and Director daemons to run on Leopard Server
> 10.5.1 but the Storage Daemon gave me an error because I didn't assign an
> Archive Device in the storage daemon configuration file, as in:
>
> Device {
> >   Name = FileStorage
> >   Media Type = File
> >   Archive Device =
> >   LabelMedia = yes;   # lets Bacula label unlabeled
> > media
> >   Random Access = Yes;
> >   AutomaticMount = yes;   # when device opened, read it
> >   RemovableMedia = no;
> >   AlwaysOpen = no;
> > }
> >
>
> So when I ran the bacula start script, I got:
>
> Starting the Bacula Storage daemon
> > 01-Feb 10:29 bacula-sd: ERROR TERMINATION at lex.c:735
> > Config error: expected a name, got T_EOL: =
> > : line 48, col 20 of file /opt/local/etc/bacula/bacula-
> > sd.conf
> >   Archive Device =
> >
> > Starting the Bacula File daemon
> > Starting the Bacula Director daemon
> >
>
> Hmm ... it amazing how much has changed from Bacula 2.2.3 to 2.2.8 because
> I have never heard of the Archive Device directive yet. Ugh! This means I
> need to read more documentation but I am guessing its for the better. I will
> for now comment out this line until I know more about it. Nonetheless, the
> good news is that I can tell you with certainty that Bacula compiles and
> runs on Leopard Server 10.5.1 and so I would guess also Leopard
> (non-Server) 10.5.1
>
> I am about to do some testing with Leopard's Access Control Lists (ACLs)
> with Bacula to see if files that have ACLs can be backed up and restored
> perfectly.
>
> Cheers,
>
> Hydro
>
> On 1/27/08, Piero Giobbi <[EMAIL PROTECTED]> wrote:
> > Hi all.
> >
> > Just compiled latest bacula with Leopard and latest Mysql, the build
> went
> > well. Now when i configured all up and starting up bacula i get this
> error:
> >
> >
> > sh-3.2# /usr/local/bacula/bin/bacula start
> > Starting the Bacula Storage daemon
> > Starting the Bacula File daemon
> > Starting the Bacula Director daemon
> > dyld: Library not loaded:
> > /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib

Re: [Bacula-users] Problems adding new nodes

2008-02-01 Thread tomasz dereszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrik Usher XX wrote:
> Hi All Bacula Gurus :-)
>  
> I'm in need of your help.
> I'm running Bacula server 2.0.3 on FreeBSD 6.1 p0. Have serveral nodes
> (servers & clients) that are backed up via my Bacula server.
> But now when I add new nodes to backup I get some very wired problems.
>  
> I have installed Bacula Client 2.0.3 on FreeBSD 6.3 p10 and I've used
> bacula-fd.conf from already up and running nodes.
> Added the new node in bacula-dir.conf on the Bacula server (have dubble
> verified syntax and settings towards already running nodes) and get
> following error messages when trying to run a backup.
> - - - - - >8 - - - - -
> 01-Feb 10:14 blues-dir: Start Backup JobId 9917,
> Job=chilli.verkstad.net.2008-02-01_10.14.55
> 01-Feb 10:19 blues-fd JobId 9917: Warning: bsock.c:123 Could not connect
> to Storage daemon on blues.verkstad.net:9103. ERR=Operation timed out
> Retrying ...
>  
> 01-Feb 10:24 blues-dir: chilli.verkstad.net.2008-02-01_10.14.55 Error:
> bnet.c:270 Read error from Storage daemon:blues.verkstad.net:9103:
> ERR=Broken pipe
> 01-Feb 10:26 blues-fd JobId 9917: Fatal error: Failed to connect to
> Storage daemon: blues.verkstad.net:9103
> 01-Feb 10:24 blues-dir: chilli.verkstad.net.2008-02-01_10.14.55 Fatal
> error: Socket error on Storage command: ERR=Broken pipe
> 01-Feb 10:24 blues-dir: Bacula 2.0.3 (06Mar07): 01-Feb-2008 10:24:44
> - - - - - >8 - - - - -
>  

do apologise for being lazy
after re-reading your error output can say as node (FD) cannot talk to
storage daemon (SD) cos it isnt allowed on firewall.

> There's no problem to cancel this job (9917) and run jobs for the
> already configured nodes.
> I did install bacula client 2.2.5 first (same problem with that vesion
> as now) but downgraded to 2.0.3 as I run on all the working nodes.

add matching policy onto your firewall to allow connection from FD to SD
(port 9103) and that should fix the problem

- --
bEsT rEgArDs|   "Confidence is what you have before you
tomasz dereszynski  |   understand the problem." -- Woody Allen
|   
Spes confisa Deo|   "In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different." -- Albert Einstein

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHov8r5GTLLfVywbsRAqN0AJ9oBFa9tbuzUkcjqAq82i4eto8mtACeOonz
ppGn5Ua8s5e/2v5nuCX0n6k=
=buEX
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems adding new nodes

2008-02-01 Thread tomasz dereszynski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrik Usher XX wrote:
> Hi All Bacula Gurus :-)
>  
> I'm in need of your help.
> I'm running Bacula server 2.0.3 on FreeBSD 6.1 p0. Have serveral nodes
> (servers & clients) that are backed up via my Bacula server.
> But now when I add new nodes to backup I get some very wired problems.
>  
> I have installed Bacula Client 2.0.3 on FreeBSD 6.3 p10 and I've used
> bacula-fd.conf from already up and running nodes.
> Added the new node in bacula-dir.conf on the Bacula server (have dubble
> verified syntax and settings towards already running nodes) and get
> following error messages when trying to run a backup.
> - - - - - >8 - - - - -
> 01-Feb 10:14 blues-dir: Start Backup JobId 9917,
> Job=chilli.verkstad.net.2008-02-01_10.14.55
> 01-Feb 10:19 blues-fd JobId 9917: Warning: bsock.c:123 Could not connect
> to Storage daemon on blues.verkstad.net:9103. ERR=Operation timed out
> Retrying ...
>  
> 01-Feb 10:24 blues-dir: chilli.verkstad.net.2008-02-01_10.14.55 Error:
> bnet.c:270 Read error from Storage daemon:blues.verkstad.net:9103:
> ERR=Broken pipe
> 01-Feb 10:26 blues-fd JobId 9917: Fatal error: Failed to connect to
> Storage daemon: blues.verkstad.net:9103
> 01-Feb 10:24 blues-dir: chilli.verkstad.net.2008-02-01_10.14.55 Fatal
> error: Socket error on Storage command: ERR=Broken pipe
> 01-Feb 10:24 blues-dir: Bacula 2.0.3 (06Mar07): 01-Feb-2008 10:24:44
> - - - - - >8 - - - - -
>  
> There's no problem to cancel this job (9917) and run jobs for the
> already configured nodes.
> I did install bacula client 2.2.5 first (same problem with that vesion
> as now) but downgraded to 2.0.3 as I run on all the working nodes.
>  
> Please, what have I missed.. ?
>  
> Many thanks in advance.
> Patrik Usher

that simply means as FD (client) cannot talk to SD server running on
yours backup server
often cos connection is drop on firewall or some like or you do not have
matching entry in hosts file and SD name is not resolved by dns.
hope it make sense for you

cheers

- --
bEsT rEgArDs|   "Confidence is what you have before you
tomasz dereszynski  |   understand the problem." -- Woody Allen
|   
Spes confisa Deo|   "In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different." -- Albert Einstein

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHov4/5GTLLfVywbsRAtWfAJwJjyNb0sCQ0t+WHLPpO6OmMFt7pgCfQ3Dj
+K9T7EfsoA2SMguIfqZadzY=
=Uaw5
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.2.8 wont start (MacOS X)

2008-02-01 Thread Hydro Meteor
Piero,

This is a difficult one to diagnose because it depends on how you configured
Bacula on your system with Leopard and MySQL. Moments ago, I just ran
configure, make and make install with Bacula 2.2.8 on Mac OS X Server
10.5.1(Leopard Server) and I am using PostgreSQL, not MySQL. I had no
problems
getting the File and Director daemons to run on Leopard Server 10.5.1 but
the Storage Daemon gave me an error because I didn't assign an Archive
Device in the storage daemon configuration file, as in:

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

So when I ran the bacula start script, I got:

Starting the Bacula Storage daemon
> 01-Feb 10:29 bacula-sd: ERROR TERMINATION at lex.c:735
> Config error: expected a name, got T_EOL: =
> : line 48, col 20 of file /opt/local/etc/bacula/bacula-sd.conf
>   Archive Device =
>
> Starting the Bacula File daemon
> Starting the Bacula Director daemon
>

Hmm ... it amazing how much has changed from Bacula 2.2.3 to 2.2.8 because I
have never heard of the Archive Device directive yet. Ugh! This means I need
to read more documentation but I am guessing its for the better. I will for
now comment out this line until I know more about it. Nonetheless, the good
news is that I can tell you with certainty that Bacula compiles and runs on
Leopard Server 10.5.1 and so I would guess also Leopard (non-Server) 10.5.1

I am about to do some testing with Leopard's Access Control Lists (ACLs)
with Bacula to see if files that have ACLs can be backed up and restored
perfectly.

Cheers,

Hydro

On 1/27/08, Piero Giobbi <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Just compiled latest bacula with Leopard and latest Mysql, the build went
> well. Now when i configured all up and starting up bacula i get this
error:
>
>
> sh-3.2# /usr/local/bacula/bin/bacula start
> Starting the Bacula Storage daemon
> Starting the Bacula File daemon
> Starting the Bacula Director daemon
> dyld: Library not loaded:
> /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib
>   Referenced from: /usr/local/bacula/bin/bacula-dir
>   Reason: image not found
> /usr/local/bacula/bin/bacula-ctl-dir: line 197: 42268
> Trace/BPT trap  ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c
> ${BACDIRCFG}/bacula-dir.conf
> Anyone know whats wrong?
>
> thx.
>
> p
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread tomasz dereszynski
[EMAIL PROTECTED] wrote:
> Hi,
> As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
> everyone who's contributed to Bacula!
> 
> When the backup status is "Backup OK -- with warnings" the subject of 
> the report e-mail is always "Backup OK".
> My co-workers (and sometimes I) often miss small problems that cause the 
> warnings because it's assumed from the subject of the e-mail that the 
> backup was completely successful - especially with a high volume of 
> e-mailed reports.
> 
> My natural assumption is that the e-mail subject would be the same as 
> the backup status.
> Is this not the case by design?
> 
look into bacula log file.
it often mean as you tried to back up /dev or fileset include directory
which do not exist on fd server.
check out in log.


> We're running version 2.2.8.




-- 
bEsT rEgArDs|   "Confidence is what you have before you
tomasz dereszynski  |   understand the problem." -- Woody Allen
|   
Spes confisa Deo|   "In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different." -- Albert Einstein


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] E-mails with the subject "Backup OK" when warnings have occurred.

2008-02-01 Thread justin
Hi,
As a new user, I'll start by thanking Kern (see you at the UKUUG) and 
everyone who's contributed to Bacula!

When the backup status is "Backup OK -- with warnings" the subject of 
the report e-mail is always "Backup OK".
My co-workers (and sometimes I) often miss small problems that cause the 
warnings because it's assumed from the subject of the e-mail that the 
backup was completely successful - especially with a high volume of 
e-mailed reports.

My natural assumption is that the e-mail subject would be the same as 
the backup status.
Is this not the case by design?

We're running version 2.2.8.

Kind regards, Justin
University of Brighton.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems adding new nodes

2008-02-01 Thread Patrik Usher XX
Hi All Bacula Gurus :-)
 
I'm in need of your help.
I'm running Bacula server 2.0.3 on FreeBSD 6.1 p0. Have serveral nodes
(servers & clients) that are backed up via my Bacula server.
But now when I add new nodes to backup I get some very wired problems.
 
I have installed Bacula Client 2.0.3 on FreeBSD 6.3 p10 and I've used
bacula-fd.conf from already up and running nodes.
Added the new node in bacula-dir.conf on the Bacula server (have dubble
verified syntax and settings towards already running nodes) and get
following error messages when trying to run a backup.
- - - - - >8 - - - - -
01-Feb 10:14 blues-dir: Start Backup JobId 9917,
Job=chilli.verkstad.net.2008-02-01_10.14.55
01-Feb 10:19 blues-fd JobId 9917: Warning: bsock.c:123 Could not connect
to Storage daemon on blues.verkstad.net:9103. ERR=Operation timed out
Retrying ...
 
01-Feb 10:24 blues-dir: chilli.verkstad.net.2008-02-01_10.14.55 Error:
bnet.c:270 Read error from Storage daemon:blues.verkstad.net:9103:
ERR=Broken pipe
01-Feb 10:26 blues-fd JobId 9917: Fatal error: Failed to connect to
Storage daemon: blues.verkstad.net:9103
01-Feb 10:24 blues-dir: chilli.verkstad.net.2008-02-01_10.14.55 Fatal
error: Socket error on Storage command: ERR=Broken pipe
01-Feb 10:24 blues-dir: Bacula 2.0.3 (06Mar07): 01-Feb-2008 10:24:44
- - - - - >8 - - - - -
 
There's no problem to cancel this job (9917) and run jobs for the
already configured nodes.
I did install bacula client 2.2.5 first (same problem with that vesion
as now) but downgraded to 2.0.3 as I run on all the working nodes.
 
Please, what have I missed.. ?
 
Many thanks in advance.
Patrik Usher
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem: Tape Library with 4 drives

2008-02-01 Thread Heiko.Schack

Hi,

I update my system from 1.38.11 to version 2.2.6 / 2.2.8.  My sd server is 
connected via fibre channel with a tape library (HP MSL 6060) with 4 LTO-2 
drives. 

In version 1.38.11 i haven't any problem with the sd server and the drives. 

In version 2.2.6/2.2.8, I have the following problem:

The SD-Server can check all the drives (status storage=sgzhBaculaSD2-LTO), but 
i can only connect to drive 0 (example mount). 


If i want to connect to drive 1 or drive 2 or drive 3 i get the following error 
in the director "3999 Device "sgzhBaculaSD2-LTO" not found or could not be 
opened.". The SD server give me the following debug 
output:

---
sgzhBaculaSD2: dircmd.c:207-0 Message channel init completed.
sgzhBaculaSD2: dircmd.c:214-0 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users