[Bacula-users] Multiple directors, one catalog...

2010-06-01 Thread Norberto Meijome
Hi there,
there are references in the documentation to running multiple catalogs per
director (data about different jobs go to different DBs). I wonder, Is it
safe to have several directors using the same catalog?
cheers,
B
_
{Beto|Norberto|Numard} Meijome

I detest people who take short­cuts rather than do things right, because
they leave shit for the rest of us to clean up.
   PHK
--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.2 needs readline-devel as dependency

2010-06-01 Thread Robert Oschwald
Currently, it is impossible for me to build the rpm packages for CentOS5 
x86_64, because you added readline-devel as a dependency into the spec file.
That package does not exist on CentOS5/RHEL.

I always thought bacula picks the readline lib during configure stage, so why 
is this dependency in the spec file?

Robert
--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple directors, one catalog...

2010-06-01 Thread Martin Simmons
 On Tue, 1 Jun 2010 19:32:33 +0930, Norberto Meijome said:
 
 there are references in the documentation to running multiple catalogs per
 director (data about different jobs go to different DBs). I wonder, Is it
 safe to have several directors using the same catalog?

No, that would be dangerous.

__Martin

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-users Digest, Vol 50, Issue 1

2010-06-01 Thread Win Htin
 Message: 12
 Date: Sun, 30 May 2010 08:17:27 -0400
 From: masker bacula-fo...@backupcentral.com
 Subject: [Bacula-users]  IBM TS3100 autochanger
 To: bacula-users@lists.sourceforge.net
 Message-ID: 1275221847.m2f.335...@www.backupcentral.com

 Phil Stracchino wrote:

 What is this lin-tape you speak of?

 If your Linux kernel is properly configured (i.e, SCSI HBA support, SCSI
 tape support, and the PERC6 low-level SCSI driver enabled), it should
 Just Work.  If those aren't compiled into your kernel, see if you have
 them present as modules.



 The lin-tape or lin_tape means the driver name of IBM ULTRIUM-HH5 tape 
 drive.
 I've download the lin_tape-1.38.0-1.src.rpm from IBM website. But I can't 
 compile it in Debian 5.0.4.
 The SAS HBA driver is mpt2sas, it was installed in my system, successfully. 
 Then I could use mt -f /dev/st0 status, but I got error message like read 
 error..  if I type  mt -f /dev/st0 tell.
 Under this situation , it could write by tar command, but show write 
 error... after several hours.
 If I connect the tape drive to a machine of CentOS with right driver, it show 
 /dev/IBMtape0 as the device name, and I could have right answer by mt -f 
 /dev/IBMtape0 tell

 So. I need some help. If anyone have any suggestion to help me install the 
 tape in Debian OS?


Just one word frrom someone who have tested and am using both TS3100 
TS3200s with LTO4 drives; STAY AWAY from lin-tape. It is very kernel
specific and even when you think everything is working fine, it will
come back and bite you later.

I do not use Debian but in RedHat 4 and 5, all I have to do is make
sure mt-st and mtx packages are installed.

Following is the comparison of with and without lin-tape devices under /dev.

Example WITH lin-tape:   # mt -f /dev/IBMtape0 status
Example WITHOUT lin-tape:#  mt -f /dev/st0 status

HTH,
Win

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] IBM TS3100 autochanger

