From: Kern Sibbald Date: Sat, 28 Jan 2017 13:11:37 +0000 (+0100) Subject: Remove restriction on using the scratch pool that can cause restore failures X-Git-Tag: Release-7.4.5~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=15ab32bb5d7a009b027dbf3584ff28399a33ddb0;p=bacula%2Fbacula Remove restriction on using the scratch pool that can cause restore failures --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index beb67e3174..e5961c8060 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -1071,11 +1071,6 @@ static bool set_run_context_in_jcr(UAContext *ua, JCR *jcr, run_ctx &rc) jcr->IgnoreDuplicateJobChecking = rc.ignoreduplicatecheck; } - /* Not a good idea to start a job with the Scratch pool */ - if (rc.pool && strcmp(rc.pool->name(), NT_("Scratch")) == 0) { - ua->send_msg(_("Pool \"Scratch\" not valid.\n")); - return false; - } return true; }