[Bacula-users] Can't make "Truncate on Purge" work.
2015-05-22 07:28:51
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|