org "DailySet-BackupTest-2"
includefile "/etc/amanda/global/base.conf"
inparallel 16 # maximum dumpers that will run in parallel (max 63)
# this maximum can be increased at compile-time,
# modifying MAX_DUMPERS in server-src/driverio.h
netusage 500000 Kbps # maximum net bandwidth for Amanda, in KB per sec
dumpcycle 7 # the number of days in the normal dump cycle
runspercycle 7 # the number of amdump runs in dumpcycle days
# (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 21 tapes # the number of tapes in rotation
# 4 weeks (dumpcycle) times 5 tapes per week (just
# the weekdays) plus a few to handle errors that
# need amflush and so we do not overwrite the full
# backups performed at the beginning of the previous
# cycle
maxdumps 8
bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1 # minimum days at each level
bumpmult 4 # threshold = bumpsize * bumpmult^(level-1)
etimeout 56200 # number of seconds per filesystem for estimates.
dtimeout 4800 # number of idle seconds before a dump is aborted.
ctimeout 7300 # maximum number of seconds that amcheck waits
# for each client host
device-output-buffer-size 20
runtapes 1 # number of tapes to be used in a single run of amdump
tpchanger "chg-disk"
changerfile "/etc/amanda/DailySet-BackupTest-2/changer"
tapedev "file:/amandatapes/DailySet-BackupTest-2"
labelstr "^DailySet-BackupTest-2-[0-9][0-9]*$" # label constraint regex: all tapes must match
holdingdisk hd1 {
comment "Holding DailySet-BackupTest-2"
directory "/var/amanda-holding/DailySet-BackupTest-2-Holding"
use 150 Gb
chunksize 2Gb
}
define script-tool pre-cleanup {
comment "Script to clean up the old mysql backups and logfiles"
plugin "domain-prebackup-script"
execute-where client
execute-on pre-dle-estimate
}
define script-tool backup-start {
comment "Marks the start of the backup"
plugin "backup-start"
execute-where client
execute-on pre-dle-backup
}
define script-tool backup-stop {
comment "Marks the end of the backup"
plugin "backup-stop"
execute-where client
execute-on post-dle-backup
}
# CHECK DEGRADE
reserve 30 # percent
infofile "/var/amanda/DailySet-BackupTest-2/curinfo" # database DIRECTORY
logdir "/var/amanda/DailySet-BackupTest-2" # log directory
indexdir "/var/amanda/DailySet-BackupTest-2/index" # index directory
includefile "/etc/amanda/global/tapetype.conf"
includefile "/etc/amanda/global/interfaces.conf"
includefile "/etc/amanda/global/dumptype.conf"
includefile "/etc/amanda/global/dumptypev4.conf"