My perl skills have atrophied a great deal. Perhaps someone can explain what is
happening.
Here is my config:
$Conf{XferMethod} = 'ftp';
$Conf{FtpShareName} = [
'/coder'
];
$Conf{BackupFilesOnly} = {
'/coder' => [
'/includes'
]
};
$Conf{BackupFilesExclude} = {
'/coder' => [
'/images'
]
};
Excludes are not working. I've tracked it down to Protocol.pm and the
loadInclExclRegexps subroutine.
At the end of that sub, I dumped $t->{BackupFilesOnly} and
$t->{BackupFilesExclude}. Here is what I get:
BackupFilesOnly $VAR1 = [
'/includes'
];
BackupFilesExclude $VAR1 = [
'\\/coder\\/images'
];
BackupFilesExclude contains the share name when I believe it should not. I don't
really understand what is going on in lines 337-344 (the push then map). This
code is NOT in the BackupFilesOnly section directly above it.
Can any one help me understand this code so I can manage a fix?
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
BackupPC-devel mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/