On Thursday 2019-07-25 11:08:53 Adam Weremczuk wrote: > On 25/07/19 10:55, Martin Simmons wrote: > > Yes, the FileSet may be the problem -- try reordering the Options > > clauses so that the "default" Options clause containing xattrsupport > > etc is the last one. > > > > The manual says: "However, one additional point is that in the case > > that no match was found, Bacula will use the options found in the > > last Options resource. As a consequence, if you want a particular set > > of "default" options, you should put them in an Options resource > > after any other Options." > > > > __Martin > > Thanks Martin, > Would you be kind enough to re-craft my config file based on the > original? It's an important server with about 800GB of data being > backed up over several hours. > Therefore I would much prefer to avoid any horrible mistakes. > I'm assuming any filest change forces the next backup to be full > regardless of the schedule?
What Martin wants to say is probably that you would need to replace this: FileSet { Name = server_fileset Include { Options { signature = SHA1 ##sparse = yes xattrsupport = yes aclsupport = yes noatime = yes checkfilechanges = yes } Options { exclude = yes # No need to backup cached apt files (but keep directories!!) regexfile = "^/var/cache/apt/.*\.(bin|deb)$" regexfile = ... regexdir = ... regexdir = ... regexdir = ... } File = "/" File = "/boot" File = "/var" File = "/mnt/..." File = "/mnt/..." File = "/mnt/..." } Exclude { File = "/var/cache/apache2/mod_disk_cache" File = "/var/tmp" File = "/mnt/..." File = "/mnt/..." File = "/mnt/..." } } with this: FileSet { Name = server_fileset Include { Options { exclude = yes # No need to backup cached apt files (but keep directories!!) regexfile = "^/var/cache/apt/.*\.(bin|deb)$" regexfile = ... regexdir = ... regexdir = ... regexdir = ... } Options { signature = SHA1 ##sparse = yes xattrsupport = yes aclsupport = yes noatime = yes checkfilechanges = yes } File = "/" File = "/boot" File = "/var" File = "/mnt/..." File = "/mnt/..." File = "/mnt/..." } Exclude { File = "/var/cache/apache2/mod_disk_cache" File = "/var/tmp" File = "/mnt/..." File = "/mnt/..." File = "/mnt/..." } } I have just switched two "Options" blocks. And yes, this will trigger full backup. When you perform some change you can always test the configuration with the bacula-dir -t command. If that doesn't scream with any warnings you can reload the configuration from bconsole using the reload command. -- Josip Deanovic _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users