BackupPC-users

Re: [BackupPC-users] Exclusions List

2009-10-12 15:56:44
Subject: Re: [BackupPC-users] Exclusions List
From: Shawn Perry <redmopml AT comcast DOT net>
To: mstowe AT chicago.us.mensa DOT org, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 12 Oct 2009 13:52:42 -0600
I could never get the exclude to work via backuppc so I did it with
rsync excludes directly "--exclude=*.rpm"

$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive',
  '--exclude=lost+found',
  '--exclude=/proc',
  '--exclude=/sys',
  '--exclude=core',
  '--exclude=/tmp',
  '--exclude=**/cache/**',
  '--exclude=**/Cache/**',
  '--exclude=**/.cache/**',
  '--exclude=**/.Cache/**',
  '--exclude=/home/**/Desktop',
  '--exclude=*.deb',
  '--exclude=*.rpm'
];


On Mon, Oct 12, 2009 at 1:22 PM, Michael Stowe
<mstowe AT chicago.us.mensa DOT org> wrote:
>
> That would only apply to the module "Media," which is appropriate if and
> only if "Media" is listed as the share to back up.  It looks like you put
> "/Users/heathy/Music/" there instead, which ... doesn't match.
>
>
>> This is what it is.  I added some other to see if it catches.
>> $Conf{BackupFilesExclude} = {
>>    'Media' => [
>>      '*.mp3',
>>      '*/*.mp3',
>>      '/*.mp3'
>>    ]
>> };
>>
>> Heath
>>
>>
>> On Oct 12, 2009, at 12:09 PM, Michael Stowe wrote:
>>
>>>
>>> Probably.
>>>
>>> Does your exclude look like this?
>>>
>>> $Conf{BackupFilesExclude} = {
>>>  '*' => [
>>>    '*/*.mp3'
>>>  ]
>>> };
>>>
>>>
>>>> Hmm.  I tried */*.mp3 and /*.mp3.  It's still picking up the test mp3
>>>> files.  I make a new file ever incremental to see if it picks it up.
>>>>
>>>> I'm not seeing the filters when I run the incremental: /usr/bin/ssh
>>>> -q
>>>> -x -l root 171.67.220.30 /usr/bin/rsync --server --sender --numeric-
>>>> ids --perms --owner --group -D --links --hard-links --times --block-
>>>> size=2048 --recursive . /Users/heathy/Music/
>>>>
>>>>
>>>> Should I see my filters in the command that gets run?
>>>>
>>>> Thanks,
>>>>
>>>> heath
>>>>
>>>>> The backup part is working. The problem is that the exclusions
>>>>> aren't
>>>>> working. For example i'm trying to exclude mp3s. So I've added both
>>>>> *.mp3 and .mp3 to the exclusion list and it's still backing up the
>>>>> mp3s. I'm wondering if I'm missing something. The examples of the
>>>>> exclusions only show directories and not files even though it states
>>>>> it can exclude files.
>>>>
>>>> I think you have to add the path. Something like */*.mp3
>>>> --
>>>> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
>>>> Firefox
>>>> 3.5 -
>>>> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/
>>>> atbrowser
>>>>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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/
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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/