On Wed, Apr 06, 2005 at 03:45:55PM +0100, Dave Ewart wrote:
> On Wednesday, 06.04.2005 at 09:34 -0400, Vicki Stanfield wrote:
>
> > I am still trying to understand and improve my inherited amanda
> > configuration. I notice that in the disklist, there are parent
> > directories listed before their children. Here is an example:
> >
> > myhost / comp-low-tar
> > myhost /usr comp-low-tar
> > myhost /var comp-med-tar
> > myhost /net/myhost/home comp-med-tar
>
> Normally, a single entry in the disklist with have it subdirectories
> backed up, as long as that stays on a single disk partition. So, if you
> have / and /usr on different partitions, you need to list them
> separately. If they're on the same partition, you don't need to list
> them again.
The / and /usr are a good example of several possible configs.
/ and /usr each separate file systems (i.e. on separate partitions or slices)
You must have a separate disklist entry for both
/usr is just a subdirectory on same file system with /
You only need an entry for /, it will also back up /usr
If you have / and /usr in disklist, /usr will backup twice
If you have just /usr, then lots of other stuff under / will be missed
/usr is just a subdirectory on same file system with / (same as above)
You could have separate entries for / and /usr "IF" you put into
the entry for / and "exclude /usr" (not correct syntax). This
might be done to make two smaller DLEs out of a single file system.
Or to backup one with different config settings than the other,
maybe one only Full, the other Full and Incremental. Or different
frequencies, or ...
Also, do not get the mistaken impression that everything under a directory is
backed up. You need to examine the file system layout among other things.
For example, if I have /usr as a DLE, then /usr/local is backed up with it.
Wrong on my system, I don't like local things on the system disk. So my "local"
is a separate file system, even on a different disk drive. I need separate
DLEs.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|