Welcome! » Log In » Create A New Profile

Re: Forcing Single File Per Job in Rotation

Posted by Jim Richardson 
Jim Richardson
Re: Forcing Single File Per Job in Rotation
August 01, 2017 10:05AM
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:dan@langille.org]
Sent: Tuesday, May 23, 2017 5:55 PM
To: Jim Richardson <jim@securit360.com>
Cc: Wanderlei Huttel <wanderleihuttel@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 <jim@securit360.com<mailto:jim@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
dan@langille.org<mailto:dan@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
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login