Hello,

I wonder me that the list does not send me my own mail back to me.
You answered directly to me instead to the list so I cannot also answer
to the list so the information will be lost for other people :-(

Am 11.06.21 um 17:47 schrieb Martin Simmons:
> You need to make a special job with Type = Verify and run that.
ok, that was the issue. After creating a copy of home_file to home_file_verify
by copy another allready existing one was not working immediately.

The second issue was that in the run job I must add File Set="home Set"
although it was already configured in the job definition:

# List of files from home
FileSet {
    Name = "home Set"
    Include {
        Options {
            compression = GZIP;
            basejob = A;
            accurate = ipnugsm;
            verify = ipnsm1;
            aclsupport = yes;
            onefs = yes;
            signature = SHA1;
            xattrsupport = yes;
            noatime=yes;
        }
        File = /home
    }
    Exclude {
        File = /.journal
        File = /.fsck
    }
}

 61 JobDefs {
 62   Name = "RotateJobData"
 63   Type = Backup
 64   Level = Incremental
 65   Schedule = "CycleData"
 66   Max Start Delay = 1240000
 67   Max Wait Time = 3600000
 68   Max Run Time = 3600000
 69   Spool Data = yes
 70   Spool Attributes = yes
 71   Spool Size = 8589934592
 72   Messages = Standard
 73   Pool = Daily
 74   Storage = "Disk2"
 75   Incremental Backup Pool = Daily
 76   Differential Backup Pool = Weekly
 77   Full Backup Pool = Monthly
 78   Rerun Failed Levels = yes
 79   Allow Duplicate Jobs = no
 80   Cancel lower level duplicates = yes
 81   Cancel Queued Duplicates = yes
 82   Cancel Running Duplicates = no
 83   Accurate = yes
 84   Priority = 9
 85   Allow Mixed Priority = yes
 86 }
 87

131 JobDefs {
132   Name = "VerifyJob"
133   Type = Verify
134   Level = Catalog
135   Pool = Default
136   Spool Attributes = yes
137   Spool Size = 9663676416
138   Messages = Standard
139   Allow Duplicate Jobs = yes
140   Cancel Queued Duplicates = no
141   Accurate = yes
142   FileSet = "Verify Full Set"
143   Schedule = "DailyVerify"
144   Accurate = yes
145   Priority = 15
146 }
147

348 Job {
349   Name = "file_home"
350   JobDefs = "RotateJobData"
351   Client = file-fd
352   FileSet = "home Set"
353   Write Bootstrap = "/var/lib/bacula/file_home.bsr"
354   Max Wait Time = 7200000
355   Max Run Time = 7200000
356   # Enabled = No
357 }
358
359 Job {
360   Name = "file_home_verify"
361   JobDefs = "VerifyJob"
362   FileSet = "home Set"
363   Client = file-fd
364   Enabled = No
365 }

So I wonder me that the FileSet rule in the job rule does not overwrite the
fileset configuration in the jobDefs VerifyJob. But I could "overwrite" this
setting by adding fileset="home Set" in the run command.
Without that it looks like it use the file set from jobDefs because it should
only compare /home filesystem but it had compared the / filesystem on disk
with /home in catalog of the full backup ans so I got many many unrelevant
differences like /etc does not exist in catalog.

So with the following command the job is now running:
run job=file_home_verify jobid=53129 level=DiskToCatalog fileset="home Set"

There some mysterious entries found in the verify which I want to ask in
following threads:

1. Job rule does not overwrite JobDefs rules from verify job?
2. Backup for "some dot files" are not made?

Thank you.
Pierre



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

Reply via email to