Robert Eaton wrote:
> I have a simple volume recycle problem.  I’ve searched posts and see
> similar problems but have not found the answer.
> 
>  
> 
> I have a small system that backs up to a external USB hard drive.  I
> can’t get bacula to overwrite/reuse a volume name on the physical device.
> 
>  
> 
> Details:
> 
> Pool {
> 
>   Name = "RKSBackup"
> 
>   PoolType = "Backup"
> 
>   Recycle = "yes"
> 
>   AutoPrune = "yes"
> 
>   VolumeRetention = 7 days
> 
>   RecycleOldestVolume = "yes"
> 
>   PurgeOldestVolume = "yes"
> 
>   Volume Use Duration = 6 days
> 
>   LabelFormat = "Week-"
> 
> }
> 
> I recycle my backups every 4 weeks.  My backup volumes are
> Week-1,Week-2...Week-4.
> 
> At then end of Week-1 the next volume (Week-2) will be used and they
> just keep rotating.... this works perfect.
> 
> Problem:
> 
> If there is not enough physical room on the USB hard drive to finish a
> backup or start a new one then I’m prompted to mount a new volume.  The
> only way I’ve found to get around this problem is to manually delete the
> oldest volume from the USB hard drive.  I thought that is what the
> Recycle and AutoPrune parameters would do.  Looks like these parameters
> update the catalog but they don’t physically remove the data from the
> backup drive.  How do I tell Bacula to overwrite the actual data on the
> backup device?
> 
>  
> 
> Thanks,
> 
> Robert
> 
>  
> 


i've got the same problem...if you want to call it
a problem.  the bacula docs state bacula will
attempt to keep the data as long as friggn
possible (for obvious reasons). if any of the
criteria for recycling is not met, then the volume
will not get purged(overwritten)......i think. its
also worth noting that :

"Automatic recycling of Volumes is performed by
Bacula only when it wants a new Volume and no
appendable Volumes are available in the Pool"

i imagine that i/we will have to get creative with
the appropriate directives to get it to do what we
want based on the info here.  i'll continue to
re-read this page in hopes of resolving this
unwanted behavior.

http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html

i have not (as of yet) found a way to force the
volume to be (automagically) purged. based on one
or two criteria.


 best regards,


_Terry



-------------------------------------------------------------------------
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