Hi,

I've migrated from bacula to bareos, and need to keep the bacula catalog, in 
case I need to restore something from the bacula era, so decided to import the 
old bacula catalog in bareos as a second catalog and go with 2 catalogs in 
paralel. All the new jobs go into bareos catalog ( MyCatalog ).
Unfortunately, the copy jobs fail with the following error:

14-Jun 09:02 backup-1-dir JobId 8: The defined Catalog resources are:
14-Jun 09:02 backup-1-dir JobId 8:      1: MyCatalog
14-Jun 09:02 backup-1-dir JobId 8:      2: bacula
14-Jun 09:02 backup-1-dir JobId 8: Your request has multiple choices for 
"Catalog". Selection is not possible in batch mode.
14-Jun 09:02 backup-1-dir JobId 8: Could not find a Catalog resource
14-Jun 09:02 backup-1-dir JobId 8: Error: Could not start migration job.
  Build OS:               x86_64-redhat-linux-gnu redhat CentOS release 6.7 
(Final)
  Current JobId:          8
  Current Job:            CopyToTape.2016-06-14_09.02.00_04
  Catalog:                "MyCatalog" (From Job resource)
  Start time:             14-Jun-2016 09:02:02
  End time:               14-Jun-2016 09:02:02
  Elapsed time:           0 secs
  Priority:               12
  Termination:            Copying -- OK



although I have specified the catalog in jobdefs, and in destination Pool as 
well : 

JobDefs {
  Name = "StdDisk"
  Type = Backup
  Messages = "Standard"
  Pool = "DiskDaily"
  FileSet = "StdLinux"
  Schedule = "StdSchedule"
  Catalog = "MyCatalog"
  WriteBootstrap = "/data/bareos/%c.bsr"
  MaxWaitTime = 10 minutes 
}

Job {
  Name = "CopyToTape"
  Type = Copy
  Schedule = "Test"
  Catalog = "MyCatalog"
  JobDefs = "StdDisk"
  Priority = 12
  SelectionPattern = "."
  SelectionType = PoolUncopiedJobs
}

Pool {
  Name = "TapeMonthly"
  PoolType = "Backup"
  LabelType = "bareos"
  VolumeRetention = 11 years 
  VolumeUseDuration = 3 days 
  Storage = "TapeStorage"
  Catalog = "MyCatalog"
}

The copy jobs were working until I imported the bacula catalog as a second 
catalog.

Any clues? how could I make this setup work?

Thanks in advance.

-- 
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