Hello,

I have some migrations problems when I have to change the media (LTO-6)
after a running migration job.
The job is waiting for an available media.
So I mount it, and the job resumes until a fatal error (network send error
to FS : broken pipe).

So I tried to configure ResheduleOnError option like this :

Job {
Name = "Migration LTO_011_L"
JobDefs = "MGTion_LTO_L"
Client = "l011-fd"
FileSet = "F L_011"
Priority = "9"
RunBeforeJob = "/opt/bacula/mount.sh"
Selection Type = SQLQuery
Selection Pattern = "SELECT Jobid FROM public.job Where name='Backup L_011'
and (level='D' or level='F') and Type='B' and jobfiles>0 and poolid =2;"
RescheduleOnError = yes
#RescheduleInterval = 1800
RescheduleTimes = 2
}

and the JobDefs

JobDefs {
Name = "MGTion_LTO_L"
Type = Migrate # main.pdf-P293 However, certain such as the Level, Client,
and FileSet, though they must be de ned, are ignored by the Migration job
because the values from the original job used instead.
Level = Full
Messages = Standard
Pool = File
Schedule = "Tape-LTO_F"
Next Pool = L
MaxRunSchedTime = 1 day
Allow Mixed Priority = yes
Maximum Concurrent Jobs = 1
Prefer Mounted Volumes = Yes
#Allow Duplicate Jobs = No
#Cancel Running Duplicates = Yes
#Cancel Queued Duplicates = Yes
}

But it doesn't work, I don't have any reschedule of the job.
If I rerun the migration with an available media, the job is successfull.
Does this option deals with migration job or not ?

I have another question on media type.
I readed in the main manual :

" Each Pool into which you migrate Jobs or Volumes must contain Volumes of
only one Media Type "

I have a LTO 6 Drive and cartridge 5/6.
Can I mix cartridge LTO 5 and 6 in the same pool ? Even if I specified
Media Type = LTO-6
in the storage ressource ?

Thank you

Best regards
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to