From: Valentin Vidic Date: Wed, 23 Mar 2011 16:00:09 +0000 (+0100) Subject: Truncate old volumes after backup. X-Git-Tag: debian/20110324~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=fc072bdf2d121161fdafd31559f1d63049b177c3;p=bacula-cn.git Truncate old volumes after backup. --- diff --git a/debian/postinst b/debian/postinst index 5a45d4f..1a1fbb6 100644 --- a/debian/postinst +++ b/debian/postinst @@ -282,6 +282,11 @@ Job { JobDefs = "Job_SysBackup" Pool = $HOST-pool Storage = $HOST-stor + RunScript { + RunsWhen=After + RunsOnClient=No + Console = "purge volume action=all storage=$HOST-stor pool=$HOST-pool" + } } EOF