Amanda-Users

exclude a sub directory

2003-02-11 15:11:07
Subject: exclude a sub directory
From: Constantin Skorodumov <const AT molsoft DOT com>
To: "Amanda Users (E-mail)" <amanda-users AT amanda DOT org>
Date: Tue, 11 Feb 2003 10:40:08 -0800
Hello,

I use amanda Amanda-2.4.2 on RH 6.2
Works fine a year.
Now I have one home directory about 48Gb (/home/max) and I have to split it to separate entries in disklist file. My idea was very simple. I just added to exclude list for that entry several sub directories and now it looks like:

/home/max> cat .amanda.excludes
/home/max/o/mprj/PDF
/home/max/o/mprj/NMT
/home/max/o/mprj/BC1
/home/max/o/complexes
/home/max/o/tmp
/home/max/o/bcatenin
/home/max/icm2
*.o
core

and add

/home/max/o/mprj/PDF
/home/max/o/mprj/NMT
/home/max/o/mprj/BC1
/home/max/o/tmplexes
/home/max/o/tmp
/home/max/o/bcatenin
/home/max/icm2

as separate entries to disklist

'du' said the sizes are:
/home/max>             47810084
/home/max/o/mprj/PDF>  10936324
/home/max/o/mprj/NMT>   6404684
/home/max/o/mprj/BC1>   4974540
/home/max/o/complexes>  2482164
/home/max/o/tmp>        2639184
/home/max/o/bcatenin>   2152780
/home/max/icm2>         6228432

As I counted /home/max with that exclude list should be around 12Gb

But amanda said (amdump.1)
NITIAL SCHEDULE (size 26868376):
  ... /home/max pri 29 lev 0 size 21166869
....
GENERATING SCHEDULE:
--------
io /home/max 29 0 1970:1:1:0:0:0 21166869 38909

Looks strange ... isn't it ?
Does anybody use the same scenario ?

Can I use a directory and it's sub directory in the same disklist ?
It looks like:

define dumptype home-local-exclude-high {
    global
    comment "Dump of /home on io"
    priority medium
    compress server best
    exclude list ".amanda.excludes"
}
....
fs      /home/max               home-local-exclude-high
fs      /home/max/o/mprj/PDF    home-high
fs      /home/max/o/mprj/NMT    home-high
fs      /home/max/o/mprj/BC1    home-high
fs      /home/max/o/complexes   home-high
fs      /home/max/o/tmp         home-high
fs      /home/max/o/bcatenin    home-high
fs      /home/max/icm2          home-high
....


Thanks,
Konstantin.


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