On Tue, 2025-02-18 at 16:07 +0100, Andreas Rogge wrote:
> Am 14.02.25 um 16:43 schrieb Christian Tardif:
> > Is there any way to have a flexible retention period, like
> > mentioning a 
> > 1 year retention period, but also specifying something like (up-to
> > 1 
> > year, unless missing space) ?
> No. The rentention is a minimum. You cannot specify "not longer than
> one 
> year". You can specify "not shorter than one year" tough.
> 
> If you want "please overwrite my data before you run out of space"
> you 
> should to set your retention short enough so that there is something
> to 
> recycle before Bareos runs out of space.
> It will still fill up all volumes before recycling anything.

Just for the sake of completness - theoretically you could build some
completely custom solution spawning external script and running the
purge command using any criteria you want (even randomly if you fancy a
bit of thrill in your life).
But it is definitely _not_ and I repeat _NOT_ something I advise doing.
That would be effectively reimplementing a huge part of core bareos
functionality using duct tape and it would be prone to unforeseen
problems.
So don't try it at home! And definitely don't think about doing such
stuff out of a lab environment!!! You've been warned.

MK

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/27839152efbea07ad0c368faa6ecd00b74a89fba.camel%40gmail.com.

Reply via email to