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.
- Re: exclude a sub directory Constantin Skorodumov
- Re: exclude a sub directory John R. Jackson