Posted on 2008-04-13 15:00:09, modified on 2008-04-13 15:00:00
Tags: Bacula, Networking
Today I finished my "Bacula client-side user exclusion flag"patch. Let me explain what it is:
How it works: In your FileSet add the option IgnoreDir:
FileSet {
Name = "Remote Specified"
Include {
Options {
signature = MD5
}
File = "\\</etc/bacula-include"
IgnoreDir = .nobackup
}
Exclude {
File = "\\</etc/bacula-exclude"
}
}
And if my /etc/bacula-include contains:
I can drop files called .nobackup in directories I don't want to backup:/usr/local/etc /etc /home
[~] edwin@>find . -name .nobackup cvs/ports/.nobackup temp/.nobackup tmp/.nobackup www/cache/.nobackup