Re: [Bacula-users] Bacula Label Error - Newbie

2007-10-08 Thread Jason Antman
Thanks to all for the advice.

Fixed the volume labeling problem with "add", but yes, crossing my
fingers didn't work. I tried a test job and now I'm getting:

09-Oct 01:52 janus-sd: Failed command: use storage=janus-sd
media_type=File pool_name=DiskVolume pool_type=Backup append=1 copy=0
stripe=0

09-Oct 01:52 janus-sd: Web1-Nightly.2007-10-09_01.50.52 Fatal error: Bad
Use Device command: use storage=janus-sd media_type=File
pool_name=DiskVolume pool_type=Backup append=1 copy=0 stripe=0

09-Oct 01:50 STOR1-dir: Web1-Nightly.2007-10-09_01.50.52 Fatal error:
 Storage daemon didn't accept Device "HDD" because:
 3913 Bad use command: use storage=janus-sd media_type=File
pool_name=DiskVolume pool_type=Backup append=1 copy=0 stripe=0

I'll attempt to compile 2.2.4 from source. The problem with the RPM, as
I remember, was my outdated versions of GCC, glibc, etc. on this old
machine - I'm only using it for NFS staging of backups. We'll see what
these changes break... maybe it'll be time to upgrade the OS :)

Arno - yup, that's me! Unfortunately my residential fiber line blocks
port 80, so jasonantman.com redirects to DynDNS which uses an unused
high-numbered port. Feel free to email me directly for whatever advice I
can offer. I haven't tried HPASM on 10.3 yet, mainly because support for
the older HP SCSI controllers was dropped in 10.1 (they're supposed to
be fixing this), but hopefully I can help or direct you to someone who can.

-Jason

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] label on tape lost

2007-10-08 Thread Paul Muster
Hello everybody,


for some reason - maybe I did something that caused it, but I don't
remember - one of my tapes has no label any more. Hence during restore
bacula does not recognize the tape:

07-Okt 23:59 server: RestoreFiles.2007-10-07_23.57.27 Error: block.c:263
Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded.
07-Okt 23:59 server: RestoreFiles.2007-10-07_23.57.27 Warning:
acquire.c:146 Requested Volume "L20002" on "LTO-2-Laufwerk" (/dev/nst0) is
not a Bacula labeled Volume, because: ERR=block.c:263 Volume data error at
0:0! Wanted ID: "BB02", got "". Buffer discarded.

We discussed a similar problem in [1] but the last idea (relabeling option
in btape) was not commented any more.

How can I write a label to the tape without an EOF after the label? I know
the length of the label (see above), so following data would not be
destroyed, I think.

How can I make a dump of the tape to disk, so that I have more than one
try on this? I tried dd, but this needs a block device as source.


Thank you very much

Paul


[1]
http://sourceforge.net/mailarchive/message.php?msg_name=46DE0704.6050407%40umdnj.edu


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What tape will be used next?

2007-10-08 Thread Goetz Rieger
Oops, just found "list nextvol". Looks like it's doing what I need...


Goetz


> Hi
>
> I'm just coming to terms with Bacula and I'm quite impressed. But here is
> something I can't get my head around:
>
> I've got a setup modeled after the example in the docs under Backup
> Strategies/Daily Tape Rotation. So I have:
>
> -A pool for each day from Mon-Thu with one tape (Recycle=yes,
> AutoPrune=yes,   Volume Retention=6d)
>
> -One weekly pool with four tapes (Volume Retention=24d)
>
> So finding the correct tape for the Mon-Thu pools is not a problem. But to
> know which tape out of the four Bacula needs for Friday night is. I've
> seen the trick in the FAQs of running a small pseudo-job during the day.
>
> But I think it would be cleaner to have a small cron job which queries the
> database for the tape and then sends a mail to the operator.
>
> Is there any way to accomplish this? From what I can see in the docs and
> in my tests the problem is the tape will be recycled when Bacula needs a
> new one. In the middle of the night. Is there a way to query for the next
> available tape from a pool?
>
> Any hints and tips are greatly appreciated.
>
>
> Cheers,
> Goetz
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
--
OSS: Open Systems Specialists Ltd
phone:   09-984-3000
fax: 09-984-3001
mobile:  021-308047
email:   [EMAIL PROTECTED]
web: www.oss.co.nz
post:P.O. Box 8833, Auckland
--

CAUTION: The information contained in this message and any attachment is
confidential between Open Systems Specialists Ltd and the intended
recipient. Any other person receiving this message in error is asked to
respect that confidentiality and not disclose, copy or make use of its
contents. If this message has been received in error please notify the
sender by return and delete the message from your database. Thank you.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What tape will be used next?

2007-10-08 Thread Goetz Rieger
Hi

I'm just coming to terms with Bacula and I'm quite impressed. But here is
something I can't get my head around:

I've got a setup modeled after the example in the docs under Backup
Strategies/Daily Tape Rotation. So I have:

-A pool for each day from Mon-Thu with one tape (Recycle=yes,
AutoPrune=yes,   Volume Retention=6d)

-One weekly pool with four tapes (Volume Retention=24d)

So finding the correct tape for the Mon-Thu pools is not a problem. But to
know which tape out of the four Bacula needs for Friday night is. I've
seen the trick in the FAQs of running a small pseudo-job during the day.

But I think it would be cleaner to have a small cron job which queries the
database for the tape and then sends a mail to the operator.

Is there any way to accomplish this? From what I can see in the docs and
in my tests the problem is the tape will be recycled when Bacula needs a
new one. In the middle of the night. Is there a way to query for the next
available tape from a pool?

Any hints and tips are greatly appreciated.


Cheers,
Goetz


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] connection issue with client

2007-10-08 Thread Megan Kispert
Thanks!  It was hosts.allow causing issues.

-megan

On Mon, 8 Oct 2007, GDS.Marshall wrote:

>>
>> I cannot for the life of me figure this one out.  I am running bacula
>> 2.2.4 with patches:
>>
>> 2.2.4-poll-mount.patch
>> 2.2.4-restore.patch
>> 2.2.4-sd-auth-fail.patch
>> 2.2.4-verify.patch
>>
>> My backup server and the client I'm having issues with are centos 4.5 with
>> 2.6.9-55.0.9.ELsmp.  I am running bacula over a private network.  I am
>> able to connect to the client from the backup server via ssh.  There is no
>> firewall between the client and the server, and I disabled iptables.  I
>> checked the director passwords, and even copied the bacula-fd.conf from
>> another client that is working fine.  I also rebuild bacula on my server
>> and the client.  I have 10 clients now, they are all over the same network
>> setup in the same way, and this is the only one that just won't work.
>> This client was working with bacula-2.2.0, but I just upgraded to
>> bacula-2.2.4 and it hasn't worked since.  I tried to revert back to 2.2.0
>> and that didn't solve the issue either.
>>
>>
>> I am able to connect from the client to the bconsole on the server.
>>
>>
>> Here is an attempt to connect from the server to the client via telnet
>> over port 9102:
>> [EMAIL PROTECTED] ~]# telnet 192.168.1.162 9102
>> Trying 192.168.1.162...
>> Connected to nattybo-i (192.168.1.162).
>> Escape character is '^]'.
>> Connection closed by foreign host.
>
> Is the connection closed immediately?  I have just telneted to one of my
> machines on 9102 and it happily sits there.  What do you have in
> /etc/hosts.allow and /etc/hosts.deny?
>
> Regards,
>
> Spencer
>
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Understanding media-type

2007-10-08 Thread Arno Lehmann
Hi,

08.10.2007 23:42,, Eric Böse-Wolf wrote::
> "John Drescher" <[EMAIL PROTECTED]> writes:
> 
>>> Media types are arbitrary. Two devices with the same media type, it is
>>> assumed, can share volumes. If they can't, the media type needs to be
>>> different. If not, they can be the same.
>>>
>> Exactly. I have two DLT drives on different bacula-sds on different
>> servers and they share the "DLT-IV" media type while my LTO2
>> autochanger has the "LTO-2" media type. This way I can backup my DLT
>> tapes on one server/sd and restore it on the other server/sd and also
>> bacula will not try to share volumes from my LTO2 drives to my DLT
>> since they are different...
> 
> So it's actually not bacula choosing one of the sd's (because the
> restore job is tied to storage, which is tied to a device) but it's me
> writing a new restore job or doing a mod?

Doing a mod... I'm not sure how Bacula behaves when there are multiple 
restore job templates.

> So what is media type good for? Nobody would try to get a DDS-4 tape
> into a LTO2 slot?

Right. Bacula needs to know which media types are suitable for the 
storages it knows about. Just remember that Bacula has no built-in 
knowledge of device capabilities.

Arno

> Yours sincerely,
> 
> Eric
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Understanding media-type

2007-10-08 Thread John Drescher
> So it's actually not bacula choosing one of the sd's (because the
> restore job is tied to storage, which is tied to a device) but it's me
> writing a new restore job or doing a mod?
>
> So what is media type good for? Nobody would try to get a DDS-4 tape
> into a LTO2 slot?
>
But if bacula did not know they were different media types and if both
devices had tapes in a pool bacula could ask you to insert the wrong
tape.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Understanding media-type

2007-10-08 Thread Ivan Adzhubey
Hi,

I was going to post similar question when I saw this thread so I'd rather 
join...

I just got my new AIT-5 drive delivered, together with a bunch of AIT-5 tapes. 
I have an autochanger with single AIT-3 drive installed and 4 vacant drive 
slots, so I am planning on installing AIT-5 alongside with AIT-3. What is the 
safe way to ensure old AIT-3 drive never tries to load AIT-5 tape? Would it 
be enough to configure a separate pool for new tapes? I would appreciate if 
anyone with a similar configuration (i.e. different drives in the same 
changer operated from a single SD) could share examples of working config 
files.

Thanks,
Ivan

On Monday 08 October 2007 05:42:07 pm Eric Böse-Wolf wrote:
> "John Drescher" <[EMAIL PROTECTED]> writes:
> >> Media types are arbitrary. Two devices with the same media type, it is
> >> assumed, can share volumes. If they can't, the media type needs to be
> >> different. If not, they can be the same.
> >
> > Exactly. I have two DLT drives on different bacula-sds on different
> > servers and they share the "DLT-IV" media type while my LTO2
> > autochanger has the "LTO-2" media type. This way I can backup my DLT
> > tapes on one server/sd and restore it on the other server/sd and also
> > bacula will not try to share volumes from my LTO2 drives to my DLT
> > since they are different...
>
> So it's actually not bacula choosing one of the sd's (because the
> restore job is tied to storage, which is tied to a device) but it's me
> writing a new restore job or doing a mod?
>
> So what is media type good for? Nobody would try to get a DDS-4 tape
> into a LTO2 slot?
>
> Yours sincerely,
>
> Eric



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Understanding media-type

