From 75c3fa2684bfb933d731f84d9dcefef39f6874dd Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Wed, 4 May 2011 21:07:13 +0200 Subject: [PATCH] Allow duplicate job check override from run cmdline for migrate and copy jobs. --- bacula/src/dird/migrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5