2010-06-01 Thread Win Htin
On Tue, Jun 1, 2010 at 8:29 AM, Win Htin win.h...@gmail.com wrote:
 Message: 12
 Date: Sun, 30 May 2010 08:17:27 -0400
 From: masker bacula-fo...@backupcentral.com
 Subject: [Bacula-users]  IBM TS3100 autochanger
 To: bacula-users@lists.sourceforge.net
 Message-ID: 1275221847.m2f.335...@www.backupcentral.com

 Phil Stracchino wrote:

 What is this lin-tape you speak of?

 If your Linux kernel is properly configured (i.e, SCSI HBA support, SCSI
 tape support, and the PERC6 low-level SCSI driver enabled), it should
 Just Work.  If those aren't compiled into your kernel, see if you have
 them present as modules.



 The lin-tape or lin_tape means the driver name of IBM ULTRIUM-HH5 tape 
 drive.
 I've download the lin_tape-1.38.0-1.src.rpm from IBM website. But I can't 
 compile it in Debian 5.0.4.
 The SAS HBA driver is mpt2sas, it was installed in my system, 
 successfully. Then I could use mt -f /dev/st0 status, but I got error 
 message like read error..  if I type  mt -f /dev/st0 tell.
 Under this situation , it could write by tar command, but show write 
 error... after several hours.
 If I connect the tape drive to a machine of CentOS with right driver, it 
 show /dev/IBMtape0 as the device name, and I could have right answer by 
 mt -f /dev/IBMtape0 tell

 So. I need some help. If anyone have any suggestion to help me install the 
 tape in Debian OS?


Just one word from someone who have tested and am using both TS3100 
TS3200s with LTO4 drives; STAY AWAY from lin-tape. It is very kernel
specific and even when you think everything is working fine, it will
come back and bite you later.

I do not use Debian but in RedHat 4 and 5, all I have to do is make
sure mt-st and mtx packages are installed.

Following is the comparison of with and without lin-tape devices under /dev.

Example WITH lin-tape:           # mt -f /dev/IBMtape0 status
Example WITHOUT lin-tape:    #  mt -f /dev/st0 status

HTH,
Win

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.2 needs readline-devel as dependency

2010-06-01 Thread Joseph L. Casale
Currently, it is impossible for me to build the rpm packages for CentOS5 
x86_64, because you added readline-devel as a dependency into the spec file.
That package does not exist on CentOS5/RHEL.

I always thought bacula picks the readline lib during configure stage, so why 
is this dependency in the spec file?

Uh, myself and a few others have done it, those packages exist in 'base'.
The spec depends on it so the build completes, how else does rpmbuild know
how to check build deps?

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.2 needs readline-devel as dependency

2010-06-01 Thread Martin Simmons
 On Tue, 1 Jun 2010 13:07:01 +0200, Robert Oschwald said:
 
 Currently, it is impossible for me to build the rpm packages for CentOS5
 x86_64, because you added readline-devel as a dependency into the spec
 file.
 That package does not exist on CentOS5/RHEL.

Are you sure?  readline-devel-5.1-3.el5.x86_64.rpm is listed here:

http://mirror.ukhost4u.com/centos/5.5/os/x86_64/CentOS/


 I always thought bacula picks the readline lib during configure stage, so
 why is this dependency in the spec file?

It is very desirable that anyone can rebuild the rpm and get the same results
(or failure).  Allowing an rpm build to pick different options depending on
what is installed on the build machine would be a bad idea IMHO.

__Martin

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] wanted: DLT barcode labels

2010-06-01 Thread Charles Nadeau
Dan,

I used this http://neuro.hut.fi/~mseppa/work/barcode.html to label hundreds
of DLT tapes without problems. I have a pair of Compaq TL892 and a Sun
Storedge L9 and I never had any problem.

Charles

-- 
Charles Nadeau Ph.D.
http://charlesnadeau.blogspot.com/
--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula with RHEL 5.4 and MSL2024

2010-06-01 Thread jcandrianiaina

Hi everyone, I'm new with bacula. I want to backup servers with bacula. 
I tried to install bacula but It still not work. bacula is OK if I save it at 
/tmp, but when I try to use the MSL2024 with LTO-3 and 4 Gb FC, It doesn't work.
I wonder if someone can help me step by step ho to install my system.

+--
|This was sent by jcandriania...@itetcompany.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula with RHEL 5.4 and MSL2024

2010-06-01 Thread frank cheong
It is very likely problem with RHEL 5.4 kernel's Fibre Driver, you can try
to update the kernel to the latest version and see if it works. If not, pls
try to grab the latest Fibre Card's driver from the hardware manufacturer's
website.