2007-10-08 Thread Eric Böse-Wolf
"John Drescher" <[EMAIL PROTECTED]> writes:

>> Media types are arbitrary. Two devices with the same media type, it is
>> assumed, can share volumes. If they can't, the media type needs to be
>> different. If not, they can be the same.
>>
> Exactly. I have two DLT drives on different bacula-sds on different
> servers and they share the "DLT-IV" media type while my LTO2
> autochanger has the "LTO-2" media type. This way I can backup my DLT
> tapes on one server/sd and restore it on the other server/sd and also
> bacula will not try to share volumes from my LTO2 drives to my DLT
> since they are different...

So it's actually not bacula choosing one of the sd's (because the
restore job is tied to storage, which is tied to a device) but it's me
writing a new restore job or doing a mod?

So what is media type good for? Nobody would try to get a DDS-4 tape
into a LTO2 slot?

Yours sincerely,

Eric



pgpcXEwxUyGi0.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Understanding media-type

2007-10-08 Thread John Drescher
> Media types are arbitrary. Two devices with the same media type, it is
> assumed, can share volumes. If they can't, the media type needs to be
> different. If not, they can be the same.
>
Exactly. I have two DLT drives on different bacula-sds on different
servers and they share the "DLT-IV" media type while my LTO2
autochanger has the "LTO-2" media type. This way I can backup my DLT
tapes on one server/sd and restore it on the other server/sd and also
bacula will not try to share volumes from my LTO2 drives to my DLT
since they are different...

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Understanding media-type

2007-10-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Media types are arbitrary. Two devices with the same media type, it is
assumed, can share volumes. If they can't, the media type needs to be
different. If not, they can be the same.

Eric Böse-Wolf wrote:
> Hello Everyone!
> 
> As I understand the manual each job is tied to a specific device
> in the storage daemon, either by the pool ressource or by the storage
> resource in the job resource.
> 
> But the manual also tells about bacula selecting the first device, that
> can handle the media-type mentioned in the catalog for a job, to do a
> restore, but the restore job is also tied to a specific device, isn't
> it?
> 
> Please explain.
> 
> Your sincerely,
> 
> Eric Böse-Wolf
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


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

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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with restore...

2007-10-08 Thread Arno Lehmann
Hi,

there's really no need to post your questions that often. It only 
annoys the people who spend their time helping others.

If, after several days, nobody replied a short reminder is usually 
considered appropriate.

Please try to follow the usual guidelines on mailing list etiquette 
which you can probably easily find somewhere on the web.

Thank you,

Arno

08.10.2007 21:15,, Sandro Mendes wrote::
> Hello people, 
> 
> I’m trying to restore a job that was successfully done in a media file.
> 
> I use the same media (file) that is overwritten every week (full).  I’m 
> trying to restore a job that was executed before a job that accuses an error 
> in the same media… Taking a look at the file, his size is big (I believe that 
> the job I need is in the file), but Bacula can’t show the latest job… 
> 
> There is a way to restore using a media that the catalog doesn’t have his 
> information??
> 
> I’m using Bacula for Win (2.0.3). 
> 
> Tks a lot!
> 
> Sandro Mendes
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore media (in files) with problems

2007-10-08 Thread Arno Lehmann
Hi,

08.10.2007 20:55,, Mendes, Sandro wrote::
> 
> 
> Hello people,
> 
> I’m trying to restore a job that was successfully done in a media file.
> 
> I use the same media (file) that is overwritten every week (full).

Does that mean that you have exactly one volume, which is overwritten 
each week, and which contains all your backups?

If yes: Don't do this. And: You're in trouble.

>  I’m 
> trying to restore a job that was executed before a job that accuses an 
> error in the same media… Taking a look at the file, his size is big (I 
> believe that the job I need is in the file), but Bacula can’t show the 
> latest job…

Without some more information, that can't be answered.

What is the contents of the volume according to the catalog?
Which job do you want to restore?
When was this job written?
When was the volume last recycled?
Or, what you really need to know is if the volume actually holds the 
needed job. Believing is not a good basis for recovery.

> There is a way to restore using a media that the catalog doesn’t have 
> his information??

Yes: bscan, bls, bextract...

But if you need to use these tools, usually you didn't set up Bacula 
according to what you really need.

> I’m using Bacula for Win (2.0.3).

Plan to upgrade to 2.2.4 or later as soon as possible.

And: You do know that the windows DIR and SD are still considered 
experimental?


Arno

> Tks a lot!
> 
> Sandro Mendes
>  
> 
>  
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with restore...

2007-10-08 Thread Sandro Mendes
Hello people, 

I’m trying to restore a job that was successfully done in a media file.

I use the same media (file) that is overwritten every week (full).  I’m trying 
to restore a job that was executed before a job that accuses an error in the 
same media… Taking a look at the file, his size is big (I believe that the job 
I need is in the file), but Bacula can’t show the latest job… 

There is a way to restore using a media that the catalog doesn’t have his 
information??

I’m using Bacula for Win (2.0.3). 

Tks a lot!

Sandro Mendes




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] connection issue with client

2007-10-08 Thread GDS.Marshall
>
> I cannot for the life of me figure this one out.  I am running bacula
> 2.2.4 with patches:
>
> 2.2.4-poll-mount.patch
> 2.2.4-restore.patch
> 2.2.4-sd-auth-fail.patch
> 2.2.4-verify.patch
>
> My backup server and the client I'm having issues with are centos 4.5 with
> 2.6.9-55.0.9.ELsmp.  I am running bacula over a private network.  I am
> able to connect to the client from the backup server via ssh.  There is no
> firewall between the client and the server, and I disabled iptables.  I
> checked the director passwords, and even copied the bacula-fd.conf from
> another client that is working fine.  I also rebuild bacula on my server
> and the client.  I have 10 clients now, they are all over the same network
> setup in the same way, and this is the only one that just won't work.
> This client was working with bacula-2.2.0, but I just upgraded to
> bacula-2.2.4 and it hasn't worked since.  I tried to revert back to 2.2.0
> and that didn't solve the issue either.
>
>
> I am able to connect from the client to the bconsole on the server.
>
>
> Here is an attempt to connect from the server to the client via telnet
> over port 9102:
> [EMAIL PROTECTED] ~]# telnet 192.168.1.162 9102
> Trying 192.168.1.162...
> Connected to nattybo-i (192.168.1.162).
> Escape character is '^]'.
> Connection closed by foreign host.

Is the connection closed immediately?  I have just telneted to one of my
machines on 9102 and it happily sits there.  What do you have in
/etc/hosts.allow and /etc/hosts.deny?

Regards,

Spencer


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Help with restore

2007-10-08 Thread Sandro Mendes
Hello people, 

I’m trying to restore a job that was successfully done in a media file.

I use the same media (file) that is overwritten every week (full).  I’m trying 
to restore a job that was executed before a job that accuses an error in the 
same media… Taking a look at the file, his size is big (I believe that the job 
I need is in the file), but Bacula can’t show the latest job… 

There is a way to restore using a media that the catalog doesn’t have his 
information??

I’m using Bacula for Win (2.0.3). 

Tks a lot!

Sandro Mendes




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore media (in files) with problems

2007-10-08 Thread Mendes, Sandro
Hello people, 

I'm trying to restore a job that was successfully done in a media file.

I use the same media (file) that is overwritten every week (full).  I'm
trying to restore a job that was executed before a job that accuses an
error in the same media... Taking a look at the file, his size is big (I
believe that the job I need is in the file), but Bacula can't show the
latest job... 

There is a way to restore using a media that the catalog doesn't have
his information??

I'm using Bacula for Win (2.0.3). 

Tks a lot!

Sandro Mendes
 

 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] connection issue with client

2007-10-08 Thread Megan Kispert

I cannot for the life of me figure this one out.  I am running bacula 
2.2.4 with patches:

2.2.4-poll-mount.patch
2.2.4-restore.patch
2.2.4-sd-auth-fail.patch
2.2.4-verify.patch

My backup server and the client I'm having issues with are centos 4.5 with 
2.6.9-55.0.9.ELsmp.  I am running bacula over a private network.  I am 
able to connect to the client from the backup server via ssh.  There is no 
firewall between the client and the server, and I disabled iptables.  I 
checked the director passwords, and even copied the bacula-fd.conf from 
another client that is working fine.  I also rebuild bacula on my server 
and the client.  I have 10 clients now, they are all over the same network 
setup in the same way, and this is the only one that just won't work. 
This client was working with bacula-2.2.0, but I just upgraded to 
bacula-2.2.4 and it hasn't worked since.  I tried to revert back to 2.2.0 
and that didn't solve the issue either.


I am able to connect from the client to the bconsole on the server.


Here is an attempt to connect from the server to the client via telnet 
over port 9102:
[EMAIL PROTECTED] ~]# telnet 192.168.1.162 9102
Trying 192.168.1.162...
Connected to nattybo-i (192.168.1.162).
Escape character is '^]'.
Connection closed by foreign host.


Client output during telnet, it seems to see the server (.151):
[EMAIL PROTECTED] bacula]# netstat -pant | grep 9102
tcp0  0 0.0.0.0:91020.0.0.0:*  LISTEN  
24175/bacula-fd
tcp0  0 192.168.1.162:9102  192.168.1.151:32812 
TIME_WAIT   -


[EMAIL PROTECTED] ~]# telnet 0 9102
Trying 0.0.0.0...
Connected to 0 (0.0.0.0).
Escape character is '^]'.
<>


>From bconsole on the server, status:
Select Client (File daemon) resource (1-10): 7
Connecting to Client nattybo-fd at 192.168.1.162:9102
Failed to connect to Client nattybo-fd.




08-Oct 14:28 backup1-dir: -Console-.2007-10-08_14.28.30 Fatal error: 
Unable to authenticate with File daemon at "192.168.1.162:9102". Possible 
causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors 
for help.





Client bacula-fd.conf file:

Director {
   Name = backup1-dir
   Password = "RHqexkjps8NywXP3xi15yTooF6pU0zQVviDUwiHc+1TC"
}

