Re: [Bacula-users] Disabling compression on a path / file extension basis?
2014-11-27 11:55:11
Hello Uwe,
You can have more than one include resource within the FileSet. So you can have one with compression enabled and one with compression disabled. The firt include you only backup your .zip, .gz, etc., files without compression, the second one you backup all files except your *.gz, *.zip, etc., files with compression.
FileSet { Name = "MyFileSet" Include { Options { wildfile = "*.zip" wildfile = "*.gz" } Options { Exclude = yes RegexFile = ".*" } File = /mydirectory1 File = /mydirectory2 } Include {
Options { Compression=GZIP wildfile = "*.zip" wildfile = "*.gz" Exclude = yes }
File = /mydirectory1 File = /mydirectory2 } }
Best regards, Ana
------------------------------------------------------------------------------
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
|
|
|