From 15ab32bb5d7a009b027dbf3584ff28399a33ddb0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 28 Jan 2017 14:11:37 +0100 Subject: [PATCH] Remove restriction on using the scratch pool that can cause restore failures --- bacula/src/dird/ua_run.c | 5 ----- 1 file changed, 5 deletions(-) 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; } -- 2.39.2