Hello,

I do not remember the exact details of the code, but if you enter:

  prune expired volumes
  truncate allpools

I would expect Bacula to be quite aggressive pruning and truncating, so I am pretty sure that Bacula is doing what you asked it to do.

Best regards,

Kern


On 10/15/2017 01:36 PM, Larry Rosenman wrote:
On Sun, Oct 15, 2017 at 11:29:15AM +0200, Kern Sibbald wrote:
Hello,

Bacula is not "truncating" your volumes.  It is just noticing that they have no
more files on them that are in the retention period you specified or set for
the volumes.  It is then pruning certain volumes, which means that the file
entries for files stored on those volumes will be removed.  It is also marking
the volumes as purged -- i.e. they no longer have any files that are within the
retention period.

The volumes may then be reused (depending on variables you have set).  The only
time the volume is actually truncated is if you explicitly do it, or if the
volume is purged, and Bacula needs a new volume.  In this second case, it will
automatically truncate and reuse the volume.

Everything is determined by the retention periods you have set.  The manual has
a quite a lot of information about this process and much of it is very
detailed.

Best regards,

Kern
Except that I'm explicitly calling trunccate in my BackupCatalog job:
Console = "prune expired volume yes"
Console = "truncate allpools"

And in 7.x it would truncate newly pruned volumes and not re-truncate
the others.





------------------------------------------------------------------------------
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

Reply via email to