I wanted to share the solution to Bacula cleaning up purged disk volumes.

It can be found in the Bacula Systems “Best Practices for Disk Based Backup” 
guide under 1.4 Truncate Volume on Purge.  My only complaint about this is that 
I receive a message from the daemon letting me know that “No Volumes found to 
perform "truncate" command.” Which I would like not to receive.  Any 
suggestions on how to suppress that message would be appreciated.

Two configuration entries in your pool add Action On Purge = Truncate and in 
your catalog job add:

Job {
Name = CatalogBackup
...
RunScript {
RunsWhen=After
RunsOnClient=No
Console = "purge volume action=truncate allpools storage=<your file resource>"
}
}


Jim Richardson
CISSP CISA

SecurIT360

From: Dan Langille [mailto:d...@langille.org]
Sent: Tuesday, May 23, 2017 5:55 PM
To: Jim Richardson <j...@securit360.com>
Cc: Wanderlei Huttel <wanderleihut...@gmail.com>; bacula-users 
<bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] Forcing Single File Per Job in Rotation

On May 22, 2017, at 6:45 PM, Jim Richardson 
<j...@securit360.com<mailto:j...@securit360.com>> wrote:

Wanderlei,

I want the detailed volume labels, I don’t want to recycle then, I want them 
overwritten, purged, or whatever the terminology is.  I do want to keep the 
weekly volumes for 14 days and the daily volumes for 2 days.

I know you want the detailed volume labels.

Why?

Bacula keeps track of what is where and when, so you don't have to.

--
Dan Langille - BSDCan / PGCon
d...@langille.org<mailto:d...@langille.org>


CONFIDENTIALITY: This email (including any attachments) may contain 
confidential, proprietary and privileged information, and unauthorized 
disclosure or use is prohibited. If you received this email in error, please 
notify the sender and delete this email from your system. Thank you.
------------------------------------------------------------------------------
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