Amanda
2
Amanda Amanda Amanda
HDD
4 ( ) 1. 2. 3. 4.
( ) ( ) DB HTML
CD/DVD HDD 1TB 7000 1.5TB 1 USB, SSD DDS: Ultrium:
Windows: Mac: Time Machine Linux: tar(?), Amanda, Bacula Acronics True Image
1 1 1 ( )
Amanda The Advanced Maryland Automatic Network Disk Archiver Unix/Mac OS X/Linux/Windows 2008 12 2.6.0p2 http://www.amanda.org/
Amanda 1 1
Amanda HDD
Amanda
Amanda O REILLY Unix ( 6,600)
( ) 2 (HP ML110) Xen Web RAID
3 (HP ML350) HDD ( 1TB-HDD ) RAID Ultrium-3!(HP StorageWorks 960)
OS: CentOS 5.2 + Xen 6 Web svn vpn pxe SUSE
2 Amanda
Dom0 Xen OS /etc /etc Web Web ( ) Ultrium-3
Amanda 25:00
Dom0 VM X e n Web VM ( )
Amanda ( ) ( )
: Dom0 yum # yum y install amanda-server xinetd (disable=no ) /etc/xinetd.d/amanda (Amanda ) /etc/xinetd.d/amandaidx ( ) /etc/xinetd.d/amidxtape ( ) xinetd # service xinetd restart
: Dom0,, Web yum # yum y install amanda-client xinetd (disable=no ) /etc/xinetd.d/amanda xinetd # service xinetd restart
/etc/hosts Amamda
Amanda Amanda amanda # su amanda 2 /var/lib/amanda/.amandahosts /etc/amanda/( )/
amandahosts /var/lib/amanda/.amandahosts FQDN ( ) ( )
/etc/amanda 1 1 DailySet1 DailySet1 tapelist $ cd DailySet1 $ touch tapelist; chmod 660 tapelist
amanda.conf (1/7)
amanda.conf (2/7) org DailySet1 mailto ginjiro@begi.net dumpuser amanda netusage 100000Kbps
amanda.conf (3/7) dumpcycle 0 weeks 1 runspercycle 0 days 1 tapecycle 5tapes 1
Amanda 1 1 1 4 dumpcycle*runspercycle+1
amanda.conf (4/7) tapetype: http://wiki.zmanda.com/index.php/ Tapetype_definitions labelstr: DailySet1-01, DailySet1-02...
amanda.conf (5/7) directory /dunps 250GB Amanda /dumps/amanda ( amanda ) use: 200GB -50000 Mb chunksize: 2GB OS 2GB
amanda.conf (6/7) infofile logdir indexdir
amanda.conf (7/7) (dumptype) define dumptype global index yes ( ) disklist
disklist (dumptype)
dumptype(1/2) comp-user-tar comp-user-tar-sebone ( )
dumptype(2/2) user-tar-comp
$ amlabel f < > < > -f 1 (0 )
amcheck $ amcheck DailySet1 hosts,.amandahosts amanda.conf (10080/udp, 10082/tcp, 10083/tcp)
( )
amanda amdump $ amdump DailySet1 amstatus $ amstatus DailySet1
cron /etc/amanda/crontab.sample 17 amcheck m 25 amanda crontab e cron
3 Amanda amrecover amrestore Amanda dd
amanda 1
amrecover
amrecover root amrecover -s : -t : -s -C :
amrecover Web rm
amrecover Web amrecover
amrecover
amrecover
amrecover
amrecover
amrestore disklist amanda root
amrestore
amrestore 11/06 /etc /root/test
amrestore sebone3.office.begi.net._etc.20081106.0 tar
Amanda Amanda 32KB mt dd
Amanda (32KB) 1 (32KB) 1 2 (32KB) 2
Amanda (32KB) 1 (32KB) 1 1 2 (32KB) 2
kill
Amanda ( ) 1
Unix ( ) amanda LTO http://www.ait.pref.akita.jp/~kurosawa/ backup.html ( ) http://b.hatena.ne.jp/akkiesoft/ /
Amanda Amanda mixi http://mixi.jp/view_community.pl?id=3816284 http://handsout.jp/user/home/576