Hi Graham!!
Sure you can mate :) :)
There you have attached. I have seen there should not be a time
issue.... because today I see the same effect...
For instance, when doing a differential backup in the differential pool
:
RUN JOB="HOU5144437.CLIENTES.CLOUDBACKUP.RAMATTACK.NET-FD_COPIA_DIFF"
FILESET="HOU5144437.CLIENTES.CLOUDBACKUP.RAMATTACK.NET_BACKUP_FILESET"
LEVEL="DIFFERENTIAL"
CLIENT="HOU5144437.CLIENTES.CLOUDBACKUP.RAMATTACK.NET-FD"
POOL="CATALOGO_BACK107001_DIFF" STORAGE="FILE-BACK107001" PRIORITY="10"
WHEN="2022-06-01 11:06:59" YES
gives you a :
_Job queued. JobId=25_
_01-Jun 11:07 node07.cloudbackup.ramattack.net-dir JobId 25: No prior or
suitable Full backup found in catalog. Doing FULL backup._
Any help very highly appreciated mates...
Thank you so much,
Cheers!
El 2022-05-31 23:27, Graham Sparks escribió:
> ATENCION
> ATENCION
> ATENCION!!! Este correo se ha enviado desde fuera de la organizacion. No
> pinche en los enlaces ni abra los adjuntos a no ser que reconozca el
> remitente y sepa que el contenido es seguro.
>
> Hello,
>
> The Pool used shouldn't matter, provided that it is the same Job.
>
> Can I check that you have one Job (per client) with different level Pools
> defined:
>
> e.g.
>
> Job {
> Name = BackupForClientX
> Client = client-x
> Schedule = WeeklyCycle
> Full Backup Pool = NameOfFullPool
> Incremental Backup Pool = NameOfIncrPool
> Differential Backup Pool = NameOfDiffPool
> ...
> ...
> }
>
> and also a schedule that defines the job Level:
>
> e.g.
>
> Schedule {
> Name = WeeklyCycle
> Run = Level=Full 1st sun at 01:00
> Run = Level=Differential 2nd-5th sun at 01:00
> Run = Level=Incremental mon-sat at 01:00
> }
>
> There's a very good example of using pools for different levels of backup
> in the "Automated Disk Backup" section of the manual:
>
> https://www.bacula.org/11.0.x-manuals/en/main/Automated_Disk_Backup.html#SECTION0031300000000000000000
>
> Thanks.
> --
> Graham
>
> On Tue, 31 May 2022, egoitz--- via Bacula-users wrote:
>
>> Hi mates,
>>
>> One little question. I have been doing some checks this afternoon. I have a
>> full pool, a differential one, incremental one, month-archival-pool and
>> year-archival-pool. If I do a full backup in the pool full obviously it ends
>> up fine. I can even restore from it. But if I wanted to do now, a
>> differential backup it sais me :
>>
>> No prior or suitable Full backup found in catalog. Doing FULL backup.
>>
>> But the fact is the backup exists!, but in the full pool obviously not in
>> the differential pool.
>>
>> I have done all this checks in very few minutes (perhaps a couple, three), I
>> was wondering if perhaps Bacula 11 needs some time for noting that a full
>> backup exists in another pool of the catalog. Or else, could you know, why
>> could it that be happening?. Until now, I have just worked with a pool, and
>> have never had this issue... but it's time to make better things :) :) and
>> Bacula sais that... perhaps it needs some time?.
>>
>> Cheers!!
## JOB PARA LANZAR BACKUPS
Job {
Name = "hou5144437.clientes.cloudbackup.ramattack.net-fd_copia_full"
JobDefs = "hou5144437.clientes.cloudbackup.ramattack.net-fd_defs"
Type = Backup
Schedule = BASICO_MON_1300
Pool = catalogo_BACK107001_full
Priority = 5
Max Full Interval = 32 days
Accurate = Yes
FileSet = "hou5144437.clientes.cloudbackup.ramattack.net_backup_fileset"
Write Bootstrap =
"/expert/baculadata/Bootstrap/hou5144437.clientes.cloudbackup.ramattack.net-fd.bsr"
RunAfterJob =
"/expert/scripts/scripts-jobs-post-pre/generar_cache_catalogo.sh %i %h %l
BACK107001 0"
}
Job {
Name = "hou5144437.clientes.cloudbackup.ramattack.net-fd_copia_diff"
JobDefs = "hou5144437.clientes.cloudbackup.ramattack.net-fd_defs"
Type = Backup
Schedule = BASICO_MON_1300
Pool = catalogo_BACK107001_diff
Priority = 5
Max Full Interval = 32 days
Accurate = Yes
FileSet = "hou5144437.clientes.cloudbackup.ramattack.net_backup_fileset"
Write Bootstrap =
"/expert/baculadata/Bootstrap/hou5144437.clientes.cloudbackup.ramattack.net-fd.bsr"
RunAfterJob =
"/expert/scripts/scripts-jobs-post-pre/generar_cache_catalogo.sh %i %h %l
BACK107001 0"
}
Job {
Name = "hou5144437.clientes.cloudbackup.ramattack.net-fd_copia_incr"
JobDefs = "hou5144437.clientes.cloudbackup.ramattack.net-fd_defs"
Type = Backup
Schedule = BASICO_MON_1300
Pool = catalogo_BACK107001_incr
Priority = 5
Max Full Interval = 32 days
Accurate = Yes
FileSet = "hou5144437.clientes.cloudbackup.ramattack.net_backup_fileset"
Write Bootstrap =
"/expert/baculadata/Bootstrap/hou5144437.clientes.cloudbackup.ramattack.net-fd.bsr"
RunAfterJob =
"/expert/scripts/scripts-jobs-post-pre/generar_cache_catalogo.sh %i %h %l
BACK107001 0"
}
### JOB PARA LANZAR BACKUPS ARCHIVADO MENSUAL
Job {
Name =
"hou5144437.clientes.cloudbackup.ramattack.net-fd_copia_archivado_mensual"
JobDefs = "hou5144437.clientes.cloudbackup.ramattack.net-fd_defs"
Type = Copy
Level = Full
Priority = 1
Next Pool = catalogo_BACK107001_archivado_mensual
FileSet = "hou5144437.clientes.cloudbackup.ramattack.net_backup_fileset"
Schedule = NEVER
Pool = catalogo_BACK107001_archivado_mensual
Storage = "File-BACK107001"
Selection Type = SQL Query
Selection Pattern = "SELECT J.JobId FROM Job J, Pool P WHERE P.Name =
'catalogo_BACK107001_full' AND J.name like '%5144437%' AND P.PoolId = J.PoolId
AND J.level='F' AND J.Type = 'B' AND J.JobStatus IN ('T','W') AND J.jobBytes >
0 AND J.StartTime > (current_timestamp - interval '20 day') ORDER BY
J.realendtime DESC LIMIT 1"
}
### JOB PARA LANZAR BACKUPS ARCHIVADO ANUAL
Job {
Name =
"hou5144437.clientes.cloudbackup.ramattack.net-fd_copia_archivado_anual"
JobDefs = "hou5144437.clientes.cloudbackup.ramattack.net-fd_defs"
Type = Copy
Level = Full
Priority = 1
Next Pool = catalogo_BACK107001_archivado_anual
FileSet = "hou5144437.clientes.cloudbackup.ramattack.net_backup_fileset"
Schedule = NEVER
Pool = catalogo_BACK107001_archivado_anual
Storage = "File-BACK107001"
Selection Type = SQL Query
Selection Pattern = "SELECT J.JobId FROM Job J, Pool P WHERE P.Name =
'catalogo_BACK107001_full' AND J.name like '%5144437%' AND P.PoolId = J.PoolId
AND J.level='F' AND J.Type = 'B' AND J.JobStatus IN ('T','W') AND J.jobBytes >
0 AND J.StartTime > (current_timestamp - interval '20 day') ORDER BY
J.realendtime DESC LIMIT 1"
}
### JOB PARA RESTAURAR BACKUPS
Job {
Name = "hou5144437.clientes.cloudbackup.ramattack.net-fd_RestoreFiles"
JobDefs = "hou5144437.clientes.cloudbackup.ramattack.net-fd_defs"
Type = Restore
Schedule = NEVER
Messages = GENERAL07
FileSet = "hou5144437.clientes.cloudbackup.ramattack.net_backup_fileset"
Storage = File-BACK107001
Pool = catalogo_BACK107001_restores
Where = /export/home/bacula/bacula-restores
}
### JOB DE VERIFICACION PARA REVISAR CAMBIOS EN SISTEMAS DE ARCHIVOS
Job {
Name = "hou5144437.clientes.cloudbackup.ramattack.net_Verify"
Type = Verify
Client = hou5144437.clientes.cloudbackup.ramattack.net-fd
FileSet =
"hou5144437.clientes.cloudbackup.ramattack.net_verificacion_fileset"
Storage = File-BACK107001
Pool = catalogo_BACK107001_restores
Reschedule On Error = Yes
Reschedule Interval = 10 minutes
Reschedule Times = 5
Max Wait Time = 7200
Schedule = "NEVER"
Messages = GENERAL07
}
Schedule {
Name = BASICO_MON_1300
Run = Full 1st mon at 13:00
Run = Differential 2nd-5th mon at 13:00
Run = Incremental tue-sun at 13:00
}
Pool {
Name = catalogo_BACK107001_full
Pool Type = Backup
Recycle = Yes
Storage = File-BACK107001
AutoPrune = Yes
Volume Retention = 126 days
Recycle Current Volume = Yes
RecyclePool = Scratch
ScratchPool = Scratch
Next Pool = catalogo_BACK107001_archivado_mensual
}
Pool {
Name = catalogo_BACK107001_diff
Pool Type = Backup
Recycle = Yes
Storage = File-BACK107001
AutoPrune = Yes
Volume Retention = 126 days
Recycle Current Volume = Yes
RecyclePool = Scratch
ScratchPool = Scratch
}
Pool {
Name = catalogo_BACK107001_incr
Pool Type = Backup
Recycle = Yes
Storage = File-BACK107001
AutoPrune = Yes
Volume Retention = 38 days
Recycle Current Volume = Yes
RecyclePool = Scratch
ScratchPool = Scratch
}
Pool {
Name = catalogo_BACK107001_archivado_mensual
Pool Type = Backup
Recycle = Yes
Storage = File-BACK107001
AutoPrune = Yes
Volume Retention = 0 days
Recycle Current Volume = Yes
RecyclePool = Scratch
ScratchPool = Scratch
}
Pool {
Name = catalogo_BACK107001_archivado_anual
Pool Type = Backup
Recycle = Yes
Storage = File-BACK107001
AutoPrune = Yes
Volume Retention = 0 days
Recycle Current Volume = Yes
RecyclePool = Scratch
ScratchPool = Scratch
}
Pool {
Name = catalogo_BACK107001_restores
Pool Type = Backup
Recycle = Yes
Storage = FileRestore-BACK107001
AutoPrune = Yes
Volume Retention = 10 days
Recycle Current Volume = Yes
}
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users