BackupPC-users

Re: [BackupPC-users] Exclusions List

2009-10-12 18:17:03
Subject: Re: [BackupPC-users] Exclusions List
From: "Chris Baker" <cbaker AT intera DOT com>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 12 Oct 2009 16:46:43 -0500
 

Sad but true--this issue comes up more than any other on this list. I don't
know if anyone gets excludes to work.

Chris Baker -- cbaker AT intera DOT com
systems administrator
INTERA -- 512-425-2006

-----Original Message-----
From: Heath Yob [mailto:heathy AT stanford DOT edu] 
Sent: Monday, October 12, 2009 4:37 PM
To: questions and support General list for user discussion
Subject: Re: [BackupPC-users] Exclusions List

Ok so I've updated stuff and things sorta work but not exactly how I want.

The rsync exclude works but the exclusion list still doesn't work.

Exclusion list now looks like:

$Conf{BackupFilesExclude} = {
   '*' => [
     '*/*.mp3'
   ]
};

Heath
On Oct 12, 2009, at 2:19 PM, Tyler J. Wagner wrote:

> Here's an example of one that I use to exclude files beginning with 
> 'core.' or ending with '.lock':
>
> $Conf{BackupFilesExclude} = {
>  '/' => [
>    'core.*',
>    '*.lock'
>  ]
> };
>
> Note that the first part must match a defined share name, like "/"  
> or "c".
>
> Tyler
>
> On Monday 12 October 2009 20:22:56 Michael Stowe 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/
>>
>
> --
> "Political language - and with variations this is true of all 
> political parties, from Conservatives to Anarchists - is designed to 
> make lies sound truthful and murder respectable, and to give an 
> appearance of solidity to pure wind."
>   -- George Orwell
>


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