Hello,
2013/9/17 Jeff MacDonald <j...@terida.com>
>
> On 2013-09-17, at 4:43 PM, Radosław Korzeniewski <
> rados...@korzeniewski.net> wrote:
>
> Hello,
>
> 2013/9/17 Jeff MacDonald <j...@terida.com>
>
>> I'm trying to find out what "truncate" actually means in the context of
>> bacula and purging..
>>
>> Does it reduce the volume size to 0, or?
>>
>>
> Yes, it reduces a volume size to a size of Bacula label.
>
>
> Is there a trick to making it work? I just enabled it on Action after
> purge, went into bconsole and reloaded teh config file and then purged a
> file and its size did not change.
>
>
When you check a source code, you'll find:
/*
* Look for all Purged volumes that can be recycled, are enabled and
* have more the 10,000 bytes.
*/
mr.Recycle = 1;
mr.Enabled = 1;
mr.VolBytes = 10000;
so, all above requirements should be met for proper truncate.
And then a bconsole command: purge volume action=truncate allpools
storage=bacula-sd is working like a charm.
best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users