Le 16/08/2018 à 23:37, Chris Wilkinson a écrit :
I did. I implemented the runscript mentioned there that runs daily.
Job {
Name = CatalogBackup ...
RunScript {
RunsWhen=After
RunsOnClient=No
Console = "purge volume action=truncate allpools storage=File"
}
}
This doesn't seem to be having the desired effect. Volumes are not
being truncated though I can truncate them manually with bconsole
truncate if they are first purged.
The thing that puzzles me about this is the storage= statement since I
have multiple storages defined.
It seems that truncate will only work on purged volumes and volumes
will not be purged until their retention time is up.
Regards
Chris Wilkinson
Hello,
Beware :
* File / Job retentions only have an impact on the catalog's size.
* Volume retention is the only one related to the space consumed by
tapes. A volume won't be reclaimed until Volume Retention expires.
Did you also implement these following rules in pools' definitions (with
different values of course):
Volume Retention = 42 days # 6 weeks
Maximum Volume Bytes = 50G # Limit Volume size to something
reasonable
Maximum Volumes = 10 # Limit number of Volumes in Pool
Recycle Oldest Volume = yes
RecyclePool = Scratch
Action On Purge = Truncate
If you don't define these rules, volumes won't be recycled automatically.
HTH.
Jérôme Blion
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users