Amanda-Users

Re: use glob patterns in disklist?

2005-06-03 17:57:46
Subject: Re: use glob patterns in disklist?
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Cameron Matheson <cmatheson3 AT yahoo DOT com>
Date: Fri, 03 Jun 2005 23:41:07 +0200
Cameron Matheson wrote:
Hi,

So i'm trying to split up this large filesystem into
about 10-15G (according to the advice of the folks on
this list).  Anyway, the file-system i'm backing up is
all images, and is split into a billion directories. The size of the directories is very inconsistent, but
the good thing is they're all just named by numbers
(1-188 (but some directories are missing)).  Anyway, i
was wondering if i could use glob patterns in my
disklist, for example:

aspapp2 /opt/blah/cust/{old,[0-9],1[0-9]} image-tar
aspapp2 /opt/blah/cust/20 image-tar
aspapp2 /opt/blah/cust/{3[0-9],40}


You need the use the "include" directive that does
accept glob patterns:

http://www.amanda.org/docs/topten.html#id2555931
_______________


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

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