View Issue Details

IDProjectCategoryView StatusLast Update
0001138bareos-core[All Projects] Generalpublic2019-12-10 14:39
ReporterSikarahaAssigned To 
PriorityhighSeverityblockReproducibilityalways
Status feedbackResolutionopen 
PlatformLinuxOSRHELOS Version6
Product Version18.2.5 
Fixed in Version 
Summary0001138: Copy Error
DescriptionDisk to tape backup job crashes.
Steps To Reproduce- Run Job
- Run copy job

Job {
  Name = "name"
  Enabled = no
  Type = Backup
  Messages = "Standard"
  Schedule = "disabled_sched"
  Pool = "name"
  Client = "name-fd"
  FileSet = "name"
  RerunFailedLevels = yes
  Description = ""
}

Storage {
  Name = "name"
  Address = "address"
  Password = "[md5]pass_hash"
  Device = "Device-name"
  MediaType = "File-name"
}

Storage {
  Name = "Storage-oracle-LTO-5"
  Address = "address"
  Port = 9105
  Password = "[md5]pass_hash"
  Device = "SL150-KC22-Drive-5"
  MediaType = "LTO-6"
  AutoChanger = yes
  HeartbeatInterval = 2 minutes
  MaximumConcurrentJobs = 3
}

Pool {
  Name = "name"
  PoolType = Backup
  LabelType = "bareos"
  MaximumVolumeJobs = 1
  MaximumVolumeBytes = 476 g 857 m 256 k
  NextPool = "pool-lto6-cpp-1"
  Storage = "name"
  AutoPrune = no
  Recycle = no
}

Pool {
  Name = "pool-lto6-cpp-1"
  PoolType = Backup
  LabelType = "bareos"
  VolumeRetention = 73 years
  Storage = "Storage-oracle-LTO-5"
  AutoPrune = no
  Recycle = no
  RecyclePool = "pool-lto6-cpp-1"
}

Job {
  Name = "name-copy"
  Type = Copy
  Messages = "Standard"
  Pool = "name"
  SelectionType = PoolUncopiedJobs
}
Additional InformationBareos: Copy Error of name-fd Unknown Job Level

1173257: Copying using JobId=1173212 Job=name.2019-11-12_10.39.19_05
1173257: Bootstrap records written to /mnt/md1/working//dir-name.restore.13.bsr
1173257: Start Copying JobId 1173257, Job=name-copy.2019-11-12_14.02.52_07
1173257: Connected Storage daemon at hostname:9103, encryption: PSK-AES256-CBC-SHA
1173257: Using Device "Device-name" to read.
1173258: Connected Storage daemon at hostname.off:9105, encryption: PSK-AES256-CBC-SHA
1173258: Using Device "LTO6-Drive-5" to write.
1173257: Error: Bareos dir-name 18.2.5 (30Jan19):
  Build OS: Linux-4.4.92-6.18-default redhat CentOS release 6.10 (Final)
  Prev Backup JobId: 1173212
  Prev Backup Job: name.2019-11-12_10.39.19_05
  New Backup JobId: 1173258
  Current JobId: 1173257
  Current Job: name-copy.2019-11-12_14.02.52_07
  Backup Level:
  Client: name-fd
  FileSet: "name"
  Read Pool: "name" (From Job resource)
  Read Storage: "name" (From Pool resource)
  Write Pool: "pool-lto6-cpp-1" (From Job Pool's NextPool resource)
  Write Storage: "Storage-oracle-LTO-5" (From Storage from Pool's NextPool resource)
  Next Pool: "pool-lto6-cpp-1" (From Job Pool's NextPool resource)
  Catalog: "MyCatalog" (From Default catalog)
  Start time: 12-Nov-2019 14:02:56
  End time: 12-Nov-2019 14:02:56
  Elapsed time: 0 secs
  Priority: 10
  SD Files Written: 0
  SD Bytes Written: 0 (0 B)
  Rate: 0.0 KB/s
  Volume name(s):
  Volume Session Id: 9
  Volume Session Time: 1573547009
  Last Volume Bytes: 0 (0 B)
  SD Errors: 0
  SD termination status:
  Bareos binary info: bareos.org build: Get official binaries and vendor support on bareos.com
  Termination: *** Copying Error ***
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

arogge

arogge

2019-12-10 14:39

developer   ~0003655

At first look: can you set a level in your Job definition?
I guess "Level = Incremental" should fix this, as the error message sais "Bareos: Copy Error of name-fd Unknown Job Level".

However, if that is the case, we should at least improve the error message.

Issue History

Date Modified Username Field Change
2019-11-12 15:36 Sikaraha New Issue
2019-12-10 14:39 arogge Status new => feedback
2019-12-10 14:39 arogge Note Added: 0003655