Amanda-Users

Re: Exclude list entries

2006-07-14 11:13:08
Subject: Re: Exclude list entries
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 14 Jul 2006 11:08:03 -0400
On Fri, Jul 14, 2006 at 04:41:37PM +0700, Olivier Nicole wrote:
> > I want to know what the exclude list should look like to make sure I exclude
> > all files with these extensions in any directory/subdirectory contained
> > under the disklist entries:
> > .ora 
> > .dbf 
> > .dmp 
> > .dmp.gz.xx
> 
> It seems that the safest way is:
> 
> *.ora
> *.dbf
> *.dmp
> *.dmp.gz.*
> 
> without the initial ./
> 

And to confirm it will work, put your test patterns in a file,
say "exclude-pats".  Then cd to the directory of your DLE.  Run
something like:

tar -cvf /dev/null --exclude-from <exclude-pats> 2>&1 | egrep 'ora|dbf|dmp'

There should be nothing in the output that matches your list.
Might be something like oracle.txt, but that shouldn't be excluded.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>