Amanda-Users

RE: need regex help

2006-08-24 15:49:22
Subject: RE: need regex help
From: "McGraw, Robert P." <rmcgraw AT purdue DOT edu>
To: "Paddy Sreenivasan" <paddy AT zmanda DOT com>, "Jeff Portwine" <jdport AT michigandrill DOT com>
Date: Thu, 24 Aug 2006 15:41:06 -0400
This is from the wiki.

"testgtar - A perl script to GNU tar exclude patterns. It takes exclude file
and DLE as the parameters."

I believe the word "test" is left out between "to .... GNU"

Robert





_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: rmcgraw AT purdue DOT edu
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (765) 494-6055
150 N. University Street                   FAX: (419) 821-0540
West Lafayette, IN 47907-2067            


> -----Original Message-----
> From: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT 
> amanda DOT org]
> On Behalf Of Paddy Sreenivasan
> Sent: Thursday, August 24, 2006 2:23 PM
> To: Jeff Portwine
> Cc: amanda-users AT amanda DOT org
> Subject: Re: need regex help
> 
> 
> Jeff,
> 
> You can use testgtar script contributed by Amanda user to test regex
> patterns.
> http://wiki.zmanda.com/index.php/Main_Page#Useful_Amanda_tools
> 
> Thanks,
> Paddy
> 
> On 8/24/06, Jeff Portwine <jdport AT michigandrill DOT com> wrote:
> >
> >
> > Please forgive me if this comes across twice, I sent the same question
> > yesterday but it seems that it never made it to the list.. at least I
> didn't
> > receive my own message if it did.
> >
> > ------------
> >
> >
> >
> > I want amanda to back up multiple home directories, but I don't want to
> back
> > up everything in /home.
> > I tried using  syntax like this:
> >
> > myserver      /dev/sdc1 {
> >     server-user-tar
> >     include "./home/(user1|user2|user3|user4)*"
> > }
> >
> >
> > Amcheck didn't have any problems with it but when the backup actually
> ran, I
> > got the following messages in the dump report:
> >
> > FAILURE AND STRANGE DUMP SUMMARY:
> >   frank.veritime.com  /dev/sdc1  lev 0  STRANGE
> >
> > FAILED AND STRANGE DUMP DETAILS:
> >
> > /--  myserver /dev/sdc1 lev 0 STRANGE
> > sendbackup: start [myserver:/dev/sdc1 level 0]
> > sendbackup: info BACKUP=/bin/gtar
> > sendbackup: info RECOVER_CMD=/bin/gtar -f... -
> > sendbackup: info end
> > ? gtar: ./home/(user1|user2|user3|user4)*: Warning: Cannot
> > stat: No such file or directory
> > | Total bytes written: 10240 (10kB, ?B/s)
> > sendbackup: size 10
> > sendbackup: end
> > \--------
> >
> >
> >
> > Did I do the regex incorrectly, or is there a better way to accomplish
> this?
> >
> >
> > Thanks,
> > Jeff
> 
> 
> --
> 
> Amanda documentation: http://wiki.zmanda.com
> Amanda forums: http://forums.zmanda.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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