View Issue Details

IDProjectCategoryView StatusLast Update
0000982bareos-coreconfiguration guipublic2023-04-14 11:47
ReporterSaulo Neiva Assigned Tobruno-at-bareos  
PriorityurgentSeveritytweakReproducibilityalways
Status closedResolutionfixed 
PlatformBareos 16.2OSCentOSOS Version7
Product Version16.2.4 
Summary0000982: even with scrach tape and recycle in theft
Descriptioneven with tape scrach and recycle in the robot the system insists on requesting tape that expires outside office hours that is outside the robot.
TagsNo tags attached.

Activities

florian

florian

2018-07-12 16:55

reporter   ~0003067

Did you do "update slots storage=XXX" ?
Happend to me once with the same robot behavior ...
Saulo Neiva

Saulo Neiva

2018-07-12 18:36

reporter   ~0003068

Did you do "update slots storage=XXX" ? YES

my pool.conf:

Pool {
  Name = SO_Reter62dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  AutoPrune = yes
  Storage = TL2k
# Prune expired volumes
  Volume Retention = 62 days # 2 meses
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"
}

Pool {
  Name = Diario_Reter62dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 62 days # 2 meses
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"

}

Pool {
  Name = Semanal_Reter62dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 62 days # 2 meses
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"

}


Pool {
  Name = Mensal_Reter365dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"

}

Pool {
  Name = SO_Reter365dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"
}

Pool {
  Name = 1Completo_Reter365dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"
}

Pool {
  Name = 2Completo_Reter365dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"
}

Pool {
  Name = File_System_Reter5anos
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 1830 days # five years
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"

}

Pool {
  Name = File_System_Reter10anos
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 3650 days # ten years
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"

}

Pool {
  Name = ImagensGeoReter365Dias
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"
}

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Recycle Oldest Volume = no
  Volume Retention = 62 days # one year
  RecyclePool = Scratch
}

Pool {
  Name = Catalogo
  Pool Type = Backup
  Recycle = yes # Bacula can automatically recycle Volumes
  Storage = TL2k
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 62 days # one year
  Maximum Volumes = 100 # Limit number of Volumes in Pool
  Recycle Oldest Volume = no
  RecyclePool = Scratch
  Cleaning Prefix = "CLN"

}

Pool {
  Name = Scratch
  Pool Type = Backup
  Cleaning Prefix = "CLN"
}

MY bareos-sd.conf:

Storage {
  Name = svdf0135-sd
  SDPort = 9103 # Director's port
  #WorkingDirectory = "/var/spool/bacula"
  #Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
  SDAddress = 0.0.0.0
# NDMP Enable = yes
  Heartbeat Interval = 20
}

Director {
  Name = svdf0135-dir
  Password = "MBSCUNAsZEj7_hrzPJQMDy7DbileNtZBv"
}

Director {
  Name = svdf0135-mon
  Password = "45wwo482qtyFOxcSM0a41pvuhL0XCLbHw"
  Monitor = yes
}

Autochanger {
  Name = TL2k
  Device = LTO4Drive-1, LTO4Drive-2
# Device = LTO4Drive-1
  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/sch0
  Changer Device = /dev/tape/by-id/scsi-1IBM_3573-TL_00X2U78R3602_LL0
}

Device {
  Name = LTO4Drive-1 #
  Drive Index = 0
  Media Type = LTO-4
# Archive Device = /dev/st1
  Archive Device = /dev/tape/by-id/scsi-35000e1114394e001
  AutomaticMount = yes; # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Device Type = Tape
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
##### TRECHO DE LINHAS COMENTADAS PARA TESTAR O BACKUP SOMENTE DO LTO4Drive-1
Device {
  Name = LTO4Drive-2 #
  Drive Index = 1
  Media Type = LTO-4
# Archive Device = /dev/st0
  Archive Device = /dev/tape/by-id/scsi-35000e1114394e004
  AutomaticMount = yes; # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Device Type = Tape
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
Autochanger {
  Name = TL3200
  Device = LTO3Drive-1, LTO3Drive-2
# Device = LTO3Drive-2
  Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/sch1
  Changer Device = /dev/tape/by-id/scsi-1IBM_3573-TL_00L4U78G4512_LL0
}

Device {
  Name = LTO3Drive-1 #
  Drive Index = 0
  Media Type = LTO-3
# Archive Device = /dev/st2
  Archive Device = /dev/tape/by-id/scsi-32001000e11122143
  AutomaticMount = yes; # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Device Type = Tape
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

Device {
  Name = LTO3Drive-2 #
  Drive Index = 1
  Media Type = LTO-3
# Archive Device = /dev/st3
  Archive Device = /dev/tape/by-id/scsi-32007000e11122143
  AutomaticMount = yes; # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Device Type = Tape
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

Messages {
  Name = Standard
  director = svdf0135-dir = all
}


#
# This entry gives the DMA in the Director access to the bareos SD via the NDMP protocol.
# This option is used via the NDMP protocol to open the right TAPE AGENT connection to your
# Bareos SD via the NDMP protocol. The initialization of the SD is done via the native protocol
# and is handled via the PairedStorage keyword.
#
Ndmp {

Name = svdf0135-dir # Can be any name but normally you should use the name of the Director here.
  Username = ndmp # Same username as you specified in the NDMPFile storage definition.
  Password = ndmpicmbio # Same password as you specified in the NDMPFile storage definition.
  AuthType = Clear # Clear == Clear Text, MD5 == Challenge protocol
}
bruno-at-bareos

bruno-at-bareos

2023-03-23 16:39

manager   ~0004947

Is this still reproducible with current code (Bareos >21) ?
bruno-at-bareos

bruno-at-bareos

2023-04-14 11:47

manager   ~0004969

>21 work with Recycle Pool = Scratch, Scratch Pool = Scratch

Issue History

Date Modified Username Field Change
2018-07-11 23:55 Saulo Neiva New Issue
2018-07-12 16:55 florian Note Added: 0003067
2018-07-12 18:36 Saulo Neiva Note Added: 0003068
2023-03-23 16:39 bruno-at-bareos Assigned To => bruno-at-bareos
2023-03-23 16:39 bruno-at-bareos Status new => feedback
2023-03-23 16:39 bruno-at-bareos Note Added: 0004947
2023-04-14 11:47 bruno-at-bareos Status feedback => closed
2023-04-14 11:47 bruno-at-bareos Resolution open => fixed
2023-04-14 11:47 bruno-at-bareos Note Added: 0004969