- 7¹öÀüÀ¸·Î ¼¹ö¸¦ ±¸¼ºÇϴµ¥ ¾Ö¸¦ ¸Ô¾ú´Ù. ÇÏÁö¸¸ ¿øÀÎÀ» ã¾Ò°í, ±× ³»¿ëÀ»
¿©±â¿¡ ±â·Ï!!
- Àü¿¡ ±â·ÏÇÑ°Íó·³ xinetd ¼³Ä¡ ÈÄ¿¡ ±× ¹Ø¿¡ amanda file create
-> °áÁ¤ÀûÀ¸·Î Ʋ¸°°Ç ÀÎÁõ ¹æ½Ä ³»¿ëÀ» ³Ö´Â°ÍÀÌ´Ù.
[root@amsrv ]# cat /etc/amanda/amcli3/amanda.conf
org "amcli3"
mailto "amandabackup" # mail address
dumpuser "amandabackup"
inparallel 4
dumporder "sssS"
taperalgo first
displayunit "k"
netusage 8000 Kbps
dumpcycle 4 weeks
runspercycle 20
tapecycle 25 tapes
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 300 # number of seconds per filesystem for estimates.
dtimeout 1800 # number of idle seconds before a dump is aborted.
ctimeout 30 # maximum number of seconds that amcheck waits
device_output_buffer_size 1280k
usetimestamps yes
flush-threshold-dumped 0
flush-threshold-scheduled 0
taperflush 0
autoflush no
runtapes 2
tpchanger "chg-disk"
tapedev "file:///backup/amcli3"
changerfile "/etc/amanda/amcli3/changer.conf"
changerdev "/dev/null"
maxdumpsize -1 # Maximum number of bytes the planner will schedule
tapetype HARD-DISK # what kind of tape it is (see tapetypes below)
labelstr "^amcli3-[0-9][0-9]*$" # label constraint regex: all tapes must match
amrecover_do_fsf yes # amrecover will call amrestore with the
amrecover_check_label yes # amrecover will call amrestore with the
// ÀÌ µÎÁÙÀº 3.3.3 ¾Æ¸¸´Ù ¹öÀü¿¡ ¿É¼ÇÀÌ ¾ø´Ù. ÁÖ¼®Ã³¸® ÇؾßÇÑ´Ù.
amrecover_changer "changer" # amrecover will use the changer if you restore
holdingdisk hd1 {
comment "main holding disk"
directory "/dumps/amcli3" # where the holding disk is
use 40 Gb # how much space can we use on it
chunksize 1024Mb # size of chunk if you want big dump to be
}
infofile "/etc/amanda/amcli3/curinfo" # database DIRECTORY
logdir "/etc/amanda/amcli3" # log directory
indexdir "/etc/amanda/amcli3/index" # index directory
define dumptype global {
comment "Global definitions"
}
auth "bsd"
// 2.6 ¾Æ¸¸´Ù ¹öÀü°ú ´Ù¸£°Ô 3.3.3 ¹öÀü¿¡¼´Â ÀÌ ÆÄÀÏ¿¡¼ ÀÎÁõ¹æ½ÄÀ» Á¤ÇÑ´Ù.
// ±×·¡¼ À§¿Í °°ÀÌ ÀÎÁõ¹æ½Ä ³»¿ëÀ» Ãß°¡ ÇØÁà¾ß ÇÑ´Ù.
define interface local {
comment "a local disk"
use 8000 kbps
}
define application-tool app_amgtar {
comment "amgtar"
plugin "amgtar"
}
define dumptype data-tar {
global
program "GNUTAR"
tape_splitsize 1000 Mb
comment "etc dumped with tar"
compress none
index yes
priority high
}
define dumptype data-dump {
global
program "DUMP"
comment "etc dumped with dump"
compress none
index yes
priority low
}
define tapetype HARD-DISK {
comment "disk-to-disk"
length 1024 mbytes
}
define script-tool sc-email {
comment "script-email"
plugin "script-email"
execute_on pre-dle-amcheck, pre-host-amcheck, post-dle-amcheck, post-host-amcheck, pre-dle-estimate, pre-host-estimate, post-dle-estimate, post-host-estimate, pre-dle-backup, pre-host-backup, post-dle-backup, post-host-backup
execute_where server # or client
property "mailto" "martinea"
}
unreserved-tcp-port 1025,65535
// ÀÌ¿Ü¿¡´Â Å©°Ô ´Ù¸¦°Ô ¾ø´Ù.