Amanda-Users

Re: Wildcards in disklist?

2004-05-21 08:56:59
Subject: Re: Wildcards in disklist?
From: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
To: amanda-users AT amanda DOT org
Date: Fri, 21 May 2004 14:52:06 +0200
Hi, Lars Kellogg-Stedman,

on Freitag, 21. Mai 2004 at 14:19 you wrote to amanda-users:

LKS> Howdy all,

LKS> I'm using Amanda with a Dell PV120T tape library, which has a DTL 4000
LKS> drive capable of writing 20GB uncompressed data to each tape.  I have a
LKS> directory that's currently tipping the scales at 30GB, and is only going
LKS> to get larger.  Normally, I would look into splitting this backup apart
LKS> by subdirectory, but that's not going to work here:

LKS> * There are currently 409 subdirectories beneath the parent.

LKS> * The structure of these subdirectories is mandated by the application,
LKS> so I can't create some sort of top-level "grouping" directories.

LKS> * Directories will be created, deleted, or renamed.

LKS> A ridiculously simple solution to this whole problem would be using
LKS> wildcards in the disklist file, e.g.,:

LKS>   localhost /export/data/[a-mA-M]* dumptype
LKS>   localhost /export/data/[n-zN-Z]* dumptype

LKS> But of course this doesn't work :(.

FIRST: DON'T USE localhost !!!

:-|

Second:

Read the example disklist in the docs-dir of your AMANDA-tarball.

The syntax is like:

hosta /diskA/ag /diskA {
        # all directories that start with [a-g] except big1 and big2
        high-tar
        include "./[a-g]*"
        exclude "./big1" "./big2"
        } 1

and such.

This should do the trick for you.
-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:monitor AT oops.co DOT at






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