Hello Erik,
On Bacula 7.0.5 version, the "purge action=truncate" do not exist any more.
There is a new truncate command that substittutes the "purge +
action=truncate" from previous versions:
Command Description
======= ===========
truncate Truncate one or more Volumes
Arguments:
volume=<vol> [mediatype=<type> pool=<pool> allpools storage=<st>
drive=<num>]
Maybe you´re trying to do this in your RunScript resource:
Console = "truncate storage=FileStorage pool=Files"
Also, in previous versions, you should specify the volume name in the
command:
Console = "purge *volume=myvolumename* action=truncate storage=FileStorage
pool=Files"
Best regards,
Ana
On Fri, May 22, 2015 at 6:56 AM, Erik P. Olsen <epod...@gmail.com> wrote:
> I have tried to use this feature without success. I am using Bacula 7.0.5
> and
> the following is the directives I use. Hopefully someone can pinpoint what
> I am
> doing wrong:
>
> JobDefs {
> Name = "DefaultJob"
> Type = Backup
> Level = Incremental
> Accurate = yes
> Client = epohost-fd
> FileSet = "Full Set"
> Storage = FileStorage
> Messages = Standard
> Pool = Files
> Priority = 10
> }
>
> #
> # Define the main linux system back-up job
> #
> Job {
> Name = "BackupEpohost"
> JobDefs = "DefaultJob"
> Schedule = "epohost-WeeklyCycle"
> Write Bootstrap = "/var/spool/bacula/epohost.bsr"
> # Set up truncation of purged volumes
> RunScript {
> RunsWhen=After
> RunsOnClient=No
> Console = "purge volume action=truncate storage=FileStorage
> pool=Files"
> }
> }
>
> #
> # Pool definition for Virtual Machines Backups
> #
> Pool {
> Name = Files
> Action on Purge = Truncate
> Maximum Volume Jobs = 0
> Maximum Volume Files = 0
> Pool Type = Backup
> LabelFormat = "Files"
> Recycle = yes # Bacula can automatically recycle
> Volumes
> AutoPrune = yes # Prune expired volumes
> Maximum Volumes = 50
> Maximum Volume Bytes = 20g
> Recycle Oldest Volume = yes
> Volume Retention = 3 months # Three months
> }
>
> --
> Regards
> Erik P. Olsen
> Solsortvej 30, DK-2000 Frederiksberg, Denmark
> Phone: +45 40765300
>
>
> --
> Erik
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users