2 This patch causes a message to be printed if the migration job finds that
3 the target job has already been migrated:
5 JobId %s already migrated probably by another Job. Migration stopped.
7 It can be applied to 2.4.2 (not to previous versions) with:
10 patch -p0 <2.4.2-mig-message.patch
11 ./configure <your-options>
17 Index: src/dird/migrate.c
18 ===================================================================
19 --- src/dird/migrate.c (revision 7444)
20 +++ src/dird/migrate.c (working copy)
23 /* Make sure this job was not already migrated */
24 if (jcr->previous_jr.JobType != JT_BACKUP) {
25 + Jmsg(jcr, M_INFO, 0, _("JobId %s already migrated probably by another Job. Migration stopped.\n"),
26 + edit_int64(jcr->previous_jr.JobId, ed1));
27 set_jcr_job_status(jcr, JS_Terminated);
28 migration_cleanup(jcr, jcr->JobStatus);