On Thu, Feb 01, 2018 at 08:57:46AM -0800, Dan wrote:
> If you want it to be truncated, there are 3 more required arguments ...
>
> purge volume=AI-Consolidated-100 action=Truncate pool=AI-Consolidated 
> storage=File

Certainly, and this is easy to script.

> The volume will then be truncated IF ...
> 1) Action on Purge = 'Truncate' for the volume
> 2) VolStatus is Append, Full, Used, or Error
> 3) Recycle is enabled for the volume
> 4) The volume size is currently > 10kB

Basically if I specify it on the command line, it would work. So it's not
honoring the behavior specified for volumes in that pool.

> I did not find anywhere in the code where the truncate on purge function was
> implemented outside the console command line.  So it appears it will not, as
> we noticed, truncate the volumes when they are automatically purged.

Exactly. Should this be filed as a new bug? A functionality that has a
documented option that doesn't work? I would think that Always Incremental
doesn't work without this option.


------------------------------------------------------------------
Russell Adams                            [email protected]

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to