Hello Heitor, On 2020-05-12 14:36, Heitor Faria wrote: >> Hello > > Hello Wanderlei and Sachin, > >> You can use Verify Jobs. Take a look in the manual: >> [ >> https://www.bacula.org/9.6.x-manuals/en/main/Configuring_Director.html#SECTION002130000000000000000 >> | >> https://www.bacula.org/9.6.x-manuals/en/main/Configuring_Director.html#SECTION002130000000000000000 >> ] > > I think the Verify Job is very unpractical for the OP requirements, since you > can't (e.g.) tell Bacula to Verify a bunch of jobs or all jobs from a tape. > It is necessary to specify the original jobs to Verify, one by one. > Perhaps, a btape read test, or even a bscan or bls would be more practical. I > wish bconsole itself had such a media test command.
If you run the backup job with the level=data, it will check automatically the last job present in the catalog. You can schedule this level after the backup job for example. It is probably better to have a different priority, then you can run also the verify jobs after the backup jobs. It is fully automatic. It is also possible to use a runscript command to fire the verify job when you want with the when= parameter (the timing is important). You can also check the job type=verify level=volumetocatalog that can read a tape and compare all attributes with the catalog data. It works at the volume level, and it might be better for tapes. Best Regards, Eric _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users