Anton Albajes-Eizagirre wrote:
> I set the test pool (on test tape added to it) as:
> 
> # pool for tests
> Pool {
>   Name = pooltest
>   Pool Type = Backup
>   AutoPrune = yes
>   Recycle = yes
>   Volume retention = 1 minute
> #  Use Volume Once = yes
> #  Volume Retention = 365 days
> #  Maximum Volume Jobs = 1   
> }
> 
> The problem is that after the first full backup, when i try to use the
> same tape to run a second one over it, bacula tries to move the tape to
> the end of the data and start writing from it, instead of starting from
> the beginning of the tape.
> 
> How do I tell bacula to discard all the content of the tape and start
> writing from the beginning? Without manually purging the volume, i mean.

What you want is for the volume and its data to effectively be pruned as
soon as it's written, which isn't the easiest thing to do.  In your
situation, what I would be doing is set up the retention periods the way
you're going to want them when you go live, and then -- hey, you're
*testing*.  Just manually purge the tape for now.  Really.  It's simpler
than first trying to come up with a configuration to automatically do
something you'd never do in production, and then trying to make sure you
get every last trace of it out again before you go live.

-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to