Bacula-users

Re: [Bacula-users] Forcing volume change.

2008-11-07 17:06:56
Subject: Re: [Bacula-users] Forcing volume change.
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 07 Nov 2008 23:03:07 +0100
Hi,

07.11.2008 15:54, Fábio Catunda wrote:
> Arno,
> 
> Thanks a lot, pretty simple. I just updated all informations running 
> "update" from console and selecting option 13, then "status 1" showed
> "07-Nov 12:46 hefesto-dir: Max configured use duration exceeded. Marking 
> Volume "StorageDisk" as Used."
> 
> So I just ran a job and the new volume has been created:
> "Volume name(s):         Backup-2008-11-07"

Good. That's what should have happened. (Note that, if you upgrade, 
volumes will not necessarily be purged by a 'status' command.)

> About my bacula version, do you think that the debian version have a lot 
> of problems?

I don't know if the debian team did anything to their versions of 
Bacula, but the release notes for Bacula document a huge number of bug 
fixes since version 2.0 only.

>  I believe that the package maintainer use some patches to
> keep it stable, I'm I right?

I don't know. I guess backporting *all* the fixes to a 1.38 Bacula 
would be impossible, though.

Arno

> Anyway, really thanks for the tip, one more learned.
> 
> Fábio Catunda.
> 
> Arno Lehmann wrote:
>> Hi,
>>
>> 07.11.2008 11:10, Fábio Catunda wrote:
>>   
>>> Hi list.
>>>
>>> This is my first message to the list, I'm new on bacula, if some 
>>> information is missing, please, just ask and I promise that next time 
>>> the information will be in the first e-mail.
>>>
>>> Bacula version: 1.38.11 (28 June 2006) Debian package.
>>>     
>> A very good start to include that information.
>> And - your Bacula is outdated. You should upgrade as soon as possible. 
>> Recebt versions not only add new features but also fix serious issues.
>>
>>   
>>> I have a storage, so I'm using file storage. Everything was fine until 
>>> the volume I created got about 50GB of data, then I saw that it was 
>>> taking too long to restore some files. Search google for help I got to:
>>> http://bacula.org/en/rel-manual/Basic_Volume_Management.html#SECTION002611000000000000000
>>>
>>> Great. So I made the following config (relevant sections only):
>>> in bacula-sd:
>>>
>>> Device {
>>>   Name = Default
>>>   Media Type = File
>>>   Archive Device = /backup/bacula
>>>   LabelMedia = yes;
>>>   Random Access = Yes;
>>>   AutomaticMount = yes;
>>>   RemovableMedia = no;
>>>   AlwaysOpen = no;
>>> }
>>>
>>> And in bacula-dir.conf:
>>> JobDefs {
>>>   Name = "ETC"
>>>   Type = Backup
>>>   Level = Incremental
>>>   FileSet = "ETC"
>>>   Schedule = "WeeklyCycle"
>>>   Storage = File
>>>   Messages = Standard
>>>   Pool = Default
>>>   Priority = 10
>>> }
>>>
>>> Pool {
>>>   Name = Default
>>>   Pool Type = Backup
>>>   Recycle = yes
>>>   AutoPrune = yes
>>>   Volume Retention = 180 days
>>>   Volume Use Duration = 23h
>>>   LabelFormat = "Backup-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
>>> }
>>>
>>> Storage {
>>>   Name = File
>>>   Address = hefesto.mydomain.com.br
>>>   SDPort = 9103
>>>   Password = "ThisIsMyPassword"
>>>   Device = Default
>>>   Media Type = File
>>> }
>>>
>>> I was expecting a volume cycle, but more than 23h has passed and still 
>>> no new volume in my default pool.
>>>     
>> That's probably because your existing volume still uses the original 
>> information. What you set in the pool configuration is merely a 
>> template used when creating new volumes, so you need to update the 
>> existing volume. In bconsole, the command to use is - surprise! - 
>> 'update'.
>>
>>   
>>> I would like to know what is wrong, any tip is appreciated. Also, is 
>>> there a way to force a volume creation? I would like to run some backups 
>>> today (fryday) in a new volume, just in case.
>>>     
>> You could also simply set the volume status to "Used" and use the 
>> 'label' command to create a new volume.
>>
>> Arno
>>
>>   
>>> Thanks for the help.
>>>
>>> Fábio Catunda.
>>>     
>>   
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>