I did a few test with amanda, I tried both gnu tar and dump, I have 6
servers to dump, 3 Solaris and 3 Linux RedHat, some 50Gb, now I found what I
think is the right configuration, bypassed the firewall and starting to dump
the servers. And now I found the first problem I cannot easily solve. I am
using a DDS4 tape, here is the def produced by tapetype:

define tapetype DDS4-DAT {
    comment "just produced by tapetype program"
    length 16382 mbytes
    filemark 10 kbytes
    speed 1884 kps
}

and I?d like to use just one tape for each run, I've setup a 11Gb partition
as holding disk and making dumps with dump:

define dumptype sno-dump {
    global
    program "DUMP"
    comment "standard webserver dumped with dump"
    compress client best
    comprate 40,0
    index yes
    priority medium
    holdingdisk yes
    record yes
}

The problem is that amanda (amanda-2.4.3b2-20020126) simply ignore the
comprate parameter, I did a test run and I know that gzip does really a good
work with those partition containing lots of html. I know that after the
first run amanda will use the last one to obtain the estimates what I need
is to do the initial full backups but it insists to keep the full size of
the partition as estimate, in the first run I could just dump 3 partition
out of 22:

DUMP SUMMARY:
                                                  DUMPER STATS
TAPER STATS
HOSTNAME         DISK                 L ORIG-KB  OUT-KB COMP% MMM:SS  KB/s
MMM:SS  KB/s
--------------------------------------- ---------------------------------- -
-----------
somehost     /somewhere/               0 1507440  618080  41.0 194:16  53.0
5:171948.1
somehost     /somewhere/               0 2372200  940672  39.7 270:57  57.9
8:021950.7
somehost     /somewhere/               0 10377660 7475360  72.0 111:261118.0
63:481952.8

So it looks like I used just 9gb out of 16 and all the other partition got
better compression rates in the test phase than the first 2 that succeeded.
I have 2 questions how can I convince amanda that a certain partition will
be well compressed by gzip?
Second I need to do the initial full backups, I am using:
dumpcycle 9             # the number of days in the normal dump cycle
runspercycle -1         # the number of amdump runs in dumpcycle days
                        # (4 weeks * 5 amdump runs per week -- just
weekdays)
tapecycle 10 tapes      # the number of tapes in rotation

strategy standard

may I run amdump 2 or 3 times the same day, so that all partitions get a
level 0 dump or this can cause troubles with the dump cycle?

Thanks in advance for the answer.

Reply via email to