Bacula-users

Re: [Bacula-users] How do I handle volumes with status error?

2010-10-21 11:06:06
Subject: Re: [Bacula-users] How do I handle volumes with status error?
From: John Drescher <drescherjm AT gmail DOT com>
To: Oliver Hoffmann <oh AT dom DOT de>
Date: Thu, 21 Oct 2010 11:03:49 -0400
On Thu, Oct 21, 2010 at 10:50 AM, Oliver Hoffmann <oh AT dom DOT de> wrote:
>> > after for some reason an error occurs I have a volume which is in
>> > backup mode error. So far so good (or bad).
>> >
>> > Last night I had a job which waited for ever for an appendable
>> > volume. I deleted an old error-volume (from the db and filesystem),
>> > recreated it and the job was fine again. But there were plenty of
>> > appendable volumes and other jobs were running without a hassle.
>> > Is there a better way to get rid of such nasty things?
>> >
>> Bacula will normally grab the next appendable volume in this case. I
>> am not sure what caused the behavior you describe. If you see this
>> again post the messages before you take action.
>
> I fear this behaviour will occur again tonight. When I look at scheduled
> jobs I see volume *unknown* for this job.

That probably is fine. In several of the status options unknown is
shown after a restart of the service and before the first job using
that volume executes.

> I altered this job using
> webmin, which causes normaly no trouble. I even recreated the job and
> checked bacula-dir.conf and did a restart of bacula. Pool and storage
> looks fine but the next volume is still unknown. The problem seems to
> be that the pool keeps being Default instead of the pool I want it to
> use. No matter what I try. I don't know what all this has to do with an
> error-volume though.
> What can I do?
>
I would do nothing and see if the problem occurs again.

>> >
>> > Next question is can I restore data from such a volume or are they
>> > "lost"?
>> >
>>
>> You can restore data from volumes marked error. However if there is
>> any corruption bacula will terminate the restore at the point of the
>> corruption. I believe in that case the bacula utility tools can be
>> used to recover data past that point but that will be a lot of manual
>> work..
>
> So that means when I start a restore job and data is within a volume
> marked error then everything is fine unless it is not corrupted?
>

Yes.

John

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users