Lionel, A few notes from my time learning about verify jobs: As said by Justin, you must have at least one job of type verify in your bacula-dir.conf. I tried to just change the job type at runtime and it didn't work correctly, as you have found.
There are several verification levels: initcatalog and catalog set and check the state of your files where they reside on disk, respectively. The idea is to detect intrusion or corruption. Initcatalog captures the state of the files at a specific point in time and catalog verifies against that state. Weirdly, while I haven't tested this, you might not actually have to back up files in a fileset in order to set an initcatalog checkpoint. The manual mentions optionally using a special fileset for this purpose. disktocatalog will verify data found in your filesystem against the most recent backup signatures found in the catalog. In contrast with the initcatalog / catalog options, this just verifies against data in the catalog, and doesn't refer to a specific checkpoint. It can certainly compare against the state as of their last backup, and might be able to compare against previous states in backup jobs other than the most recent one (not sure). I imagine it should be able to check the integrity of files on disk backed up by any backup job. It would be silly if it could only verify the state of files captured in the last incremental backup, but not in the full or differential backups before it. volumetocatalog will verify the integrity of the data backed up in your last backup job. It does a full verification of the files in the volume, AND verifies that the most recent catalog data is reflected in the volume. It is intended to only ever be ran against the most recently completed backup job. data is probably what you want most of the time. It checks the integrity of data backed up to a volume. If you specify a job, it just checks the last backup job for that job. if you specify a specific jobid it checks that specific jobid's files in the relevant volumes. There is a trap here: if you specify accurate=yes, it also makes sure that the catalog information listed in the volume for the job in question matches the most recent catalog data. This will throw errors if the job is anything other than the latest job. Essentially, accurate=yes turns a data job into a volumetocatalog job. So in this case, more accurate may not be better. I have summarized with my memory and brief re-reading of the manual for 15.0.2. I recommend you browse through the manual for your bacula version and get the information right from the source. I certainly know that the 'accurate = yes' trap caused me some trouble with data verification jobs until I understood what it was doing. Regards, Robert Gerber 402-237-8692 r...@craeon.net On Wed, Dec 4, 2024 at 7:32 AM Lionel PLASSE <pla...@cofiem.fr> wrote: > Ok I understand, I'll certainly create a Veriify job ressource , because > I used a job changed from backup to verify level by the run command so the > runlevel 86 was specified unimplemented > > I will re test by creating the verify job ressource (and I will reexamine > the doc cause I'm confused with initcatalog and data level) > > Thanks > > -----Message d'origine----- > De : Justin Case <jus7inc...@gmail.com> > Envoyé : mercredi 4 décembre 2024 11:43 > À : Lionel PLASSE <pla...@cofiem.fr> > Cc : bacula-users@lists.sourceforge.net > Objet : Re: [Bacula-users] Verify job error > > Lionel, I do not think that this error means that verify capability is > missing. I think means that you have used level Verify in a Backup type > job, and this is not valid. > You need 2 different job types. It is all also specified in the > documentation, you could read up there on Verify jobs. > > I cannot see what the two jobs you are using look like in detail. You > firstly need a Backup type job. Secondly you need a Verify type job with > level Data. > I would recommend that you specify 2 ressources accordingly, so it is > clear what is specified. This makes it easier to help you. > > Cheers, > J/C > > > On 4. Dec 2024, at 09:51, Lionel PLASSE <pla...@cofiem.fr> wrote: > > > > The job ressource is a Backup job > > > > I use bconsole run command : > > > > Run Backup job > > JobName: Buster_bkp_data > > Level: Full > > Client: BUSTER_BKP-fd > > FileSet: BDD_FILEMAKER > > Pool: FULL (From Job resource) > > Storage: BACKUP (From Pool resource) > > When: 2024-12-04 09:42:55 > > Priority: 3 > > OK to run? (yes/mod/no): mod > > Parameters to modify: > > 1: Level > > 2: Storage > > 3: Job > > 4: FileSet > > 5: Client > > 6: When > > 7: Priority > > 8: Pool > > 9: Plugin Options > > Select parameter to modify (1-9): > > > > As you can see the 9th menu option is Plugin Options > > > > And if I run from bacula-web An initcatalog job or Data for verify : > > > >> BUSTER_BKP-dir JobId 13135: Fatal error: fd_cmds.c:461 Unimplemented > > backup level 86 V > >> BUSTER_BKP-dir JobId 13135: Connected to Client "BUSTER_BKP-fd" > > > > Like the verify capability is not present on my debian installation > > v13.0.3 dir/sd/fd => BUSTER_BKP is debian the dir and also a fd client > > (on Windows client fd it's the same) Linux Buster > > > > > > > > -----Message d'origine----- > > De : Justin Case <jus7inc...@gmail.com> Envoyé : mardi 3 décembre 2024 > > 14:53 À : Lionel PLASSE <pla...@cofiem.fr> Cc : > > bacula-users@lists.sourceforge.net > > Objet : Re: [Bacula-users] Verify job error > > > > What type is the job you want to verify? Verify does only work for > > Backup type jobs (not for Copy type jobs). > > > >> On 19. Nov 2024, at 13:21, Lionel PLASSE <pla...@cofiem.fr> wrote: > >> > >> Hello, > >> > >> I've just seen that I can't do initcatalog/verify job because : > >> Fatal > >> error: fd_cmds.c:460 Unimplemented backup level 86 V > >> > >> And in bconsole when typing run command, the <mod> (job) choice menu > > doesnt' > >> present any 9-verify option I have 9-plugins options instead > >> > >> I'm under debian linux bookworm bacula-dir v13.0.3 installed with > >> deb packages. > >> > >> How can do I add those functions , should I reinstall bacula-dir ? > >> > >> Thanks > >> Lionel > >> _______________________________________________ > >> Bacula-users mailing list > >> Bacula-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users