BackupPC-users

Re: [BackupPC-users] How to exclude this directories?

2011-02-16 11:44:30
Subject: Re: [BackupPC-users] How to exclude this directories?
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 16 Feb 2011 11:42:18 -0500
On 2/15/2011 10:51 AM, Boniforti Flavio wrote:
> Hello everybody.
>
> I have following configuration for one of my hosts, but still the two
> excluded directories are being backed up.
> Where is the error lying?
>
> $Conf{BackupFilesExclude} = {
>   '/scanner pubblico' => [
>     ''
>   ],
>   '/scanner privato' => [
>     ''
>   ]
> };
> $Conf{RsyncShareName} = [
>   'D'
> ];

This is a VERY common misconfiguration.  The excludes (and includes) are
of the format:

    'ShareName' => [ 'Exclusion1', 'Exclusion2' ]

So your config should probably look like this:

    $Conf{BackupFilesExclude} = {
      'D' => [
        '/scanner pubblico',
        '/scanner privato'
      ]
    };
    $Conf{RsyncShareName} = [
      'D'
    ];

-- 
Bowie

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>