From d4f8305ac04cead5c7d86b9db89ff5d09b5831ab Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 11 Feb 2015 17:32:56 +0100 Subject: [PATCH] Fix #898 truncate volumes larger than 200 bytes --- bacula/src/dird/ua_purge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/ua_purge.c b/bacula/src/dird/ua_purge.c index 2507c576ee..9fc7690f2a 100644 --- a/bacula/src/dird/ua_purge.c +++ b/bacula/src/dird/ua_purge.c @@ -705,7 +705,7 @@ int truncate_cmd(UAContext *ua, const char *cmd) */ mr.Recycle = 1; mr.Enabled = 1; - mr.VolBytes = 10000; + mr.VolBytes = 200; set_storageid_in_mr(store, &mr); bstrncpy(mr.VolStatus, "Purged", sizeof(mr.VolStatus)); if (!db_get_media_ids(ua->jcr, ua->db, &mr, &nb, &results)) { -- 2.39.5