From: Marco van Wieringen Date: Wed, 4 May 2011 19:07:13 +0000 (+0200) Subject: Allow duplicate job check override from run cmdline for migrate and copy jobs. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=75c3fa2684bfb933d731f84d9dcefef39f6874dd;p=bacula%2Fbacula Allow duplicate job check override from run cmdline for migrate and copy jobs. --- diff --git a/bacula/src/dird/migrate.c b/bacula/src/dird/migrate.c index 9b29c61902..a8f36fd3a1 100644 --- a/bacula/src/dird/migrate.c +++ b/bacula/src/dird/migrate.c @@ -913,7 +913,7 @@ static void start_migration_job(JCR *jcr) UAContext *ua = new_ua_context(jcr); char ed1[50]; ua->batch = true; - Mmsg(ua->cmd, "run job=\"%s\" jobid=%s", jcr->job->name(), + Mmsg(ua->cmd, "run job=\"%s\" jobid=%s allowduplicates=yes", jcr->job->name(), edit_uint64(jcr->MigrateJobId, ed1)); Dmsg2(dbglevel, "=============== %s cmd=%s\n", jcr->get_OperationName(), ua->cmd); parse_ua_args(ua); /* parse command */