> Hi, > > Steve Blackwell wrote on 2008-08-04 18:31:38 -0400 [[BackupPC-users] > Problems excluding files.]: >> [...]
>> Id there something wrong with my $Conf{BackupFilesExclude} > > yes. > >> or do I need to add --exclude <something> to TarIncrArgs? > > No. > > You need to use the "share" name as hash key. Since you're using > XferMethod tar, chances are your "share" is "/", so you'd have > > $Conf{BackupFilesExclude} = { > '/' => [ > '/proc', > '/sys', > '/tmp' > ], > '/whatever/share/you/mean/by/backup' => [ > '/media' > ] > }; > > You *can* use '*' as hash key if you want the excludes to apply to > every share not explicitly given an exclude list, but it seems better > practise (and less error prone) to explicitly list excludes by share > like you did. > > Regards, > Holger Aahh!!! Thanks Holger. I had not understood the use of the hash key. I thought it was just a kind of group name for some excludes. Now everything is working as expected. Steve ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/