]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix regression in keyword of migrate pool patch
authorKern Sibbald <kern@sibbald.com>
Thu, 20 Oct 2011 08:55:55 +0000 (10:55 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:06 +0000 (14:50 +0200)
bacula/src/dird/migrate.c

index 0b4d8cda7e85bac07368776569bee00e3f26bc0d..0dcc866dcc46fd746a64f4b6d29a8d0c08d4a52c 100644 (file)
@@ -917,7 +917,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 allowduplicates=yes pool=\"%s\"", 
+   Mmsg(ua->cmd, "run job=\"%s\" jobid=%s ignoreduplicatecheck=yes pool=\"%s\"", 
         jcr->job->name(), edit_uint64(jcr->MigrateJobId, ed1),
         jcr->pool->name());
    Dmsg2(dbglevel, "=============== %s cmd=%s\n", jcr->get_OperationName(), ua->cmd);