-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy Collyer wrote:
>> Hello,
>>
>> On 5/11/2007 10:54 AM, Andy Collyer wrote:
>>>>> I want to *always* automatically re-use my tapes. I can
>>>> achieve this
>>>>> manually by using bconsole's SQL query mode and updating
>>>> the Media table:
>>>>> update Media set VolStatus = "Recycle" [ WHERE ... ];
>> However, once
>>>>> the Volume is used, the Media table entry is re-set to
>> "Append", so
>>>>> next time the volume is used it isn't recycled. What's
>>>> making bacula
>>>>> update the Media table?
>>>> Running a backup job.
>>>>
>>>>> And more importantly, how do I stop it?
>>>>>
>>>> You need to not force this behavior with SQL but to use
>> the recycle
>>>> directives in bacula-dir.conf
>>> Well, I thought I had ... Relevant sections of bacula-dir.conf:
>>>
>>> Job {
>>> Name = "BackupHome"
>>> Type = "Backup"
>>> Level = "Full"
>>> Client = "Server-fd"
>>> FileSet = "Home"
>>> Storage = "DLT-V4"
>>> Pool = "AC-recycle"
>>> Priority = "10"
>>> Messages = Standard
>>> Schedule = "DailyCycle"
>>> }
>>>
>>> Pool {
>>> Name = "AC-recycle"
>>> PoolType = "Backup"
>>> Recycle = "yes"
>>> AutoPrune = "yes"
>>> VolumeRetention = 0 days
>>> Maximum Volume Bytes = 148118648832
>>> Recycle Current Volume = "yes"
>>> LabelFormat = "Recycle-"
>>> }
>>>
>>> What am I missing or doing wrong???
>> Well, by now I learned that a volume retention of indicates
>> to not ever prune a volume.
>>
>> So, my advice would be to set up your retention times
>> according to your needs.
>>
>> Arno
>>
>
> Think I've got it - Pool should include:
>
> Use Volume Once = "yes"
I believe this is deprecated and no longer has any effect. I think you
want Maximum Volume Jobs = 1.
- --
---- _ _ _ _ ___ _ _ _
|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.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGSfsOmb+gadEcsb4RAte3AKDMPwwY4C5c9tVZd1rfBg0wfg+0KQCgkYv8
gr8X8t4RjKia6GRXBidqa0I=
=HrHN
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users