Martin Simmons wrote:
>>>>>> On Thu, 06 Dec 2007 18:02:06 +0100, Bruno Friedmann said:
>> Thank Alan,
>> But this is not exactly what they want.
>> Before version 2.2x version bacula did always automatically the pruning job 
>> for all media that have their prune time ellapsed.
>>
>> so status-director show on which volume it would start.
>>
>> Actually until the last moment (until the job start, bacula doesn't want to 
>> prune expired volumes).
>> When the job start, it do it correctly alone.
>> At the momemt the job start there's should be already prune volums. But they 
>> aren't.
>>
>> so a prune-all command inside the bconsole would be the feature needed.
>>
>> Any ideas how to make it.
> 
> Have you looked at the `list nextvol job=xxx' command?  It can only do one job
> name at a time, but it will do the pruning.
> 
> __Martin
> 

Thanks Martin, the command list nextvol do the trick and was what I'm looking 
for.
perhaprs we should ask for a enhancement in bconsole that help show also this 
option
 list       list [pools | jobs | jobtotals | media <pool=pool-name> | files 
<jobid=nn>]; from catalog
(or simple a * more to doc) would have drive me to the online manual :-)

I don't find my way to automated the command like having multiple jobs in one 
line something like
list nextvol job=tata-job,titi-job,toto-job ... Documentation doesn't allow 
this.

Is there a way to emulate this (I think about people having more than 5 jobs 
per day)
I could try to extended the query use by the list nextl command with a clause 
like
media_last_write >= media_retention_time for each pool present.

If we succeed in this, we can publish to the wiki ressources.

Waht would be your point of view ?


-- 

     Bruno Friedmann  [EMAIL PROTECTED]

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to