Rob writes:
> Below is my localhost.pl file, i install this via apt-get on Debian Etc.
> But for some reason it still backs up the files i have in the exclude
> section... did i miss something?
>
> $Conf{TarShareName} =
> ['/etc','/var/www/ispcp','/var/mail','/usr/local/bin','/var/lib'];
> $Conf{BackupFilesExclude} = ['/var/log', '/var/lib/backuppc',
> '/var/lib/backuppc.off','/var/oldjoe'];
The excludes are relative to the share. If you have
multiple shares, $Conf{BackupFilesExclude} should be
a hash with one entry per share. Excluding /var/log
and /var/oldjoe makes no difference since those paths
aren't below the shares.
You should use something like this:
$Conf{BackupFilesExclude} = {
'/var/lib' => ['/backuppc', '/backuppc.off'],
}
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]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/