BackupPC-users

Re: [BackupPC-users] Exclusion not working with rsync

2011-10-27 08:30:07
Subject: Re: [BackupPC-users] Exclusion not working with rsync
From: Mark Maciolek <maciolek AT unh DOT edu>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 27 Oct 2011 07:54:26 -0400
On 10/26/2011 8:49 PM, Steve M. Robbins wrote:
> Hi,
>
> I'm backing up my local machine using rsync; see configuration below.
> Despite the exclusion, I still get /home/steve/Packages in my backup.
> I tried also '/home/steve/Packages/*' with the same result.  What's
> the magic?
>
>
> #
> # Local server backup of /etc as user backuppc
> #
> $Conf{XferMethod} = 'rsync';
>
> $Conf{RsyncShareName} = [
>    '/etc',
>    '/boot',
>    '/home',
>    '/var/mail',
>    '/var/www',
>    '/sound+vision'
> ];
>
> $Conf{BackupFilesExclude} = {
>    '/home' =>  [
>      '/home/steve/Packages'
>    ]
> };
>
>
> Thanks,
> -Steve
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
>
>
> _______________________________________________
> 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/
Steve,

You need to change the key /home should be *

$Conf{BackupFilesExclude} = {
   '*' => ['
     '/home/steve/Packages
   ]
};


-- 
Mark Maciolek <mailto:Mark.Maciolek AT unh DOT edu>
Network Administrator
Research Computing & Instrumentation 
<http://www.unh.edu/research/support-units/research-computing-instrumentation> 

(603)862-3050

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
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>