>>>>> On Wed, 26 Nov 2014 14:54:10 -0500, Bill Arlofski said:
>
> On 11/26/2014 10:36 AM, Martin Simmons wrote:
> > Look good, but I think you should remove
> >
> > File = /opt/virtual/images
> >
> > from the Exclude clause.
> >
> > __Martin
>
> Hi Martin, if that is removed, then the sparse file will be backed up twice.
>
> Once without the benefit of Bacula's sparse file support as part of the File =
> / in the first Include stanza - and it would be a full 40GB, then a second
> time with Bacula's sparse file support as part of the second Include Stanza.
>
> The Exclude makes sure Bacula skips it when sparse file support is not
> enabled.
Hmm, I don't know if that is a bug or by design. All of the Exclude clauses
are processed for every file under the top level File= lines, so it only works
for you because top level included files (i.e. your second Include clause) are
always included.
If /opt/virtual/images is part of /, then it would be simpler to use multiple
Options clauses in a single Include clause like this:
FileSet {
Name = puppetmaster-fileset
Include {
Options {
wild = /opt/virtual/images/*
signature = MD5
noatime = yes
sparse = yes
}
Options {
signature = MD5
noatime = yes
}
File = /boot
File = /
File = /var/lib/mysql
}
Exclude {
File = /var/spool/bacula
File = /tmp
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
__Martin
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|