Director {
   Name = backup1-mon
   Password = "LY/hERpxTupJxwYV1QC8lMYJMruclkIdMJJEmRQT0GaX"
   Monitor = yes
}

   Name = nattybo-fd
   WorkingDirectory = /var/bacula
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 1
}

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





Server bacula-dir.conf snipets:

Director {# define myself
   Name = backup1-dir
   DIRport = 9101# where we listen for UA connections
   QueryFile = "/etc/bacula/query.sql"
   WorkingDirectory = "/home/bacula/working"
   PidDirectory = "/var/run"
   Maximum Concurrent Jobs = 2
   Password = "H4POezITf8d0fkdx3aKJXI602eebG5+wqrDCuP5Fpxtm" # 
Console p
assword
   Messages = Daemon
}


Job {
   Name = "nattybo"
   Client = nattybo-fd
   JobDefs = "Full Backups"
   FileSet = "DB_Server"
   Storage = Dump1
   Write Bootstrap = "/home/bacula/working/nattybo.bsr"
}


Client {
   Name = nattybo-fd
   Address = 192.168.1.162
   FDPort = 9102
   Catalog = MyCatalog
   Password = "RHqexkjps8NywXP3xi15yTooF6pU0zQVviDUwiHc+1TC"  # 
password
  for FileDaemon
   File Retention = 14 days# 30 days
   Job Retention = 6 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
}





Any ideas???

Thanks,

Megan

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage director segfaults, bacula 2.2.4 useless

2007-10-08 Thread mark . bergman

I haven't seen any response to the query that I posted last week. Please let me 
know if there's any more information that I can provide, or any suggested 
changes in my configurate that will resolve the segmentation faults in the 
storage director.

I'd appreciate any help with this issue, as it's preventing me from upgrading 
my current bacula installation. 

Thanks,

Mark


In the message dated: Thu, 04 Oct 2007 11:11:47 EDT,
The pithy ruminations from [EMAIL PROTECTED] on 
<[Bacula-users] bacula-sd 2.2.4 goes kaboom! (segfault on despooling data)> wer
e:
=> This is a multipart MIME message.
=> 
=> --==_Exmh_1191510464_44420
=> Content-Type: text/plain; charset=us-ascii
=> 
=> 
=> I'm testing bacula 2.2.4 and the bacula-sd daemon repeatedly exits with a 
=> segmentation fault. Bacula 1.38.11 works reliably on the same machine with 
the 
=> same hardware and configuration 
=> files.
=> 
=> Environment:
=>  Fedora Core 1
=>  Kernel 2.4.26
=>  gcc 3.3.2
=>  MySQL 5.0.22
=>  Dell PV 132T autochanger
=>  
=> Build configuration script:
=>  ./configure \
=>   --prefix=/usr/local/bacula-2.2.4  \
=>   --disable-nls \
=>   --disable-ipv6\
=>   --enable-batch-insert \
=>   [EMAIL PROTECTED]\
=>   [EMAIL PROTECTED] \
=>   --with-db-name=bacula2\
=>   --with-mysql  \
=>   --mandir=/usr/local/bacula-2.2.4/man  \
=>   --with-pid-dir=/usr/local/bacula-2.2.4/var/run\
=>   --with-subsys-dir=/usr/local/bacula-2.2.4/var/subsys  \
=>   --with-dir-user=bacula\
=>   --with-dir-group=bacula   \
=>   --with-sd-user=bacula \
=>   --with-sd-group=bacula\
=>   --with-fd-user=root   \
=>   --with-fd-group=root && make
=> 
=> 
=> I'm using the same configuration files for the director, sd, and fd that 
work 
=> with the 1.38.11 installation (after removing the "Accept Any Volume" 
directive, changing
=> the paths for 2.2.4, and adding the directive "RecyclePool = Scratch").
=> 
=> The software compiles without error. There were no errors from "btape test" 
or 
=> "btape autochanger".
=> 
=> The bacula-sd daemon crashes repeatedly whether or not the variable 
=> LD_ASSUME_KERNEL was set to "2.4.19" before compiling bacula.
=> 
=> The bacula-sd daemon is running as root (while I sort out an issue that's not
=> present in 1.38.11 with permissions on the tape device). The bacula-dir 
normally
=> runs as user "bacula". 
=> 
=> Even if I modify the bacula-dir options to run it as root, no traceback file 
is
=> generated. The message (received via email) from Bacula is:
=>  
=>  Using host libthread_db library "/lib/libthread_db.so.1".
=>  0x401728d1 in ?? ()
=>  /usr/local/bacula-2.2.4/etc/btraceback.gdb:1: Error in sourced command 
file:
=>  Cannot access memory at address 0x80a2e34
=> 
=> The fault seems to occur right after the SD begins despooling data. I've got 
4 
=> log files from running the SD with debugging on (set to 200 or higher), and 
the 
=> error always happens after the first instance of despooling data. In each 
case, 
=> the log file shows "stored.c:582 In terminate_stored() sig=11".
=> 
=> I've attached an excerpt from the SD debugging output.
=> 
=> 
=> Thanks,
=> 
=> Mark
=> 
=> 
=> 
=> Mark Bergman  [EMAIL PROTECTED]
=> System Administrator
=> Section of Biomedical Image Analysis 215-662-7310
=> Department of Radiology,   University of Pennsylvania
=> 
=> 
http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu
=> 
=> 

- --==_Exmh_1191860770_278340
Content-Type: application/octet-stream ; name="bacula-2.2.4_SD_debugging"
Content-Description: bacula-2.2.4_SD_debugging
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bacula-2.2.4_SD_debugging"

cGFydGhlbm9uLXNkOiBqb2IuYzoxNzMgYXJjaGl2ZS4yMDA3LTEwLTAzXzE3LjEwLjA0IHdh
aXRpbmcgMTgwMCBzZWMgZm9yIEZEIHRvIGNvbnRhY3QgU0QKcGFydGhlbm9uLXNkOiBibmV0
LmM6NjY2IHdobz1jbGllbnQgaG9zdD0xNzAuMjEyLjEyMy40NTYgcG9ydD0zNjY0MwpwYXJ0
aGVub24tc2Q6IGRpcmNtZC5jOjE3MSBDb25uOiBIZWxsbyBTdGFydCBKb2IgYXJjaGl2ZS4y
MDA3LTEwLTAzXzE3LjEwLjA0CnBhcnRoZW5vbi1zZDogZGlyY21kLmM6MTczIEdvdCBhIEZE
IGNvbm5lY3Rpb24KcGFydGhlbm9uLXNkOiBqb2IuYzoyMTUgRm91bmQgSm9iIGFyY2hpdmUu
MjAwNy0xMC0wM18xNy4xMC4wNApwYXJ0aGVub24tc2Q6IGNyYW0tbWQ1LmM6NzEgc2VuZDog
YXV0aCBjcmFtLW1kNSA8MTA5NTkzMDY2LjExOTE0NDU4MDVAcGFydGhlbm9uLXNkPiBzc2w9
MApwYXJ0aGVub24tc2Q6IGNyYW0tbWQ1LmM6MTMxIGNyYW0tZ2V0OiBhdXRoIGNyYW0tbWQ1
IDwxNzI0NzgwMTE5LjExOTE0NDU4MDVAcGFydGhlbm9uLWZkPiBzc2w9MApwYXJ0aGVub24t
c2Q6IGNyYW0tbWQ1LmM6MTUwIHNlbmRpbmcgcmVzcCB0byBjaGFsbGVuZ2U6IFY3K1MxUUpw
aTUreHh4eHh4eHh4eApwYXJ0aGVub24tc2Q6IGpvYi5jOjIzMiBPSyBBdXRoZW50aWNhdGlv
biBKb2IgYXJjaGl2ZS4yMDA3LTEwLTAzXzE3LjEwLjA0CnBhcnRoZW5vbi1zZDogam9iLmM6
MTkxIFJ1bm5pbmcgam9iIGFyY2hpdmUuMjAwNy0xMC0

[Bacula-users] Catalog database ran out of room--OK?

2007-10-08 Thread Ross Boylan
My last backup job failed because the catalog database ran of room on
the disk.  I see the section of the manual about database maintenance,
but I have a concern and a question.

The concern is that my catalog is now messed up, not just for that
particular job but in general.  What state is it in?  Will it be OK, at
least if the database (postgres) utilities say the database is OK?

My reading of the logs is that the actual backup (to disk--a different
one from the catalog) is OK.  Is it?  If so, could I restore the catalog
entries by using one of the restore utilities and the backup?

Here's part of the job log from bacula:
08-Oct 07:32 corn-sd: Job write elapsed time = 07:08:23, Transfer rate =
168.8 K bytes/second
08-Oct 07:32 corn-fd: ClientAfterJob: run command "super cyrus-resume"
08-Oct 07:32 corn-fd: ClientAfterJob: Starting Cyrus IMAPd: cyrmaster.
08-Oct 07:37 corn-dir: Cyrus.2007-10-08_00.05.02 Fatal error: Can't fill
File table Query failed:  INSERT INTO File (FileIndex, JobId, PathId,
FilenameId, LStat, MD5)  SELECT batch.FileIndex, batch.JobId,
Path.PathId,Filename.FilenameId,batch.LStat,
batch.MD5 FROM batch
JOIN Path ON (batch.Path = Path.Path) JOIN
Filename ON (batch.Name = Filename.Name) : ERR=

Note that it got to the run after job, and that the failure is reported
5 minutes (!) after everything else seemed to finish.

Here are the postgres logs:
2007-10-08 00:24:01 PDT ERROR:  table "delcandidates" does not exist
2007-10-08 00:24:01 PDT STATEMENT:  DROP TABLE DelCandidates
2007-10-08 00:24:01 PDT ERROR:  index "delinx1" does not exist
2007-10-08 00:24:01 PDT STATEMENT:  DROP INDEX DelInx1
2007-10-08 00:24:01 PDT ERROR:  index "delinx1" does not exist
2007-10-08 00:24:01 PDT STATEMENT:  DROP INDEX DelInx1
2007-10-08 05:02:03 PDT LOG:  incomplete startup packet
2007-10-08 07:37:08 PDT ERROR:  could not write to hash-join temporary
file: No space left on device
2007-10-08 07:37:08 PDT STATEMENT:   INSERT INTO File (FileIndex, JobId,
PathId, FilenameId, LStat, MD5)  SELECT batch.FileIndex, batch.JobId,
Path.PathId,Filename.FilenameId,batch.LStat,
batch.MD5 FROM batch
JOIN Path ON (batch.Path = Path.Path) JOIN
Filename ON (batch.Name = Filename.Name) 
2007-10-08 07:37:10 PDT ERROR:  table "delcandidates" does not exist
2007-10-08 07:37:10 PDT STATEMENT:  DROP TABLE DelCandidates
2007-10-08 07:37:10 PDT ERROR:  index "delinx1" does not exist
2007-10-08 07:37:10 PDT STATEMENT:  DROP INDEX DelInx1
2007-10-08 07:37:11 PDT ERROR:  index "delinx1" does not exist
2007-10-08 07:37:11 PDT STATEMENT:  DROP INDEX DelInx1

