[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] Feature request: Be able to modify last written date (for volume)

On Wednesday 17 September 2008 14:10:35 Xeos Laenor wrote:
> Thank you for this quick response.
> I've tried to modify recycle flag but Bacula still want to write on this
> volume.
> I've found another solution, I modify the 'enabled' parameter.
> Is it the right way? And what I haven't understood about recycle flag?

I probably misunderstood but thought the volume was Full or Purged and it was 
a question for choosing it for recycling.  If that is the case, turning off 
the Recycle flag will prevent the Volume from being recycled and re-written.

If Bacula has been writing on the Volume and it is not yet Full or Purged, 
then you can mark it Full and turn off the Recycle flag and that should 
prevent Bacula from writing on it until you reset the Recycle flage.

Changing the enabled flag is also possible, but it is much more drastic as it 
will prevent all use of the Volume include prevent the normal Volume pruning.
Either way should work OK.

Best regards,


> Best Regards,
> Franck
> 2008/9/16 Kern Sibbald <kern@xxxxxxxxxxx>
> > On Tuesday 16 September 2008 15:18:30 Xeos Laenor wrote:
> > > Item 1: Implement an option to modify the last written date for volumes
> > > Date: 16 September 2008
> > > Origin: Franck (xeoslaenor at gmail dot com)
> > > Status: Proposing
> > > What: The ability to modify the last written date for a volume
> > > Why: It's sometime necessary to jump a volume when you have a pool of
> > > volume which recycles the oldest volume at each backup. Sometime, it
> >
> > needs
> >
> > > to cancel a set of backup (one day backup, completely) and we want to
> >
> > avoid
> >
> > > that bacula choose the volume (which is not written at all) from the
> > > cancelled backup (It has to jump to next volume). in this case, we just
> > > need to update the written date manually to avoir the "oldest volume"
> > > purge. Notes: An option can be add to "update volume" command (like
> > > 'written date' choice for example)
> >
> > I'll be happy to add this to the projects list for future voting by
> > users, but
> > in the mean time, why don't you simply turn off the recycle flag for the
> > volume until you want it to be re-used?  That will already provide a
> > solution
> > without any change to Bacula -- though you will need to reset the recycle
> > flag when you want the Volume to be reused.
> >
> > Regards,
> >
> > Kern

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Bacula-devel mailing list

This mailing list archive is a service of Copilot Consulting.