>>>>> On Thu, 25 Jul 2019 11:08:53 +0100, Adam Weremczuk said:
>
> 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.
I can't be responsible for your data, but try something like this (based on
your email from July 24):
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/..."
}
}
> Therefore I would much prefer to avoid any horrible mistakes.
All important backups must be tested periodically using restore!
> I'm assuming any filest change forces the next backup to be full
> regardless of the schedule?
I don't think this change will cause a full backup -- only changes to File=
and Plugin= lines will do that.
__Martin
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users