By the way, are all those other errors normal?


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Resource for Restore Job cannot be specified?

2007-10-08 Thread Paul Waldo
Viktor Radnai wrote:
> Hi Paul,
>
> Did you specify the ThecusCameraFile storage device in bacula-sd.conf
> as well? Did you restart the storage daemon so it would pick up the
> new config? If the answer to both questions is yes, could you please
> send us the storage definition from both bacula-dir.conf and
> bacula-sd.conf?
>
> Cheers,
> Vik
>
>   
Hi Vik,

The answer to both questions is yes (I think) :-)
Here is the relevant section from bacula-dir.conf:

Client {
Name = thecus_camera
Address = pluto
FDPort = 9102
Catalog = MyCatalog
Password = "xxx"  # password for FileDaemon
File Retention = 6 months
Job Retention = 6 months
AutoPrune = yes
}

Storage {
Name = ThecusCameraFile
Address = pluto.waldo.home
SDPort = 9103
Password = "xxx"
Device = ThecusCameraStorage
Media Type = File
}

Pool {
Name = ThecusCameraFullPool
Pool Type = Backup
#Storage = PlutoFile
Recycle = yes
Maximum Volume Jobs = 1
Volume Retention = 6 months
Accept Any Volume = yes
Label Format = "ThecusCameraFull-"
}

Pool {
Name = ThecusCameraDiffPool
Pool Type = Backup
Recycle = yes
Volume Retention = 1 month
Accept Any Volume = yes
Maximum Volume Jobs = 1
Label Format = "ThecusCameraDiff-"
Maximum Volumes = 7
}

Pool {
Name = ThecusCameraIncPool
Pool Type = Backup
Recycle = yes
Volume Retention = 1 week
Accept Any Volume = yes
Maximum Volume Jobs = 1
Label Format = "ThecusCameraInc-"
Maximum Volumes = 7
}

# List of files to be backed up
FileSet {
Name = "ThecusCameraFileSet"
Include {
File = "/mounts/for_backup/camera"
Options {
Compression=GZIP2
signature = SHA1
verify = pins1
}
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}

JobDefs {
Name = "ThecusCameraTemplate"
Type = Backup
Level = Incremental
Write Bootstrap =
"/var/backups/client_backups/thecus/camera/thecus_camera.bsr"
Schedule = "WeeklyCycle"
Messages = Standard

FileSet="ThecusCameraFileSet"
Pool = "Default"
Full Backup Pool = ThecusCameraFullPool
Incremental Backup Pool = ThecusCameraIncPool
Differential Backup Pool = ThecusCameraDiffPool
Run Before Job = "/bin/mount /mounts/for_backup/camera"
Run After Job = "/bin/umount /mounts/for_backup/camera"
Run After Failed Job = "/bin/umount /mounts/for_backup/camera"
Priority = 10
Spool Data = no
Client = thecus_camera
Storage = ThecusCameraFile
}

Job {
Name = "ThecusCamera"
JobDefs = "ThecusCameraTemplate"
Type = Backup
}

Job {
Name = "ThecusCameraRestoreFiles"
#JobDefs = "RestoreFilesTemplate"
Storage = "ThecusCameraFile"
Type = Restore
Client=pluto
FileSet="Full Set"
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}

Job {
Name = "ThecusCameraVerify"
JobDefs = "ThecusCameraTemplate"
Type = Verify
Level = DiskToCatalog
}


*End of bacula-dir.conf***

And here is the relevant section of bacula-sd.conf:

Device {
Name = ThecusCameraStorage
Media Type = File
Archive Device = "/var/backups/client_backups/thecus/camera"
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
}


*End of bacula-sd.conf***


The backup works just fine, so I'm not sure why the restore does not,
using the same Storage parameter.  Thanks for your help!

Paul


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fun with an HP 1/8 autoloader

2007-10-08 Thread Gavin Hamill
Hi - I'm trying to determine a reasonable base before moving onto Bacula
itself... have a look at this, does it make sense?

The autoloader starts off empty. I use mtx to load a tape, and even this
trivial operation returns an error, yet the tape has definately moved!

The autoloader already has the latest firmware :(

[EMAIL PROTECTED] bacula]# mtx -f /dev/sg3 inquiry
Product Type: Medium Changer
Vendor ID: 'HP  '   
Product ID: '1x8 G2 AUTOLDR  '
Revision: '1.30'
Attached Changer API: No
[EMAIL PROTECTED] bacula]# mtx -f /dev/sg3 status
  Storage Changer /dev/sg3:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
  Storage Element 1:Full :VolumeTag=VHJ252L2
  Storage Element 2:Full :VolumeTag=VHJ251L2
  Storage Element 3:Full :VolumeTag=VHJ239L2
  Storage Element 4:Full :VolumeTag=VHJ250L2
  Storage Element 5:Full :VolumeTag=VHJ246L2
  Storage Element 6:Full :VolumeTag=VHJ247L2
  Storage Element 7:Full :VolumeTag=VHJ248L2
  Storage Element 8:Full :VolumeTag=VHJ249L2
[EMAIL PROTECTED] bacula]# mtx -f /dev/sg3 load 1
Loading media from Storage Element 1 into drive 0...
(..  15 seconds pass... )
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=No Sense
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 00
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 1001 to 1 Failed
[EMAIL PROTECTED] bacula]# echo $?
1
[EMAIL PROTECTED] bacula]# mtx -f /dev/sg3 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Unit Attention
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 28
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
Mode sense (0x1A) for Page 0x1D failed
  Storage Changer /dev/sg3:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag =
VHJ252L2
  Storage Element 1:Empty
  Storage Element 2:Full :VolumeTag=VHJ251L2
  Storage Element 3:Full :VolumeTag=VHJ239L2
  Storage Element 4:Full :VolumeTag=VHJ250L2
  Storage Element 5:Full :VolumeTag=VHJ246L2
  Storage Element 6:Full :VolumeTag=VHJ247L2
  Storage Element 7:Full :VolumeTag=VHJ248L2
  Storage Element 8:Full :VolumeTag=VHJ249L2

OS is CentOS 4.5 with all updates applied.

Cheers,
Gavin.



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Resource for Restore Job cannot be specified?

2007-10-08 Thread Viktor Radnai
Hi Paul,

Did you specify the ThecusCameraFile storage device in bacula-sd.conf
as well? Did you restart the storage daemon so it would pick up the
new config? If the answer to both questions is yes, could you please
send us the storage definition from both bacula-dir.conf and
bacula-sd.conf?

Cheers,
Vik

-- 
My other sig is hilarious

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] storage

2007-10-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arno Lehmann wrote:
> Hi,
> 
> 08.10.2007 15:11,, luyigui loholhlki wrote::
>> Device {
>> Name = Drive-1 #
>> Drive Index = 0
>> Media Type = DLT-8000
>> Archive Device = /dev/nst0
>> AutomaticMount = yes; # when device opened, read it
>> AlwaysOpen = yes;
>> RemovableMedia = yes;
>> RandomAccess = no;
>> AutoChanger = yes
>> Alert Command = "sh -c ’tapeinfo -f %c |grep TapeAlert|cat’"
>> }
>> with this declaration we switch between 8 volumes but the problem is 
>> that i have just 7
>> can u tell me how i can restrict the storage just to the 7 volumes i have
>> thanks in advance
> 
> I really don't understand your problem... Bacula will never try to use 
> a volume that doesn't exist in the catalog.
> 
> If you changed the autochanger contents, you need to run the 'update 
> slots' command.
> 
> If you need to prevent Bacula from even noting the existence of a 
> specific slot in your autochanger, you'd have to modify mtx-changer so 
> that it doesn't report that slot.
> 
> Hope that helps,
> 
> Arno

This is now the THIRD e-mail I've seen on this topic. Setting your
maximum number of volumes should probably solve this problem -- your
autochanger's slots have nothing to do with the number of volumes in the
pool -- it is coincidental.


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

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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage problem

2007-10-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

luyigui loholhlki wrote:
> hi
> i'have an hp storage with 8 volumes but the the problem is that i have
> just 7 volumes on it and i want to disable the access to the 8th
> volume(it doesnt exist) i have always a msg telling me to mount the 8th
> volume
> brief:
> define the hp-storage (1->7)

If it wasn't you who asked this question, please read the list archives.
If it was you, did you read the response?

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

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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage Resource for Restore Job cannot be specified?

2007-10-08 Thread Paul Waldo
Hi all,

I am trying to create a restore job definition:
Job {
Name = "ThecusCameraRestoreFiles"
#JobDefs = "RestoreFilesTemplate"
Storage = "ThecusCameraFile"
Type = Restore
Client=pluto
FileSet="Full Set"
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}

When I run this job to restore files, the first thing I notice is that
the Job Summary (presented before run) shows that it will use Storage
"File".  Why would it not use "ThecusCameraFile", as specified in the
job definition?

Needing the files restored, I modify the job run so that the Storage is
correct, like this:
Run Restore job
JobName:ThecusCameraRestoreFiles
Bootstrap:  /var/lib/bacula/pluto-dir.7.restore.bsr
Where:  /tmp/bacula-restores
Replace:always
FileSet:Full Set
Client: thecus_camera
Storage:ThecusCameraFile
When:   2007-10-08 07:17:10
Catalog:MyCatalog
Priority:   10
OK to run? (yes/mod/no): y
Job started. JobId=692

I quickly get a message informing me that the Storage is a problem:
You have messages.
*mess
08-Oct 07:18 pluto-dir: Start Restore Job
ThecusCameraRestoreFiles.2007-10-08_07.18.57
08-Oct 07:18 pluto-sd: Failed command:
08-Oct 07:18 pluto-sd: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Fatal error:
 Device "FileStorage" with MediaType "File" requested by DIR not
found in SD Device resources.
08-Oct 07:18 pluto-dir: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Fatal error:
 Storage daemon didn't accept Device "FileStorage" because:
 3924 Device "FileStorage" not in SD Device resources.
