Hello,

we have a Bareos Install 14.2.2-46 on Linux which is running fine doing disk based backup and virtual full to tape. Now we like to replace the virtual full by a copy job which transfer the disk based full backup to tape. We have therefore tried this copy job:

JobDefs {
  Name = "COPY-Def"
  Type = Copy
  Enabled = yes
  Messages = Standard
  Pool = SHORT
  Priority = 20
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
}

# TEST Copy Job
Job {
  Name = "COPY2TAPE-FS02"
#  Enabled = no
  JobDefs = "COPY-Def"
  Client = fs02-fd
  FileSet = "FS02Full"
  Schedule = "COPYCycle"
  Selection Type = SQLQuery
Selection Pattern = "SELECT jobid FROM job WHERE clientid='19' AND type='B' AND level='F' AND poolid='5' AND (jobstatus='T' OR jobstatus='W') AND (endtime > (now() - INTERVAL '7 days'))"
}

and the result is as follow:

24-Jun 18:25 bareos-dir JobId 17158: The following 1 JobId was chosen to be copied: 17080 24-Jun 18:25 bareos-dir JobId 17158: Copying using JobId=17080 Job=SHORT-FS02.2015-06-19_19.15.01_30 24-Jun 18:25 bareos-dir JobId 17158: Bootstrap records written to /var/lib/bareos/bacula-dir.restore.1.bsr 24-Jun 18:25 bareos-dir JobId 17158: Start Copying JobId 17158, Job=COPY2TAPE-FS02.2015-06-24_18.25.00_03
24-Jun 18:25 bareos-dir JobId 17158: Using Device "FileStorage" to read.
24-Jun 18:25 bareos-dir JobId 17158: Using Device "Drive-1" to write.
24-Jun 18:25 bareos-sd JobId 17158: Ready to read from volume "A22-DATEI" on device "FileStorage" (/var/lib/bareos/storage). 24-Jun 18:25 bareos-dir JobId 17158: Error: Director's comm line to SD dropped. 24-Jun 18:25 bareos-dir JobId 17158: Error: Bareos bacula-dir 14.2.2 (12Dec14):
  Build OS:               x86_64-pc-linux-gnu ubuntu Ubuntu 12.04 LTS
  Prev Backup JobId:      17080
  Prev Backup Job:        SHORT-FS02.2015-06-19_19.15.01_30
  New Backup JobId:       17159
  Current JobId:          17158
  Current Job:            COPY2TAPE-FS02.2015-06-24_18.25.00_03
  Backup Level:           Incremental
  Client:                 fs02-fd
  FileSet:                "FS02Full"
  Read Pool:              "SHORT" (From Job resource)
  Read Storage:           "File" (From Pool resource)
  Write Pool:             "DISASTER" (From Job Pool's NextPool resource)
  Write Storage:          "Tape" (From Storage from Pool's NextPool resource)
  Next Pool:              "DISASTER" (From Job Pool's NextPool resource)
  Catalog:                "MyCatalog" (From Client resource)
  Start time:             24-Jun-2015 18:25:05
  End time:               24-Jun-2015 18:25:10
  Elapsed time:           5 secs
  Priority:               20
  SD Files Written:       0
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Volume name(s):
  Volume Session Id:      1
  Volume Session Time:    1435162902
  Last Volume Bytes:      0 (0 B)
  SD Errors:              0
  SD termination status:  Error
  Termination:            *** Copying Error ***

and after this the SD on the same machine is gone away. Any idea what we have done wrong or do we need a debugger to solve this?

Thanks

Andreas


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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to