Hello all. I'm testing copy/migrate jobs from master(bareos) to remote slave(bareos-sd), i have re-read all examples and I thinks all it's ok, but the behavior it is no what i wait for: every works ok, but the copy not go to slave(bareos) but copy in the master one !!
Configuration very simple: "Master" (2) Storages Storage { Name = File Address = xxx.xxx.xxx.xxx # master.server SDPort = 9103 Password = "*" Device = FileStorage Media Type = File Maximum Concurrent Jobs = 30 } Storage { Name = File-bareos Address = ddd.ddd.ddd.ddd # slave.server SDPort = 9103 Password = "*" Device = FileStorage2 Media Type = File2 Maximum Concurrent Jobs = 30 } (2) Pools Pool { Name = Full Storage = File Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 365 days Maximum Volume Bytes = 1000G Maximum Volumes = 25 Label Format = "FULL-" Next Pool = "Export" } Pool { Name = Export Storage = File-bareos Pool Type = Backup Label Format = "EXPT-" } On SLAVE server-sd Access to connect from master.bareos-dir and ... new device Device { Name = FileStorage2 Media Type = File2 Archive Device = /bareos/storage LabelMedia = yes; Random Access = yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; Maximum Spool Size = 10000Gb Spool Directory = /bareos/spool Maximum Concurrent Jobs = 20 } JOB copy example on master.bareos-fd: Job { Name = "bareosVM-a-cEXP" Type = Copy # Level = Full # Client = bareosVM # FileSet = "bareosVM-a" Pool = Full Messages = Standard Write Bootstrap = "/bareos/bootstrap/%c-%i-%e-%t-%l-EXP.bsr" Selection Type = PoolUncopiedJobs # Selection Pattern = PoolUncopiedJobs # Storage = File-bareos Maximum Concurrent Jobs = 5 } RESULTS: when i run this job always do the copy on then master and never in slave, see logs: 06-oct 10:21 bareosVM-dir JobId 105: The following 1 JobId was chosen to be copied: 104 06-oct 10:21 bareosVM-dir JobId 105: Copying using JobId=104 Job=bareosVM-a.2015-10-06_10.20.50_04 06-oct 10:21 bareosVM-dir JobId 105: Bootstrap records written to /var/lib/bareos/bareosVM-dir.restore.1.bsr 06-oct 10:21 bareosVM-dir JobId 105: Start Copying JobId 105, Job=bareosVM-a-cEXP.2015-10-06_10.21.11_05 06-oct 10:21 bareosVM-dir JobId 105: Using Device "FileStorage" to read. 06-oct 10:21 bareosVM-dir JobId 106: Using Device "FileStorage2" to write. 06-oct 10:21 bareosVM-sd JobId 105: Ready to read from volume "FULL-0001" on device "FileStorage" (/bareos/storage). 06-oct 10:21 bareos-sd JobId 106: Volume "EXPT-0003" previously written, moving to end of data. 06-oct 10:21 bareos-sd JobId 106: Ready to append to end of Volume "EXPT-0003" size=943 06-oct 10:21 bareosVM-sd JobId 105: Forward spacing Volume "FULL-0001" to file:block 0:59143384. 06-oct 10:21 bareosVM-sd JobId 105: End of Volume at file 0 on device "FileStorage" (/bareos/storage), Volume "FULL-0001" 06-oct 10:21 bareosVM-sd JobId 105: End of all volumes. 06-oct 10:21 bareos-sd JobId 106: Elapsed time=00:00:01, Transfer rate=288 Bytes/second 06-oct 10:21 bareosVM-dir JobId 105: Bareos bareosVM-dir 14.2.2 (12Dec14): Build OS: x86_64-redhat-linux-gnu redhat Red Hat Enterprise Linux Server release 7.0 (Maipo) Prev Backup JobId: 104 Prev Backup Job: bareosVM-a.2015-10-06_10.20.50_04 New Backup JobId: 106 Current JobId: 105 Current Job: bareosVM-a-cEXP.2015-10-06_10.21.11_05 Backup Level: Full Client: bareosVM FileSet: "bareosVM-a" Read Pool: "Full" (From Job resource) Read Storage: "File" (From Pool resource) Write Pool: "Export" (From Job Pool's NextPool resource) Write Storage: "File-bareos" (From Storage from Pool's NextPool resource) Next Pool: "Export" (From Job Pool's NextPool resource) Catalog: "MyCatalog" (From Default catalog) Start time: 06-oct-2015 10:21:13 End time: 06-oct-2015 10:21:13 Elapsed time: 0 secs Priority: 10 SD Files Written: 3 SD Bytes Written: 288 (288 B) Rate: 0.0 KB/s Volume name(s): EXPT-0003 Volume Session Id: 2 Volume Session Time: 1444119569 Last Volume Bytes: 1,673 (1.673 KB) SD Errors: 0 SD termination status: OK Termination: Copying OK 06-oct 10:21 bareosVM-dir JobId 105: Begin pruning Files. 06-oct 10:21 bareosVM-dir JobId 105: No Files found to prune. 06-oct 10:21 bareosVM-dir JobId 105: End auto prune. >>> Destination Volume: EXPT-0003 is create on master, and never it's created >>> on slave. I have to server (master-slave) with same bareos version: 14.2.2 >>> and i do not know wahts happens. Any help would be apreciated. 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 bareos-users+unsubscr...@googlegroups.com. To post to this group, send email to bareos-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.