BackupPC-users

Re: [BackupPC-users] Exclusions List

2009-10-12 17:23:49
Subject: Re: [BackupPC-users] Exclusions List
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: backuppc-users AT lists.sourceforge DOT net, mstowe AT chicago.us.mensa DOT org
Date: Mon, 12 Oct 2009 22:19:20 +0100
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/