08-Oct 07:18 pluto-dir: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Error: Bacula 1.38.11 (28Jun06): 08-Oct-2007 07:18:59
  JobId:  692
  Job:ThecusCameraRestoreFiles.2007-10-08_07.18.57
  Client: thecus_camera
  Start time: 08-Oct-2007 07:18:59
  End time:   08-Oct-2007 07:18:59
  Files Expected: 53
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***

08-Oct 07:18 pluto-dir: ThecusCameraRestoreFiles.2007-10-08_07.18.57
Error: Bacula 1.38.11 (28Jun06): 08-Oct-2007 07:18:59
  JobId:  692
  Job:ThecusCameraRestoreFiles.2007-10-08_07.18.57
  Client: thecus_camera
  Start time: 08-Oct-2007 07:18:59
  End time:   08-Oct-2007 07:18:59
  Files Expected: 53
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  1
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***


Any help would be greatly appreciated.  Thank in advance!

Paul


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Vista 64 and VSS

2007-10-08 Thread Douglas Schmidt
I'm attempting to backup a Vista 64 workstation with Bacula 2.2.4and
getting errors for VSS on the machine.  This is the first Vista 64
device I have attempted to use with Bacula.  I am running multiple Vista 32
and XP clients with no errors.

The error message:

06-Oct 23:30 Schmidt-hp8150-fd: Schmidt-HP8150.2007-10-06_23 .05.05 Warning:
VSS was not initialized properly. VSS support is disabled. ERR=An attempt
was made to reference a token that does not exist.

Enable VSS = on is set in the fileset resource.

In Windows Event Viewer/Windows Logs/Applications I get the following errors
at the same time:


Volume Shadow Copy Service error: The VSS Coordinator class is not
registered. This may be caused due to a setup failure or as a result of an
application's installer or uninstaller.

Operation:

Instantiating VSS server
 ---
Volume Shadow Copy Service error: Unexpected error calling routine
CoCreateInstance. hr = 0x80040154.

Operation:

Instantiating VSS server
-

I have uninstalled and reinstalled the client multiple times.  I have also
verified in Windows Services that all of the COM+ services are running.

I Googled the Windows error messages and there is a fair bit of discussion
out there regarding various backup applications and Vista 64.  Most of it
centers around Vista 64 not being capable of using the 32 bit requester.

Is anyone else out there experiencing the same issues?  Or does anyone have
a workaround?

For the Bacula development community: If there is a need for testers for
Vista 32, Vista 64, XP or Linux, I am interested in assisting.

Thanks,

-- 
Douglas Schmidt
[EMAIL PROTECTED]
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mail problem

2007-10-08 Thread Viktor Radnai
Hi Andy,

The default mailcommand setting (which you have quoted) is to send
mail with the "From" address being the same as the "To" address. Try
replacing the first %r (which is the sender's email address) to
something else, eg:
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\)
[EMAIL PROTECTED]" -s  \"Bacula: %t %e of %c %l\" %r"

> <[EMAIL PROTECTED]>... Not permitted (in reply to MAIL FROM command)

Based on the above it looks like Postfix is discarding the message
because it thinks that your bacula host is not authorised to send mail
as [EMAIL PROTECTED] Try setting it to something else (maybe even
a different domain name) and see if that will work. Alternately you
could change your mail server config to accept mail from your bacula
server, but that's an entirely different topic unrelated to bacula.

Hope this helps.

Cheers,
Vik
-- 
My other sig is hilarious

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] storage

2007-10-08 Thread Arno Lehmann
Hi,

08.10.2007 15:11,, luyigui loholhlki wrote::
> Device {
> Name = Drive-1 #
> Drive Index = 0
> Media Type = DLT-8000
> Archive Device = /dev/nst0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> Alert Command = "sh -c ’tapeinfo -f %c |grep TapeAlert|cat’"
> }
> with this declaration we switch between 8 volumes but the problem is 
> that i have just 7
> can u tell me how i can restrict the storage just to the 7 volumes i have
> thanks in advance

I really don't understand your problem... Bacula will never try to use 
a volume that doesn't exist in the catalog.

If you changed the autochanger contents, you need to run the 'update 
slots' command.

If you need to prevent Bacula from even noting the existence of a 
specific slot in your autochanger, you'd have to modify mtx-changer so 
that it doesn't report that slot.

Hope that helps,

Arno

> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
>  vers Yahoo! Mail
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] storage

2007-10-08 Thread luyigui loholhlki
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = DLT-8000
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c ’tapeinfo -f %c |grep TapeAlert|cat’"
}
with this declaration we switch between 8 volumes but the problem is that i 
have just 7
can u tell me how i can restrict the storage just to the 7 volumes i have
thanks in advance

   
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mail problem

2007-10-08 Thread Arno Lehmann
Hi,

08.10.2007 14:45,, Andy Collyer wrote::
> The mailcommand is set to:
>  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
> \"Bacula: %t %e of %c %l\" %r"
> and has never been changed.
> 
> 
> The exact error, or rather the error message sent back is:
> 
> This is the Postfix program at host gateway.mydomain.com.
> 
> I'm sorry to have to inform you that your message could not
> be delivered to one or more recipients. It's attached below.
> 
> For further assistance, please send mail to 
> 
> If you do so, please include this problem report. You can
> delete your own text from the attached returned message.
> 
>   The Postfix program
> 
> <[EMAIL PROTECTED]>: host obmr.btconnect.com[213.123.20.93] said: 550
> <[EMAIL PROTECTED]>... Not permitted (in reply to MAIL FROM
> command)

This is the reason: your postfix setup does not allow that user or 
machine to submit mail.

It might help to change the from address bsmtp uses to something 
postfix accepts, like an existing role account in your network.

> 
> 
> And the corresponding message in /var/log/maillog is:
> 
> 
> Oct  8 01:47:58 gateway postfix/smtp[3787]: CAB1E5217E:
> to=<[EMAIL PROTECTED]>, relay=obmr.btconnect.com[213.123
> .20.93], delay=4, status=bounced (host obmr.btconnect.com[213.123.20.93]
> said: 550 <[EMAIL PROTECTED]>... Not pe
> rmitted (in reply to MAIL FROM command))
> 
> 
> The error message does get through but the original mail does not.  
> 
> Any ideas?

... or you'll have to check your postfix configuration and correct it.

Arno


> Thanks for your time,
> AC
> 
>> Hi all,
>>  
>> When a job finishes, bacula sends an email from (e.g.) [EMAIL PROTECTED],
>> but the server is actually on (e.g.) myother.domain.co.uk and the smtp
> relay
>> at myother.domain.co.uk rejects the FROM domain and the email is returned
> to
>> [EMAIL PROTECTED]  Where is the setting for who bacula is sending the
>> email FROM (not the bsmtp -f field)???  Normal sending (e.g. echo "Test
>> timed `date`" | mail -s test [EMAIL PROTECTED]) works fine.
>>  
>> Bacula 2.0.2 on CentOS4.  I've checked manuals, tips and google to no
> avail.
>> I'm sure it's simple (it was set up, after all!)  Help!!
>  
> The -f option should set the from fields in both the envelope and the
> message.
> What are you passing for the -f option and what is the exact error from the
> mail server?
>  
> __Martin
>  
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>  
>  
> -
>  
> This email and any files transmitted with it are confidential and are
> intended solely for the use of the individual(s) or entity to whom they are
> addressed.
>  
> If you are not the intended recipient you must not read, use or disseminate
> the information contained in the email and its attachments.
>  
> Any views expressed in the email or its attachments are those of the author
> and may not necessarily constitute or imply its endorsement by Bow Software
> Ltd.
>  
> -
>  
> Bow Software Ltd
> The Old Malt House
> Bow
> Crediton
> Devon  EX17 6HB
> http://www.bowsoftware.co.uk
>  
> Registered in England No. 5934136
>  
> -
>  
> PLEASE CONSIDER THE ENVIRONMENT before printing this message.
>  
> -
> 
>  
> 
> 
> 
> 
>   From: Andy Collyer [mailto:[EMAIL PROTECTED] 
>   Sent: Thursday, October 04, 2007 11:00 AM
>   To: 'bacula-users@lists.sourceforge.net'
>   Subject: Mail problem
>   
>   
>   Hi all,
>
>   When a job finishes, bacula sends an email from (e.g.)
> [EMAIL PROTECTED], but the server is actually on (e.g.)
> myother.domain.co.uk and the smtp relay at myother.domain.co.uk rejects the
> FROM domain and the email is returned to [EMAIL PROTECTED]  Where is the
> setting for who bacula is sending the email FROM (not the bsmtp -f field)???
> Normal sending (e.g. echo "Test timed `date`" | mail -s test
> [EMAIL PROTECTED]) works fine.
>
>   Bacula 2.0.2 on CentOS4.  I've checked manuals, tips and google to
> no avail.  I'm sure it's simple (it was set up, after all!)  Help!!
>
>   Thanks for your time!
>   AC
>
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still greppi

Re: [Bacula-users] autochanger mount/unmount config without blocking

2007-10-08 Thread John Drescher
On 10/8/07, Alan Brown <[EMAIL PROTECTED]> wrote:
> On Fri, 5 Oct 2007, Flak Magnet wrote:
>
> > On Thursday 04 October 2007 11:27:04 am John Drescher wrote:
> >> Use the release command instead of unmount
> >>
> >> John
> >
> > Huh.  I've written some scripts that do some slightly funky stuff to get
> > around the "blocking" effect of doing an "umount" from bconsole.
>
> All you need to do is "mount" the drive afterwards, using slot 0
>
Yes. That will work as well but with the release command you do not
have to do that and it works the same for single tape drives and
autochangers.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recycle: pruned volume vs scratch pool volume

2007-10-08 Thread John Drescher
On 10/8/07, Ralf Gross <[EMAIL PROTECTED]> wrote:
> John Drescher schrieb:
> > > sometimes I just can't follow the decision bacula takes about which 
> > > volume to
> > > recycle (bacula 2.0.3 - update to 2.2.4 scheduled, debian etch, postgres 
> > > 8.1).
> > > http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html#SECTION00253
> > >
> > > [...]
> > > # Try recycling any purged Volumes.
> > > # Prune volumes applying Volume retention period (Volumes with VolStatus 
> > > Full,
> > > Used, or Append are pruned). Note, even if all the File and Job records 
> > > are
> > > pruned from a Volume, the Volume will not be marked Purged until the 
> > > Volume
> > > retention period expires.
> > > # Search the Pool for a Volume with VolStatus=Purged
> > > # If a Pool named "Scratch" exists, search for a Volume and if found move 
> > > it to
> > > the current Pool for the Job and use it. Note, when the Scratch Volume is 
> > > moved
> > > into the current Pool, the basic Pool defaults are applied as if it is a 
> > > newly
> > > labeled Volume (equivalent to an update volume from pool command).
> > > [...]
> > >
> > > And this is what happened, btw: not for the first time:
> > >
> > > 07-Okt 11:03 VU0EM005-sd: End of medium on Volume "06D131L3"
> > >  Bytes=687,798,171,648 Blocks=10,661,553 at 07-Okt-2007 11:03.
> > > 07-Okt 11:03 VU0EM005-dir: Pruned 1 Job on Volume "06D132L3" from catalog.
> > > 07-Okt 11:03 VU0EM005-dir: ua_purge.c:611 All records pruned from Volume
> > >  "06D132L3"; marking it "Purged"
> > > 07-Okt 11:03 VU0EM005-dir: Recycled volume "06D136L3"
> > > 07-Okt 11:03 VU0EM005-dir: Using Volume "06D136L3" from 'Scratch' pool.
> > >
> > >
> > > Why did bacula choose the volume from the scratch pool and not volume 
> > > 06D132L3
> > > which is in the Full-Pool and just was purged? Why didn't bacula recyle 
> > > vol
> > > 06D132L3 right after purging it?
> > >
> > Do you have a multi drive changer? Was 06D132L3 a second drive?
>
> No, this is a single drive changer.
>
> > Does query "List Volumes Bacula thinks are in changer" show this tape?
>
> The state of inchanger for volume 06D132L3 is 0!? It seems that the
> state changed between 2007-10-03 and 2007-10-04, I dump the 'list
> volumes' output to a file each day.
>
> 03-Okt-2007 20:05:02
> llist volumes
>
> mediaid: 13
> volumename: 06D132L3
> [...]
> inchanger: 1
>
> 04-Okt-2007 20:05:02
> llist volumes
>
> mediaid: 13
> volumename: 06D132L3
> [...]
> inchanger: 0
>
>
> mtx correctly reports that the tape is in slot 13. At the moment I
> have no idea why the inchanger flag for this volume was set to 0.
>
I remember seeing this on the list a few months ago but I am not sure
what the outcome was.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] understanding "status" of serveral daemons.

