Hi Axel,
On 15-09-09 17:57:58, Axel Beckert wrote:
> $Conf{BackupFilesExclude} = {
> '/Users/*/' => [
> '/Pictures',
> '/Movies',
> '/Music',
> ],
> [...]
> };
BackupFilesExclude only understands one special key, '*', for all shares
not matched by any other key in the configuration.
Maybe you can adapt the $Conf{TarClientCmd} to have the exclude list
defined on the client, I use
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
. ' env LC_ALL=C $tarPath -c -v -f - -C $shareName+'
. ' -X $shareName+/.backuppc.excludes'
. ' --totals';
for some hosts where there's the need for client-side exclude lists,
adding empty .backuppc.excludes files for shares without exclusions.
Cheers
Wolfgang
PS: I guess the mention in the GNU tar manual about * being greedy even
when encountering a / is "Periods (`.') or forward slashes (`/') are not
considered special for wildcard matches."
signature.asc
Description: Digital signature
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|