On Thursday 30 January 2003 15:23, Jeff Borders wrote:
> I've got a dds2 drive and need to split up a big directory so the images
> will fit on a tape. I've read posts and docs but I'm not doing
> something right. I don't understand the example of this in the
> amanda-2.4.3/example/disklist file. Here is a sample of what I'm trying
> to do:
>
> curly /data/apps/[0-9]* high-tar
> curly /data/apps/[A-H]* high-tar
> curly /data/apps/[I-P]* high-tar
> curly /data/apps/[Q-Z]* high-tar
> curly /data/apps/[a-z]* high-tar
> curly /data/linux high-tar
> curly /data/pics high-tar
> curly /data/mydocs high-tar
>
> The linux, pics, and mydocs are correct.
You answer your own question, if you only stood back a little. What's the
difference between the ones that work and the ones that don't ?
Still don't see it ?
The * - disklists can't use wildcards. So if /data/apps is too big for one
tape, you have to split it up by fully qualified subdirectory names. If it
happens that /data/apps is 10 G, which is a tad big for a DDS 2, and that
happens to be split up into 100 directories, each of which contains (on
average) 100M, then you'll have to have a disklist with 100 entries.
On the plus side, doing that will give you very good tape usage :-)
Niall O Broin
|