2007-10-08 Thread Arno Lehmann
Hi,

08.10.2007 13:03,, IEM - network operating center (IOhannes m 
zmoelnig) wrote::
> hi.
> 
> i am currently having trouble to understand why different daemons (fd, 
> sd, dir) show different statuses.
> 
> my "problem": why does a job that runs on all daemons (dir, sd, fd) do 
> not show up in the "status" listings of these daemons?
> i haven't found much in-depth information in the docs, probably i was 
> looking in the wrong places...

You're looking at the state of terminated jobs. If the daemon in 
question didn't save its state information before shutdown or restart, 
that information will not be updated.

Actually, I don't think this "terminated jobs" listing is useful 
except in situations where you have more than one DIR, as more 
detailed and *by definition* complete and correct information is 
available in the catalog.

Arno

> 
> my setup:
> 1 director
> 1 storage daemon
> several file daemons
> director and SD are running on the same machine; the SQL backend is 
> postgresql-8.1
> all machines have recently been upgraded from 2.0.2 to 2.2.4, and are 
> running debian (mostly sarge)
> 
> 
> 
> 
> that's what i get when i do a "status dir "::
> 
> Terminated Jobs:
>   JobId  LevelFiles  Bytes   Status   FinishedName
> 
> 324  Incr 136.790 M  OK   02-Oct-07 03:06 client1
> 325  Full298,323392.4 G  OK   02-Oct-07 23:13 client2
> 326  Incr  4,118218.9 M  OK   03-Oct-07 00:15 client3_0
> 327  Incr18626.89 M  OK   03-Oct-07 03:05 client3_1
> 328  Incr301117.1 M  OK   03-Oct-07 03:06 client4
> 329  Incr 399.478 M  OK   03-Oct-07 03:06 client1
> 330  Incr  2,365134.6 M  OK   04-Oct-07 00:11 client3_0
> 331  Incr 4731.37 M  OK   04-Oct-07 03:05 client3_1
> 332  Incr17011.31 M  OK   04-Oct-07 03:06 client4
> 333  Incr 3220.62 M  OK   04-Oct-07 03:06 client1
> 
> 
> 
> that's what i get when i do a "status storage"::
> 
> Terminated Jobs:
>   JobId  LevelFiles  Bytes   Status   FinishedName
> ===
> 309  Incr  3,159162.3 M  OK   29-Sep-07 00:11 client3_0
> 310  Incr 3122.05 M  OK   29-Sep-07 03:05 client3_1
> 311  Incr17763.22 M  OK   29-Sep-07 03:06 client4
> 312  Diff160,89660.45 G  OK   30-Sep-07 01:53 client3_0
> 313  Diff  2,924201.5 M  OK   30-Sep-07 03:05 client3_1
> 314  Diff852127.4 M  OK   30-Sep-07 03:06 client4
> 315  Incr86624.39 M  OK   01-Oct-07 00:15 client3_0
> 316  Incr 3322.73 M  OK   01-Oct-07 03:05 client3_1
> 317  Incr14362.49 M  OK   01-Oct-07 03:05 client4
> 318  Full 74,8864.625 G  Error01-Oct-07 10:26 client1
> 
> 
> 
> and that's what i get when i do a "status client=client1-fd"::
> 
> Terminated Jobs:
>   JobId  LevelFiles  Bytes   Status   FinishedName
> ==
> 318  Full 74,8864.616 G  Error01-Okt-07 10:26 client1
> 320  Full 79,02816.16 G  OK   01-Okt-07 16:34 client1
> 324  Incr 136.790 M  OK   02-Okt-07 03:06 client1
> 329  Incr 399.478 M  OK   03-Okt-07 03:06 client1
> 333  Incr 3220.62 M  OK   04-Okt-07 03:06 client1
> 334  Incr 2917.59 M  OK   04-Okt-07 13:06 client1
> 340  Incr  95.811 M  OK   05-Okt-07 03:07 client1
> 346  Incr 3224.97 M  OK   06-Okt-07 03:07 client1
> 
> 
> 
> mfds.
> IOhannes m zmölnig
> 
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mail problem

2007-10-08 Thread Andy Collyer
The mailcommand is set to:
 mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula: %t %e of %c %l\" %r"
and has never been changed.


The exact error, or rather the error message sent back is:

This is the Postfix program at host gateway.mydomain.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to 

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<[EMAIL PROTECTED]>: host obmr.btconnect.com[213.123.20.93] said: 550
<[EMAIL PROTECTED]>... Not permitted (in reply to MAIL FROM
command)



And the corresponding message in /var/log/maillog is:


Oct  8 01:47:58 gateway postfix/smtp[3787]: CAB1E5217E:
to=<[EMAIL PROTECTED]>, relay=obmr.btconnect.com[213.123
.20.93], delay=4, status=bounced (host obmr.btconnect.com[213.123.20.93]
said: 550 <[EMAIL PROTECTED]>... Not pe
rmitted (in reply to MAIL FROM command))


The error message does get through but the original mail does not.  

Any ideas?

Thanks for your time,
AC

> 
> Hi all,
>  
> When a job finishes, bacula sends an email from (e.g.) [EMAIL PROTECTED],
> but the server is actually on (e.g.) myother.domain.co.uk and the smtp
relay
> at myother.domain.co.uk rejects the FROM domain and the email is returned
to
> [EMAIL PROTECTED]  Where is the setting for who bacula is sending the
> email FROM (not the bsmtp -f field)???  Normal sending (e.g. echo "Test
> timed `date`" | mail -s test [EMAIL PROTECTED]) works fine.
>  
> Bacula 2.0.2 on CentOS4.  I've checked manuals, tips and google to no
avail.
> I'm sure it's simple (it was set up, after all!)  Help!!
 
The -f option should set the from fields in both the envelope and the
message.
What are you passing for the -f option and what is the exact error from the
mail server?
 
__Martin
 
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
-
 
This email and any files transmitted with it are confidential and are
intended solely for the use of the individual(s) or entity to whom they are
addressed.
 
If you are not the intended recipient you must not read, use or disseminate
the information contained in the email and its attachments.
 
Any views expressed in the email or its attachments are those of the author
and may not necessarily constitute or imply its endorsement by Bow Software
Ltd.
 
-
 
Bow Software Ltd
The Old Malt House
Bow
Crediton
Devon  EX17 6HB
http://www.bowsoftware.co.uk
 
Registered in England No. 5934136
 
-
 
PLEASE CONSIDER THE ENVIRONMENT before printing this message.
 
-

 




From: Andy Collyer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 04, 2007 11:00 AM
To: 'bacula-users@lists.sourceforge.net'
Subject: Mail problem


Hi all,
 
When a job finishes, bacula sends an email from (e.g.)
[EMAIL PROTECTED], but the server is actually on (e.g.)
myother.domain.co.uk and the smtp relay at myother.domain.co.uk rejects the
FROM domain and the email is returned to [EMAIL PROTECTED]  Where is the
setting for who bacula is sending the email FROM (not the bsmtp -f field)???
Normal sending (e.g. echo "Test timed `date`" | mail -s test
[EMAIL PROTECTED]) works fine.
 
Bacula 2.0.2 on CentOS4.  I've checked manuals, tips and google to
no avail.  I'm sure it's simple (it was set up, after all!)  Help!!
 
Thanks for your time!
AC
 





-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Understanding media-type

2007-10-08 Thread Eric Böse-Wolf
Hello Everyone!

As I understand the manual each job is tied to a specific device
in the storage daemon, either by the pool ressource or by the storage
resource in the job resource.

But the manual also tells about bacula selecting the first device, that
can handle the media-type mentioned in the catalog for a job, to do a
restore, but the restore job is also tied to a specific device, isn't
it?

Please explain.

Your sincerely,

Eric Böse-Wolf


pgpg4sFK6eTpH.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] storage

2007-10-08 Thread luyigui loholhlki
i have an hp-tape with 8 volumes
can u tell me if it's possible to have access just to the 7th first volumes and 
neglect the 8th one
thx in advance

   
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] understanding "status" of serveral daemons.

2007-10-08 Thread IEM - network operating center (IOhannes m zmoelnig)
hi.

i am currently having trouble to understand why different daemons (fd, 
sd, dir) show different statuses.

