Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000982bareos-core[All Projects] configuration guipublic2018-07-11 23:552018-07-12 18:36
ReporterSaulo Neiva 
Assigned To 
PriorityurgentSeveritytweakReproducibilityalways
StatusnewResolutionopen 
PlatformBareos 16.2OSCentOSOS Version7
Product Version16.2.4 
Target VersionFixed in Version 
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.
bareos-master: impact
bareos-master: 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
Attached Files

- Relationships

-  Notes
(0003067)
florian (reporter)
2018-07-12 16:55

Did you do "update slots storage=XXX" ?
Happend to me once with the same robot behavior ...
(0003068)
Saulo Neiva (reporter)
2018-07-12 18:36

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
}

- 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


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker