Nick Bright wrote:
> In my /etc/BackupPC/pc/host.pl file, I have the
> $Conf{BackupFilesExclude} directive configured as:
> 
> $Conf{BackupFilesExclude} = {
>    '/usr/local/vpopmail/domains' => [
>      ''
>    ],
>    '/usr/local/MPP/working' => [
>      ''
>    ],
>    '/proc' => [
>      ''
>    ],
>    '/var/qmail/queue' => [
>      ''
>    ],
>    '/backup' => [
>      ''
>    ]
> };
> 
> This was configured through the web interface, on BackupPC v3.1.0.
> Backup method is "rsync".
> 
> The backup runs, but it disregards my exclude directives and backs up
> the directories I'm telling it not to back up. Unfortunately, because
> of the first exclude line not being excluded, this is making the
> backup take about 20 hours to run!
> 
> Any thoughts as to why these directories aren't being excluded?

Because you have not told it to exclude anything.  It works like this:

$Conf{BackupFilesExclude} = {
   'ShareName' => [
     'Exclusion'
   ],
};

So you have a list of (probably invalid) share names, none of which have
any exclusions.  You probably want to do something like this:

$Conf{BackupFilesExclude} = {
   '/' => [
       '/usr/local/vpopmail/domains',
       '/usr/local/MPP/working',
       '/proc',
       '/var/qmail/queue',
       '/backup',
   ]
};

Assuming that you are backing up the root directory.

-- 
Bowie

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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/

Reply via email to