my "problem": why does a job that runs on all daemons (dir, sd, fd) do 
not show up in the "status" listings of these daemons?
i haven't found much in-depth information in the docs, probably i was 
looking in the wrong places...


my setup:
1 director
1 storage daemon
several file daemons
director and SD are running on the same machine; the SQL backend is 
postgresql-8.1
all machines have recently been upgraded from 2.0.2 to 2.2.4, and are 
running debian (mostly sarge)




that's what i get when i do a "status dir "::

Terminated Jobs:
  JobId  LevelFiles  Bytes   Status   FinishedName

324  Incr 136.790 M  OK   02-Oct-07 03:06 client1
325  Full298,323392.4 G  OK   02-Oct-07 23:13 client2
326  Incr  4,118218.9 M  OK   03-Oct-07 00:15 client3_0
327  Incr18626.89 M  OK   03-Oct-07 03:05 client3_1
328  Incr301117.1 M  OK   03-Oct-07 03:06 client4
329  Incr 399.478 M  OK   03-Oct-07 03:06 client1
330  Incr  2,365134.6 M  OK   04-Oct-07 00:11 client3_0
331  Incr 4731.37 M  OK   04-Oct-07 03:05 client3_1
332  Incr17011.31 M  OK   04-Oct-07 03:06 client4
333  Incr 3220.62 M  OK   04-Oct-07 03:06 client1



that's what i get when i do a "status storage"::

Terminated Jobs:
  JobId  LevelFiles  Bytes   Status   FinishedName
===
309  Incr  3,159162.3 M  OK   29-Sep-07 00:11 client3_0
310  Incr 3122.05 M  OK   29-Sep-07 03:05 client3_1
311  Incr17763.22 M  OK   29-Sep-07 03:06 client4
312  Diff160,89660.45 G  OK   30-Sep-07 01:53 client3_0
313  Diff  2,924201.5 M  OK   30-Sep-07 03:05 client3_1
314  Diff852127.4 M  OK   30-Sep-07 03:06 client4
315  Incr86624.39 M  OK   01-Oct-07 00:15 client3_0
316  Incr 3322.73 M  OK   01-Oct-07 03:05 client3_1
317  Incr14362.49 M  OK   01-Oct-07 03:05 client4
318  Full 74,8864.625 G  Error01-Oct-07 10:26 client1



and that's what i get when i do a "status client=client1-fd"::

Terminated Jobs:
  JobId  LevelFiles  Bytes   Status   FinishedName
==
318  Full 74,8864.616 G  Error01-Okt-07 10:26 client1
320  Full 79,02816.16 G  OK   01-Okt-07 16:34 client1
324  Incr 136.790 M  OK   02-Okt-07 03:06 client1
329  Incr 399.478 M  OK   03-Okt-07 03:06 client1
333  Incr 3220.62 M  OK   04-Okt-07 03:06 client1
334  Incr 2917.59 M  OK   04-Okt-07 13:06 client1
340  Incr  95.811 M  OK   05-Okt-07 03:07 client1
346  Incr 3224.97 M  OK   06-Okt-07 03:07 client1



mfds.
IOhannes m zmölnig


-- 
IEM - network operation center
mailto:[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to get list of file from specified job?

2007-10-08 Thread Jon Ingason
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Howells skrev:
> Jon Ingason wrote:
> 
>> If I want to get list of those files which were saved when some job was
>> run, how do I do that?
> 
> http://www.google.com/search?q=list+files+bacula
> 
> Second hit.
> 
Thanks.

- --
Regards

Jon Ingason
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHChSPWn396VE8BCsRAko1AJ0YM7haD3KNKzYH5vpsVQvKrzQ5hgCgxpYr
Oyh9G07Damgja8jmhGnJIzw=
=jxug
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] does bacula support user_xattr?

2007-10-08 Thread Manuel Stächele
hi,

does bacula support user_xattr mounted partitions
so i can restore all informations ?

if yes, how to enable?

greetins manuel

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to get list of file from specified job?

2007-10-08 Thread Chris Howells
Jon Ingason wrote:

> If I want to get list of those files which were saved when some job was
> run, how do I do that?

http://www.google.com/search?q=list+files+bacula

Second hit.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to get list of file from specified job?

2007-10-08 Thread Jon Ingason
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If I want to get list of those files which were saved when some job was
run, how do I do that?
- --
Regards

Jon Ingason
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHCgwBWn396VE8BCsRAlA0AKCXLfRZ+8oP07oX7sMwUhr8qvf+YACggIzU
Gl27izHLYtmj6FyGkTtPG6s=
=1fL8
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage problem

2007-10-08 Thread luyigui loholhlki
hi
i'have an hp storage with 8 volumes but the the problem is that i have just 7 
volumes on it and i want to disable the access to the 8th volume(it doesnt 
exist) i have always a msg telling me to mount the 8th volume
brief:
define the hp-storage (1->7)

   
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recycle: pruned volume vs scratch pool volume

2007-10-08 Thread Ralf Gross
John Drescher schrieb:
> > sometimes I just can't follow the decision bacula takes about which volume 
> > to
> > recycle (bacula 2.0.3 - update to 2.2.4 scheduled, debian etch, postgres 
> > 8.1).
> > http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html#SECTION00253
> >
> > [...]
> > # Try recycling any purged Volumes.
> > # Prune volumes applying Volume retention period (Volumes with VolStatus 
> > Full,
> > Used, or Append are pruned). Note, even if all the File and Job records are
> > pruned from a Volume, the Volume will not be marked Purged until the Volume
> > retention period expires.
> > # Search the Pool for a Volume with VolStatus=Purged
> > # If a Pool named "Scratch" exists, search for a Volume and if found move 
> > it to
> > the current Pool for the Job and use it. Note, when the Scratch Volume is 
> > moved
> > into the current Pool, the basic Pool defaults are applied as if it is a 
> > newly
> > labeled Volume (equivalent to an update volume from pool command).
> > [...]
> >
> > And this is what happened, btw: not for the first time:
> >
> > 07-Okt 11:03 VU0EM005-sd: End of medium on Volume "06D131L3"
> >  Bytes=687,798,171,648 Blocks=10,661,553 at 07-Okt-2007 11:03.
> > 07-Okt 11:03 VU0EM005-dir: Pruned 1 Job on Volume "06D132L3" from catalog.
> > 07-Okt 11:03 VU0EM005-dir: ua_purge.c:611 All records pruned from Volume
> >  "06D132L3"; marking it "Purged"
> > 07-Okt 11:03 VU0EM005-dir: Recycled volume "06D136L3"
> > 07-Okt 11:03 VU0EM005-dir: Using Volume "06D136L3" from 'Scratch' pool.
> >
> >
> > Why did bacula choose the volume from the scratch pool and not volume 
> > 06D132L3
> > which is in the Full-Pool and just was purged? Why didn't bacula recyle vol
> > 06D132L3 right after purging it?
> >
> Do you have a multi drive changer? Was 06D132L3 a second drive?

No, this is a single drive changer.
 
> Does query "List Volumes Bacula thinks are in changer" show this tape?

The state of inchanger for volume 06D132L3 is 0!? It seems that the
state changed between 2007-10-03 and 2007-10-04, I dump the 'list
volumes' output to a file each day.

03-Okt-2007 20:05:02
llist volumes

mediaid: 13
volumename: 06D132L3
[...]
inchanger: 1

04-Okt-2007 20:05:02
llist volumes

mediaid: 13
volumename: 06D132L3
[...]
inchanger: 0


mtx correctly reports that the tape is in slot 13. At the moment I
have no idea why the inchanger flag for this volume was set to 0.

In the mtx.log I can see that an 'update slots' command was issued.
But the output looks ok to me:

20071004-14:50:53 Parms: /dev/NEC-T40A load 13 /dev/ULTRIUM-TD3 0
20071004-14:50:53 Doing mtx -f /dev/NEC-T40A load 13 0
20071004-14:51:34 Parms: /dev/NEC-T40A loaded 13 /dev/ULTRIUM-TD3 0
20071004-14:51:34 Doing mtx -f /dev/NEC-T40A 0 -- to find what is
loaded
20071004-14:51:34 Parms: /dev/NEC-T40A unload 13 /dev/ULTRIUM-TD3 0
20071004-14:51:34 Doing mtx -f /dev/NEC-T40A unload 13 0

I've updated the slots again and now the inchanger flag is 1. That was
the reason why the volume wasn't used, now I only need to know why the
inchanger flag was wrongly set to 0.


Ralf

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: storage daemon resets connections....

2007-10-08 Thread IEM - network operating center (IOhannes m zmoelnig)
IEM - network operating center (IOhannes m zmoelnig) wrote:
> hi all.
> 
> i added a new host to my bacula backup setup, but unfortunately the
> backup fails, because the storage daemon resets the connection, after
> some time (that is: after >20min have elapsed and >4GB have been written)
> 
> unfortunately i don't know _why_ the connection is reset. the 2 messages
> i get are "Error reading data header from FD. ERR=No data available" and
> "Packet size too big".

an upgrade to 2.2.4 seems to have fixed this.


fmads.r
IOhannes

-- 
IEM - network operation center
mailto:[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] painfully slow backups

2007-10-08 Thread Arno Lehmann
Hi,

07.10.2007 20:19,, Ross Boylan wrote::
> A full backup of the offending directory just ran in 7 hrs, 17 min with
> a rate of 160KB/s (1,416,688 files, 4.4GB SD bytes written).  This is
> slightly more files and bytes than last month.
> 
> This is almost twice as fast as previous performance (13 hrs, 14 min and
> a rate of 86KB/s).  This suggests that the upgrade to a newer version of
> bacula and/or the newer version of postgres made quite a difference.

That's a noticeable improvement.

> The backup continued to use the same disk for the catalog and the source
> of the files being backed up.

Well, not the perfect solution, but this didn't seem to be your 
bottleneck.

> Of course, this is still pretty bad. 

Yup - my Pentium 233 with 100MBit and DLT4000 is faster :-)

> I'm asking on the ext3 list for
> ideas.

I wish you success there - and please keep us informed of your progress!

Arno

> 
> Ross
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recycle: pruned volume vs scratch pool volume

2007-10-08 Thread Arno Lehmann
Hi,

07.10.2007 12:58,, Ralf Gross wrote::
> Hi,
> 
> sometimes I just can't follow the decision bacula takes about which volume to
> recycle (bacula 2.0.3 - update to 2.2.4 scheduled, debian etch, postgres 
> 8.1). 

Then you should first upgrade and then investigate further - there 
have been modifications done to the recycling code.

