Cameron writes:
> $Conf{BackupFilesExclude} = {
> 'home' => ['/tmp'],
> };
>
> Connected to module home
> Sending args: --server --sender --numeric-ids --perms --owner --group
> -D --links --hard-links --times --block-size=2048 --recursive
> --checksum-seed=32761 . .
> Checksum caching enabled (checksumSeed = 32761)
> Sent exclude: RCS
> [snip]
>
> Which results in the 'tmp' directory being backed up.
It's a bug in File-RsyncP.pm. You can fix it by removing the
"=s" in this line in File/RsyncP.pm:
"cvs-exclude|C=s", sub { optExclude($rs, @_); },
ie:
"cvs-exclude|C", sub { optExclude($rs, @_); },
You can make this change on the File-RsyncP package source
and re-install, or manually change File/RsyncP.pm in the
installed location (do perl -V to see where).
Alternatively, the bug causes the next exclude to be ignored,
so another work around is:
$Conf{BackupFilesExclude} = {
'home' => ['/tmp', '/tmp'],
};
Craig
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/