]> git.sur5r.net Git - bacula/bacula/commitdiff
Allow duplicate job check override from run cmdline for migrate and copy jobs.
authorMarco van Wieringen <mvw@planets.elm.net>
Wed, 4 May 2011 19:07:13 +0000 (21:07 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:44:36 +0000 (14:44 +0200)
bacula/src/dird/migrate.c

index 9b29c61902faef58f41b243999fc5d9e7dec9d1c..a8f36fd3a1f00efeb23232cf6bd521f08c70895e 100644 (file)
@@ -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 */