Amanda-Users

Re: Splitting a big directory (disklist question)

2003-01-30 11:33:20
Subject: Re: Splitting a big directory (disklist question)
From: Chris Dahn <chris.dahn AT computer DOT org>
To: Jeff Borders <jeff AT jeffborders DOT com>
Date: Thu, 30 Jan 2003 10:50:21 -0500
On Thursday 30 January 2003 10:23 am, Jeff Borders wrote:
> Hello,
>
> 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.
>
> Any guidance would be appreciated.
>
> Thank you, Jeff Borders

  From the man page (of 2.4.2), it doesn't look like you can specify regular 
expressions for the diskdevice. Thus, linux, pics and mydocs are okay, but 
the others are failing (if I'm mistaken about this for 2.4.3, please correct 
me). You are correct, however, in using tar. You should just need to split 
those regular expressions into real directories that exist in /data/apps/.

-- 
 ----------------------------------------------------------------
|Christopher Dahn          | Software Engineering Research Group,|
|3141 Chestnut St.         |   Feel the SERG!                    |
|Attn: CS Dept., CAT 186   | http://serg.cs.drexel.edu/          |
|Philadephia, PA  19104     ------------------------------ ------
|                          | OpenPGP public key:          |
|                          | http://search.keyserver.net/ |
|                          |                              |
 ---------------------------------------------------------

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