From fc072bdf2d121161fdafd31559f1d63049b177c3 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Wed, 23 Mar 2011 17:00:09 +0100 Subject: [PATCH] Truncate old volumes after backup. --- debian/postinst | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4