Bacula-users

Re: [Bacula-users] Bacula not expiring volumes

2010-04-05 13:10:21
Subject: Re: [Bacula-users] Bacula not expiring volumes
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 5 Apr 2010 13:08:09 -0400
On Mon, Apr 5, 2010 at 1:03 PM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
>> I have a backup that runs weekly backups for one of the directives in my 
>> bacula-dir.conf file.
>>
>> The problem is the volumes are supposed to expire after 7 days and be 
>> recycled.  Here is the relevant parts of my conf file.
>>
>> Client {
>>  Name = xxxx-fd
>>  Address = xxxx.xxxx.xxx
>>  FDPort = 9102
>>  Catalog = MyCatalog
>>  Password = "xxxx"
>>  File Retention = 7 days             # 7 days
>>  Job Retention = 14 days             # six months
>>  AutoPrune = yes                     # Prune expired Jobs/Files
>> }
>>
>>
>> Pool {
>>  Name = Windows
>>  Pool Type = Backup
>>  Recycle = yes
>>  AutoPrune = yes
>>  LabelFormat = WinVol
>>  Volume Retention = 7 days
>> }
>>
>>
> Are these disk volumes? Did you change the retention after the volumes 
> existed?
>
Oh, I see. You said disk.

For disk volumes you must limit the size of the volumes or their use
duration because recycling only comes into play when the disk is
marked as Used or Full. Without setting the use duration limit the
volume will not be marked as Used. Without your entire hard drive
filling the disk volume would not be marked as Full.

See the documentation here:
http://www.bacula.org/en/dev-manual/Automatic_Volume_Recycling.html


And remember that the retention period begins when the volume is
marked Used or Full not when you first write data to the volume.
John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users