-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arno Lehmann wrote:
> Hi,
> 
> On 6/7/2007 7:26 PM, Chantal Rosmuller wrote:
>> Hi list,
>>
>> My bacula configuration is not working the way I expect, I hope someone can 
>> give me a pointer,
> 
> I guess I can...
> 
>> I want to make a full backup every day, regardless whether there's a 
>> different 
>> tape or the same. I use a volume retentio period of 1 hour but when I want 
>> to 
>> backup to the same tape I get the follwoing error:
>>
>> Volume "DefaultVolume-0014" status is Used, but should be Append, Purged or 
>> Recycle
> 
> This shows that volumes are not recycled.
> 
>> This is the pool definition:
>>
>> Pool {
>>   Name = "Default"
>>   PoolType = "Backup"
>>   Recycle = "yes"
>>   AutoPrune = "yes"
>>   VolumeRetention = 1 hours
>>   AcceptAnyVolume = "yes"
>>   LabelFormat = "DefaultVolume-"
>>  Use Volume Once = "yes"
>> }
>>
>> the last records of "list media" :
> ...
>> The status of  DefaultVolume-0014 is "used" but the backup finished more 
>> than 
>> an hour ago, what am I doing wrong here?
> 
> 
> You've got
> "Use Volume Once = <yes|no>
>      This directive if set to yes specifies that each volume is to be 
> used only once. This is most useful when the Media is a file and you 
> want a new file for each backup that is done. The default is no (i.e. 
> use volume any number of times). This directive will most likely be 
> phased out (deprecated), so you are recommended to use Maximum Volume 
> Jobs = 1 instead."
> 
> Set which effectively disables volume recycling. Remove that directive, 
> reload the configuration, update the existing volumes from the pool 
> resource, , and see what happens...

I would disagree with that. As far as I know, Use Volume Once has been
removed for some time. However, the replacement (Maximum Volume Jobs =
1) I use on my system to cause volumes to be marked used after one use.

However, this does not affect recycling in my situation.

I would suggest the original poster may have forgotten to update volumes
 (having created the volume before the current pool directives were in
place).

Chantal, I'd want to see at a minimum an llist on the volume in
question, just to verify that at the very least the parameters have made
it to the volume in the first place.

In addition: keep in mind that the volume may very well not show
recycled right after the retention time is up. There are some actions
that will cause the volume recycling algorithm to be run through -- one
would be attempting a backup against the volume, and I believe 'status
dir' might be another. Not sure of specifics. Bacula does not, however,
throw away the contents of the volume right away on its own -- it
attempts to keep the data as long as possible.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |[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

iD8DBQFGaKyKmb+gadEcsb4RArtMAKDbsXiDXLpHeBm9HNSD5SOYWZv+4gCg3CGK
IYd71svC9205Z09gBNPk1PI=
=LIsH
-----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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to