Apart from that I can only confirm that, with 2.0, there are some 
recycling and volume use decisions that are hard to understand :-)

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Label Error - Newbie

2007-10-08 Thread Arno Lehmann
Hi,

08.10.2007 09:53,, Jason Antman wrote::
> Hello,
> 
> I'm a IT major at Rutgers University and am working on installing Bacula
> on my personal network. It's made up of 8 Linux boxes, mainly used for
> email, web, and development - not exactly "critical". I've been
> experimenting with Bacula for the past day (about 20 hours by now)
> mainly trying to figure out the config files, with the aid of Webmin at
> times. Right now I'm doing manual weekly tapes, and my tape drives are
> listed on the known-to-work list, so I decided to try disk-only for now.
> 
> I'm working on 2 machines. The director is on STOR1, running OpenSuSE
> 10.2 with Bacula installed via the OpenSuSE "bacula-mysql-2.2.4-1" RPM.
> My storage daemon is installed on "janus", running SuSE 9.3 (yeah, I
> know, upgrade is coming soon, but it's running fine and internal only)
> with the "bacula-1.36.3-3.2"
> and "bacula-server-1.36.3-3" RPMs installed. I crossed my fingers on the
> lower version because the bacula 2.x RPMs would require massive
> dependency upgrades, and probably braking some other stuff along the way.

Crossing your fingers, unfortunately, don't help here. You need a 
2.2.4 SD as mentioned in the release notes.

Compiling Bacula from source is not too problematic - you need the 
required packages, of course, but in the end you can expect to have a 
working Bacula setup. (Also, the source rpm for 2.2.4 should be 
possible to install and compile on 9.3 with minor tweaks only.)
...


> Thanks,
> Jason Antman

By the way - are you the Jason Antman running the blog containing 
http://jantman.dyndns.org:10011/blog/2007/03/managing-g1-proliant-servers-with.html
 
?

I've been struggling a bit with setting up hpasm on an HP DL385G2 
running OpenSUSE 10.3, and coud use some hints ;-)

Arno

> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger mount/unmount config without blocking

2007-10-08 Thread Alan Brown
On Fri, 5 Oct 2007, Flak Magnet wrote:

> On Thursday 04 October 2007 11:27:04 am John Drescher wrote:
>> Use the release command instead of unmount
>>
>> John
>
> Huh.  I've written some scripts that do some slightly funky stuff to get
> around the "blocking" effect of doing an "umount" from bconsole.

All you need to do is "mount" the drive afterwards, using slot 0


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Label Error - Newbie

2007-10-08 Thread Viktor Radnai
Hi Jason,

I had the same problem before. The volume is already labelled, so
Bacula will not relabel it. But it's not in the catalog, so you cannot
use it for backups. I got around it by using the "add" command to
update the catalog only, without trying to label the tape.

Run a test job to make sure it worked, but it did fix the problem for me.

Hope this helps.

Cheers,
Vik
-- 
My other sig is hilarious

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 2.2.4 logging to MySQL

2007-10-08 Thread Chris Sarginson
Hi Guys,

I have a bacula set up that has been running for a while, and recently I 
introduced an additional backup server to this.

We went with Bacula-mysql 2.2.4 (compared to 2.0.2 on our previous 
servers), added the clients to be backed up, and ran "status all" in 
bconsole.

In version 2.0.2 this added all the clients to the "Client" MySQL table, 
and allowed all backups etc to be logged to MySQL.  Unfortunately in 
2.2.4 this is not the case, and nothing was logged to MySQL.  I have the 
following line in my bacula-fd.conf for the logging - can you let me 
know if I am missing anything:

catalog = all, !skipped, !saved

Chris

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Insert bug?

2007-10-08 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote:
> 
> 24.09.2007 08:00,, Christoph Litauer wrote::
...
> > Table 'bacula.batch' doesn't exist
> ...
> 
> The error above is probably due to Bacula not correctly handling batch 
> inserts. I discoverd something at least similar if not identical...
...

There have been several reports about this problem before; this onle
was IMHO especially interesting:

| From: "Jody McDonnell" <[EMAIL PROTECTED]>
| Date: Thu, 6 Sep 2007 13:18:39 -0400 (19:18 CEST)
| Subject: [Bacula-users] Post-upgrade database issues,
|   Bacula 1.38.11 to 2.2.1 on Solaris

In message <[EMAIL PROTECTED]>
Jody McDonnell wrote:
...
> ==
> 06-Sep 09:39 kodos-dir: BackupKang.2007-09-06_01.05.00 Fatal error:
> sql_create.c:730 sql_create.c:730 insert INSERT INTO batch VALUES
> (5432,2083,'/repo/cvsroot/est/build/','est.tar.gz,v','gAAW C2IJ IFt B
> Bw B A 3ezOL CAA G8Ew BG3vmb BG3uk8 BG3uk9 A A
> C','oqzs5tC+gpBJ0EESyZoa7A') failed:
> Table 'bacula.batch' doesn't exist
> 06-Sep 09:39 kodos-dir: sql_create.c:730 INSERT INTO batch VALUES
> (5432,2083,'/repo/cvsroot/est/build/','est.tar.gz,v','gAAW C2IJ IFt B
> Bw B A 3ezOL CAA G8Ew BG3vmb BG3uk8 BG3uk9 A A
> C','oqzs5tC+gpBJ0EESyZoa7A')
> 06-Sep 09:39 kodos-dir: BackupKang.2007-09-06_01.05.00 Fatal error:
> catreq.c:478 Attribute create error. sql_find.c:333 Request for Volume
> item 1 greater than max 0 or less than 1
> [...etc...]
> ==
> 
> There was a long pause in the backup while Bacula requested that a new
> tape be mounted. From searching through past posts to this list, it
> sounds like this is due to a timeout by MySQL, and I think that it
> might be possible to get around the issue by changing the wait_timeout
> value in my.cnf to some really large value.
> 
> Since I only have a single-tape DAT drive, backups can sometimes be
> stalled over an entire weekend waiting for a new tape to be mounted.
> Since I didn't really want to change the wait_timeout to be some huge
> number like 4 days, I decided to recompile Bacula 2.2.1 without the
> "--enable-batch-insert" directive. I hadn't previously noticed any
> database performance issues, anyway.

Now I'm running into the same problem, with a configuration of
bacula-2.2.4 that has been running fine before (and ever since I
upgraded to 2.x):

...
08-Oct 09:34 mneme-dir: Pollux-Other.2007-10-06_00.10.03 Fatal error: 
sql_create.c:730 sql_create.c:730 insert INSERT INTO batch VALUES 
(2688182,12294,'/work/concord/eldk-256k/eldk_build/target_rpms/crosstool/BUILD/crosstool-0.35.concord.256k.patched/build/gcc-4.0.0-glibc-2.3.5-eldk/powerpc-linux/gcc-4.0.0/gcc/ada/','s-exctab.ads','P0B
 Cn5cs IGk B Id Id A BDK BAA Q BG2Xqp /lTe1 BG0uvi A A 
C','NRehbvfPIksHds8p9o/Eiw') failed:
Table 'bacula.batch' doesn't exist
...

Here, too, the problem was most probably triggered by the  fact  that
the backup was hanging for a long time (over the weekend) because the
autoloader  was  unexpactedly  running  out  of  tapes,  which  never
happened before.


I see a common pattern here: when a backup job is  hanging  for  some
extended time, we run into these "Table 'bacula.batch' doesn't exist"
errors.

Is increasing the MySQL to really huge values really the way to go?

I think this should be fixed within bacula instead?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Horses just naturally have mohawk haircuts.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Label Error - Newbie

2007-10-08 Thread Jason Antman
Hello,

I'm a IT major at Rutgers University and am working on installing Bacula
on my personal network. It's made up of 8 Linux boxes, mainly used for
email, web, and development - not exactly "critical". I've been
experimenting with Bacula for the past day (about 20 hours by now)
mainly trying to figure out the config files, with the aid of Webmin at
times. Right now I'm doing manual weekly tapes, and my tape drives are
listed on the known-to-work list, so I decided to try disk-only for now.

I'm working on 2 machines. The director is on STOR1, running OpenSuSE
10.2 with Bacula installed via the OpenSuSE "bacula-mysql-2.2.4-1" RPM.
My storage daemon is installed on "janus", running SuSE 9.3 (yeah, I
know, upgrade is coming soon, but it's running fine and internal only)
with the "bacula-1.36.3-3.2"
and "bacula-server-1.36.3-3" RPMs installed. I crossed my fingers on the
lower version because the bacula 2.x RPMs would require massive
dependency upgrades, and probably braking some other stuff along the way.

I thought I had everything configured properly.

I ran bconsole on the director (STOR1) in an attempt to label a volume
on janus, the storage machine.

Output:
Connecting to Director STOR1:9101
1000 OK: STOR1-dir Version: 2.2.4 (14 September 2007)
Enter a period to cancel a command.
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
 1: STOR1-sd-home
 2: janus-sd
Select Storage resource (1-2): 2
Enter new Volume name: JANUS-HDD-BACULA1
Automatically selected Pool: DiskVolume
Connecting to Storage daemon janus-sd at janus.jasonantman.com:9103 ...
Sending label command for Volume "JANUS-HDD-BACULA1" Slot 0 ...
3000 OK label. Volume=JANUS-HDD-BACULA1 Device=/mnt/hdd/BACULA
Label command failed for Volume JANUS-HDD-BACULA1.
Do not forget to mount the drive!!!
*exit

Now the problem:

if I run "list media", the volume "JANUS-HDD-BACULA1" doesn't show up.

However, if I re-run the label command:
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
 1: STOR1-sd-home
 2: janus-sd
Select Storage resource (1-2): 2
Enter new Volume name: JANUS-HDD-BACULA1
Automatically selected Pool: DiskVolume
Connecting to Storage daemon janus-sd at janus.jasonantman.com:9103 ...
Sending label command for Volume "JANUS-HDD-BACULA1" Slot 0 ...
3911 Cannot label Volume because it is already labeled: "JANUS-HDD-BACULA1"
Label command failed for Volume JANUS-HDD-BACULA1.
Do not forget to mount the drive!!!
*exit

it appears to think that the volume is already labeled.

If I try to delete media, the volume is also not shown as an option.

Any suggestions on how to get out of this seemingly infinite loop? It's
telling me that all label commands on that daemon return 3000 OK and
then says failed, so it's telling me that the labels exist yet they're
not showing up as valid media.

Thanks,
Jason Antman


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users