On Mon, May 31, 2010 at 8:06 PM, jcandrianiaina 
bacula-fo...@backupcentral.com wrote:


 Hi everyone, I'm new with bacula. I want to backup servers with bacula.
 I tried to install bacula but It still not work. bacula is OK if I save it
 at /tmp, but when I try to use the MSL2024 with LTO-3 and 4 Gb FC, It
 doesn't work.
 I wonder if someone can help me step by step ho to install my system.

 +--
 |This was sent by jcandriania...@itetcompany.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] IBM TS3100 autochanger

2010-06-01 Thread Alex Chekholko
On Sun, 30 May 2010 08:17:27 -0400
masker bacula-fo...@backupcentral.com wrote:

 
 
 Phil Stracchino wrote:
  
  What is this lin-tape you speak of?
  
  If your Linux kernel is properly configured (i.e, SCSI HBA support, SCSI
  tape support, and the PERC6 low-level SCSI driver enabled), it should
  Just Work.  If those aren't compiled into your kernel, see if you have
  them present as modules.
  
 
 
 The lin-tape or lin_tape means the driver name of IBM ULTRIUM-HH5 tape 
 drive.
 I've download the lin_tape-1.38.0-1.src.rpm from IBM website. But I can't 
 compile it in Debian 5.0.4.
 The SAS HBA driver is mpt2sas, it was installed in my system, successfully. 
 Then I could use mt -f /dev/st0 status, but I got error message like read 
 error..  if I type  mt -f /dev/st0 tell. 
 Under this situation , it could write by tar command, but show write 
 error... after several hours.
 If I connect the tape drive to a machine of CentOS with right driver, it show 
 /dev/IBMtape0 as the device name, and I could have right answer by mt -f 
 /dev/IBMtape0 tell
 
 So. I need some help. If anyone have any suggestion to help me install the 
 tape in Debian OS?
 

It should just work without using the special driver.  My LTO drives are IBM 
and my library is IBM and I don't use any special driver, just the 'st' kernel 
module or whatever its official name is.

What is your output of 'cat /proc/scsi/scsi' or check dmesg for relevant 
messages or also try the 'tapeinfo' command on the various sg devices.  


-- 
Alex Chekholko   ch...@genomics.upenn.edu 

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.2 needs readline-devel as dependency

2010-06-01 Thread roos

Thanks folks, found it.
Maybe I made a typo on the first try.

Robert

+--
|This was sent by r...@symentis.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole scripting

2010-06-01 Thread Morty Abzug
On Thu, May 27, 2010 at 05:45:52PM +0200, Kern Sibbald wrote:
 On Thursday 27 May 2010 17:23:46 Morty Abzug wrote:

   -b cannot easily be done by the shell.  The intent is to remove
  formatting done for human convenience.
 
 I have been doing *lots* of scripting of bconsole for 8 years no with no 
 problems, so I really don't understand the problem.
 
 What do you mean by remove formatting done for human convenience?

If I do an echo list media | bconsole, I see the following:

Connecting to Director hostna:9101
1000 OK: hostna-dir Version: 5.0.1 (24 February 2010)
Enter a period to cancel a command.
list media pool=Daily
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
+-+---+---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName| VolStatus | Enabled | VolBytes| 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten  
   |
+-+---+---+-+-+--+--+-+--+---+---+-+
|  17 | hostna-LTO2-FRI-1 | Used  |   1 | 121,534,027,776 |   
51 |  345,600 |   1 |0 | 0 | LTO-2 | 2010-05-29 
06:28:49 |
[snip]
+-+---+---+-+-+--+--+-+--+---+---+-+
You have messages.

Everything but the part in the table is not useful to my query.  The
table, in turn, is formatted for human readability, with various ASCII
line drawing characters.  A batch mode, such as supplied with some
other tools, would not include anything but the table without line
drawing characters.

I've worked around this in the past, BTW, by doing:

  echo list media pool=Daily|bconsole |grep '^|'|tail -n +2|sed 's,|,,g'

It would be nice to be able to do this kind of thing without playing
shell script games, though.  Thanks!

