Hi, all.

I may be misunderstanding (or misconfiguring) something again.  I'm
hoping someone can explain it to me.

I'm trying to set up a progressive virtual full scheme.  But in several
instances, the incrementals that would be consolidated by the VF, are
empty, meaning that the VF is failing with errors like this:

> 30-Sep 08:25 backup-dir JobId 221077: Start Virtual Backup JobId
> 221077, Job=zhome_sw.2019-09-30_08.25.06_37
> 30-Sep 08:25 backup-dir JobId 221077: Consolidating
> JobIds=181371,181679,182032,182350,182668,182718,183093,183408,183724,184039,184354,184669,184984,185615
> 30-Sep 08:25 backup-dir JobId 221077: No files found to read. No
> bootstrap file written.
> 30-Sep 08:25 backup-dir JobId 221077: Found 0 files to consolidate
> into Virtual Full.
> 30-Sep 08:25 backup-dir JobId 221077: Fatal error: Could not get or
> create the FileSet record.

Now this is correct.  While there are files in the initial full, there
are indeed zero files in those subsequent incrementals.  But why is that
a fatal condition?

The result of this being a fatal error, is that my existing full remains
at its original date/time  Therefore, it will eventually reach the
retention period age, and be pruned.  Then I have to start over with a
complete, non-Virtual Full again, and lose a few months of backup
history that would otherwise be usable.

If there's a way of changing this behavior via config file, that would
be great (current config example attached).

I do also have a workaround in mind.  I'm just trying to understand if
I've done something wrong, and if not, what the reasoning was about this
being a fatal error.  It was certainly unexpected.

This is running on Bacula 9.4.3.

Thanks,

Lloyd

-- 
Lloyd Brown
HPC Systems Administrator
Office of Research Computing
Brigham Young University
http://marylou.byu.edu

JobDefs {
    Name = "DefaultJobZHomebackup1pgf"
    Client = zhomebackup1-fd
    Type = Backup
    Level = Incremental #default, if level not specified in schedule
    Accurate = yes
    Messages = Standard
    Pool = PoolZHomeSD1
    Priority = 10
    Write Bootstrap = "/var/bacula/%c.bsr"
    Maximum Concurrent Jobs = 1
    Allow Duplicate Jobs = yes
    Delete Consolidated Jobs = yes
    Backups To Keep = 110
}

Job {
        Name = "zhome_sw"
        Schedule = "zhome_schedule_split_subsection_w_pgf"
        JobDefs = "DefaultJobZHomebackup1pgf"
        FileSet = "zhome_fileset_sw"
        Client Run After Job = "/root/scripts/unmount_zfs_shares.sh /zhome/sw"
}

FileSet {
        Name = "zhome_fileset_sw"
        Include {
                Options {
                        signature = SHA1
                        compression = GZIP
                }
                File = "\\|/root/scripts/mount_zfs_shares.py 
--mountlocation=/zhome --prefix=sw --outputpaths"
        }
}

Schedule {
        Name = "zhome_schedule_split_subsection_w_pgf"
        Run = at 02:10 #default incremental
        Run = Level = VirtualFull on Monday at 02:15 #run PVF weekly
}

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

Reply via email to