From: Eric Bollengier Date: Wed, 11 Feb 2015 16:32:56 +0000 (+0100) Subject: Fix #898 truncate volumes larger than 200 bytes X-Git-Tag: Release-7.4.0~199 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4f8305ac04cead5c7d86b9db89ff5d09b5831ab;p=bacula%2Fbacula Fix #898 truncate volumes larger than 200 bytes --- 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)) {