Hi,

sorry, I missed the error at first reading.

Guy Malacrida wrote on 02.04.2007 at 10:22:57 [Re: [BackupPC-users] Exclude 
directories - syntax problems?]:
> $Conf{RsyncShareName} = ['cDrive','dDrive'];
> $Conf{BackupFilesExclude} = ['/Documents and Settings/*/Local
> Settings/Temporary Internet Files','/WINDOWS/Temp','
> >
> 
> So I guess the exclusions apply to both drive even if they don't exit in
> both.

That's correct. If you have just one array, that's applied to all drives.
Why it solves your problem is:

> >$Conf{RsyncShareName} = ['cDrive','dDrive'];
> >$Conf{BackupFilesExclude} = {
> >    'c' => ['/Documents and Settings/*/Local Settings/Temporary Internet
> >Files','/WINDOWS/Temp','/pagefile.sys',' hiberfil.sys','/RECYCLER'],
> >    'd' => ['/Download'],
> >};

your excludes were for shares 'c' and 'd' while you were backing up shares
'cDrive' and 'dDrive', for which they did not apply. So,

        $Conf{RsyncShareName} = ['cDrive','dDrive'];
        $Conf{BackupFilesExclude} = {
            'cDrive' => ['/Documents and Settings/*/Local Settings/Temporary 
Internet Files','/WINDOWS/Temp','/pagefile.sys',' hiberfil.sys','/RECYCLER'],
            'dDrive' => ['/Download'],
        };

should do what you really want :).

Regards,
Holger

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to