Amanda-Users

Re: GNUTAR "include" instead of "exclude"

2003-01-06 09:10:45
Subject: Re: GNUTAR "include" instead of "exclude"
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: Will Lowe <harpo AT thebackrow DOT net>
Date: Mon, 6 Jan 2003 08:13:28 -0500
On Sun, Jan 05, 2003 at 01:02:22PM -0800, Will Lowe wrote:
> > Note carefully that Jon says "like".  The "include" keyword does *not*
> > do patterns.  You must explicitly list each item to be included.
> 
> That's ok,  provided I can list directories ... something like this:
> 
> ./var/spool/mail
> ./usr/local
> ./etc
> ./var/log/samba
> 
> ... and just catch those directories and everything in them.  That
> will work, I presume?  The manpage says soemthing confusing about not
> allowing more than one '/', but gnutar's -T option seems to support
> that just fine.

Try this patch, amanda will use the pattern without check if it
contains to /.

Jean-Louis
-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

Attachment: include.dir.diff
Description: Text document

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