- Morty

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.2 PostgreSQL 8.4.3: ERROR: new row for relation pool violates check constraint

2010-06-01 Thread Holger Rauch
Hi,

I'm using Bacula 5.0.2 in conjunction with a PostgreSQL 8.4.3 database
(both compiled from official sources) on a Debian Lenny system.

A HP StorageWorks 1/8 G2 autoloader equipped with an HP Ultrium 920
drive is connected to the system.

Whenever a tape is moved to a new pool (e.g. a newly labeled tape
automatically taken out of the Scratch pool), I get this error message:

===

01-Jun 20:42 nathan-dir JobId 0: Fatal error: sql_create.c:211
sql_create.c:211 insert INSERT INTO Pool
(Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,Labe
lFormat,RecyclePoolId,ScratchPoolId,ActionOnPurge)
VALUES
('RestorePool',0,0,0,1,0,1,1,604800,0,0,0,0,'Restore',0,'*',0,0,0)
failed: 
ERROR:  new row for relation pool violates check constraint
pool_pooltype_check

===

(Seems like the same data is inserted twice). What can I do about that?

Any help is greatly appreciated!

Thanks  kind regards,

Holger


signature.asc
Description: Digital signature
--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.2 PostgreSQL 8.4.3: ERROR: new row for relation pool violates check constraint

2010-06-01 Thread Andrés Yacopino
Maybe you have a bad configuraion in bacula-dir.conf file.
In the table pool in bacula Postgres Database exists this contrainst:

CONSTRAINT pool_pooltype CHECK (pooltype = 'Backup'::text OR pooltype =
'Copy'::text OR pooltype = 'Cloned'::text OR pooltype = 'Archive'::text
OR pooltype = 'Migration'::text OR pooltype = 'Scratch'::text)

It seems is trying to insert a Restore Pool type and it isn't allowed,
look at the constraint.
Greetings,

Andrés Fernando Yacopino


El 01/06/10 15:54, Holger Rauch escribió:
 Hi,

 I'm using Bacula 5.0.2 in conjunction with a PostgreSQL 8.4.3 database
 (both compiled from official sources) on a Debian Lenny system.

 A HP StorageWorks 1/8 G2 autoloader equipped with an HP Ultrium 920
 drive is connected to the system.

 Whenever a tape is moved to a new pool (e.g. a newly labeled tape
 automatically taken out of the Scratch pool), I get this error message:

 ===

 01-Jun 20:42 nathan-dir JobId 0: Fatal error: sql_create.c:211
 sql_create.c:211 insert INSERT INTO Pool
 (Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,Labe
 lFormat,RecyclePoolId,ScratchPoolId,ActionOnPurge)
 VALUES
 ('RestorePool',0,0,0,1,0,1,1,604800,0,0,0,0,'Restore',0,'*',0,0,0)
 failed: 
 ERROR:  new row for relation pool violates check constraint
 pool_pooltype_check

 ===

 (Seems like the same data is inserted twice). What can I do about that?

 Any help is greatly appreciated!

 Thanks  kind regards,

 Holger
 
 

 --

   
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full LTO-4 tape @ only 176 GIG

2010-06-01 Thread Gary R. Schmidt
On Sat, May 29, 2010 04:00, Martin Simmons wrote:
 On Fri, 28 May 2010 13:16:33 -0400, lweinlan  said:

 Hello, I am running backups using bacula and a LTO-4 tape
 library. Everything is running fine, but this morning, the first LTO-4
 tape
 that I used is marked as volume status = full with only 176.24 GB ???

 A LTO-4 tape has a capacity of 800 GB native, and 1.6 TB compressed .

 I have absoultely no idea why this tape is already full. Could someone
 please help. What are the modifications that need to be made on the
 bacula-dir.conf file to fix this ???

 The Bacula log file is the first place to look, to see if it says why the
 tape
 was marked as full.

 Also check the system log files/console for error messages.

In particular, look for overrun messages from the SCSI (or whatever)
controller.

Cheers,
GaryB-)



--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users