BackupPC-users

Re: [BackupPC-users] exclude not working

2010-05-12 11:45:35
Subject: Re: [BackupPC-users] exclude not working
From: Steve Blackwell <zephod AT cfl.rr DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 12 May 2010 11:43:23 -0400
On Wed, 12 May 2010 10:01:15 -0400
Mark Maciolek <mlm AT sr.unh DOT edu> wrote:

> Hi,
> 
> Backuppc 3.1 using rsync
> 
> $Conf{RsyncShareName} = [
>    '/raid1'
> 
> $Conf{BackupFilesExclude} = {
>    '*' => [
>      '/raid1/*/tilecache',
>      '/raid1/temp',
>      '/raid1/osmplanet'
>    ]
> 
> 
> 
> NewFileList still shows
>   2a85606be4fcc25d294720dfb67d183b 3657 
> f%2fraid1/fcaribbean/ftilecache/fNOAA_ENCT/f14/f000/f005/f746/f000/f009/f048.png
> 2a85606be4fcc25d294720dfb67d183b 3657 
> f%2fraid1/fcaribbean/ftilecache/fNOAA_ENCT
> 
> 
> Do I need to specify /raid1/caribbean/tilecache ?
> 
> Mark
Hi Mark,

I, too, have been having problems with exclude. See the (long) thread
titled "Syntax for excluding .gvfs". 

What I discovered is that if you use the wildcard, *, it must be quoted
otherwise all the excludes are ignored so 'raid1/*/tilecache' should be
'raid1/"*"/tilecache'.

Also, though I'm not 100% sure about this, 

$Conf{BackupFilesExclude} = {
    '*' => [
...

should be 

$Conf{BackupFilesExclude} = {
    '/raid1' => [
...

HTH
Steve

------------------------------------------------------------------------------

_______________________________________________
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>