View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000982 | bareos-core | configuration gui | public | 2018-07-11 23:55 | 2023-04-14 11:47 |
Reporter | Saulo Neiva | Assigned To | bruno-at-bareos | ||
Priority | urgent | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Bareos 16.2 | OS | CentOS | OS Version | 7 |
Product Version | 16.2.4 | ||||
Summary | 0000982: even with scrach tape and recycle in theft | ||||
Description | even with tape scrach and recycle in the robot the system insists on requesting tape that expires outside office hours that is outside the robot. | ||||
Tags | No tags attached. | ||||
Did you do "update slots storage=XXX" ? Happend to me once with the same robot behavior ... |
|
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 } |
|
Is this still reproducible with current code (Bareos >21) ? | |
>21 work with Recycle Pool = Scratch, Scratch Pool = Scratch |
|
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 |