Hi, 

I have an Always Incremental scheme with daily consolidation and weekly Virtual 
Fulls. Works very well.

Now I want to copy the virtual fulls to our offsite SD using a copy job.

However, the copy job finds no jobs to copy:

28-Nov 14:11 bareos-dir JobId 542: JobId 530 already copied probably by another 
Job. Copying stopped.

Perhaps this is because the Virtual Full is set to type Archive

*list jobid=530
+-------+-----------------------------------+--------------------------+---------------------+------+-------+----------+---------------+-----------+
| jobid | name                              | client                   | 
starttime           | type | level | jobfiles | jobbytes      | jobstatus |
+-------+-----------------------------------+--------------------------+---------------------+------+-------+----------+---------------+-----------+
|   530 | VirtualFull-dora.office.xxx.co.uk | dora.office.xxx.co.uk-fd | 
2017-11-27 20:00:29 | A    | F     |   75,084 | 2,884,916,121 | T         |


because of this runscript in my virtualfull jobdefs:

runscript {
    console = "update jobid=%i jobtype=A"
    runswhen = after
    runsonclient = No
  }

which makes this code bail out?

   /*
    * Make sure this job was not already migrated
    */
   if (jcr->previous_jr.JobType != JT_BACKUP &&
       jcr->previous_jr.JobType != JT_JOB_COPY) {
      Jmsg(jcr, M_INFO, 0, _("JobId %s already %s probably by another Job. %s 
stopped.\n"),
           edit_int64(jcr->previous_jr.JobId, ed1),
           jcr->get_ActionName(true),
           jcr->get_OperationName());
      jcr->setJobStatus(JS_Terminated);
      migration_cleanup(jcr, jcr->JobStatus);
      return true;
   }

Does anyone have any idea if this is could indeed be the problem, and how to 
get around it?

many thanks, Julian

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to