[Bacula-users] Bacula Recycling process
2016-03-14 17:22:02
Hi, everyone
I'm facing a weird issue on a bacula instance over Debian 8
(jessie).
I have a pool with two volumes and everytime that a volume is marked
as "recycle" (14 days) bacula sets InChanger and Slot values to 0.
Also, the volume that was marked as Used gets the InChanger and Slot
values of the soon to be recycled volume.
This behavior happens randomly, sometimes the recycle process gets
no error.
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes |
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |
LastWritten |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------+
| 93 | DRC201L5 | Used | 1 | 37,016,275,968
| 45 | 604,800 | 1 | 13 | 1 | LTO-5 |
2016-03-01 21:14:56 |
| 120 | DRC202L5 | Recycle | 1 | 50,507,347,968 |
56 | 604,800 | 1 | 0 | 0 | LTO-5 |
2016-03-13 21:08:43 |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------+
(Volume DRC201L5 is in slot 12 but when the volume DRC202L5 enters
in recycle state, it takes the slot 13)
this is my bacula-dir.conf
Job {
Name = "Espacio-Sistemas"
Client = ss03.educ.gov.ar-fd
Level = Incremental
JobDefs = "sistemas"
FileSet = "sys"
Pool = sys-diario
Full Backup Pool = sys-mensual
Differential Backup Pool = sys-semanal
Incremental Backup Pool = sys-diario
#RunBeforeJob = "/etc/bacula/make_catalog_backup.pl
Catalogo"
Schedule = "SYS-Ciclo-Semanal"
##RunAfterJob = "/etc/bacula/delete_catalog_backup"
Messages = Standard
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
Schedule {
Name = "SYS-Ciclo-Semanal"
Run = Full Pool=sys-mensual 2nd sat at 3:00
Run = Differential Pool=sys-semanal 1st sat at 21:30
Run = Differential Pool=sys-semanal 3rd-5th sat at 21:30
Run = Incremental Pool=sys-diario mon-fri at 21:05
Run = Incremental Pool=sys-diario sun at 21:05
}
Pool {
Name = sys-semanal
Pool Type = Backup
Recycle = yes # Bacula can
automatically recycle Volumes
AutoPrune = yes # Prune expired
volumes
Volume Retention = 60 days
Volume Use Duration = 2592000 seconds # En 4 semanas la
cinta cambia el "status" a "Used".
}
Thanks for everything, let me know if I miss something.
--
Santiago Diaz Soler
Área de operaciones
Coordinación de tecnología
Tel.: 4704-4000 interno (3010)
Educ.ar S.E. - https://www.educ.ar
Ministerio de Educación
Av. Comodoro Rivadavia 1151 (CP 1429) - CABA
|
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Bacula Recycling process,
Santiago Díaz Soler <=
|
|
|