|
| |
|
°Ô½Ã¹° 259°Ç
|
|
|
[redhat6.5] How can we use Amanda ? 2ź |
|
±Û¾´ÀÌ :
theko
³¯Â¥ : 2017-01-24 (È) 17:26
Á¶È¸ : 2577
|
1. Ŭ¶óÀ̾ðÆ® ¹é¾÷ ÆÄÀϽýºÅÛ¿¡ ´ëÇØ ½½·ÔÀ» Á¤Çؼ ¹é¾÷ ÇÒ¼ö´Â ¾ø´Â°ÇÁö¿ä?
==> slotÀ» °íÁ¤ ÇÏ¿© ¹é¾÷À» ÇÒ¼ö ¾ø½À´Ï´Ù.
disklist ÆÄÀÏÀ» º¸½Ã¸é ¾Æ·¡¿Í °°Àº Æ÷¹îÀ¸·Î ÀÛ¼º ÇØ¾ß ÇÕ´Ï´Ù.
hostname diskdev dumptype
dumptype´Â amanda.conf¿¡¼ Á¤ÀǸ¦ ÇÏ¿´À¸¸ç dumptype ÀúÀÇ ºÎºÐ¿¡
slotÀ» ÁöÁ¤ ÇÏ´Â ¿É¼ÇÀÌ ¾ø½À´Ï´Ù.
2. disklist ÆÄÀÏ¿¡¼ ÁõºÐ ¹é¾÷ °ü·ÃÀÌ ¾ø¾î º¸À̴µ¥ 6¹öÀü¿¡¼ ÁõºÐ incr ¿É¼ÇÀÌ ¾ø´ÂÁö¿ä?
==> ÁõºÐ ¹é¾÷Àº amanda.conf ¿¡¼ strategy ¿É¼ÇÀ» ÅëÇØ ¼³Á¤ ÇϽǼö ÀÖ½À´Ï´Ù.
ÇØ´ç ¿É¼ÇÀº dumptype¸¦ Á¤ÀÇ ÇϽǶ§ ÁöÁ¤ ÇϽǼö ÀÖ½À´Ï´Ù.
# man amanda.conf:
strategy string
Default: standard. Strategy to use when
planning what level of backup to run next.
Values are:
standard
The standard Amanda schedule.
nofull
Never do full backups, only level 1
incrementals.
noinc
Never do incremental backups, only full
dumps.
skip
Never do backups (useful when sharing the
disklist file).
incronly
Only do incremental dumps. amadmin force
should be used to tell Amanda that a full
dump has been performed off-line, so that
it resets to level 1.
3. Ŭ¶óÀ̾ðÆ®¿¡¼ ¸®½ºÅä¾î ¸ðµå·Î µé¾î°¡¼ history ¸í·É¾î¸¦ ¾²¸é ±âÁ¸ ¹é¾÷ ¹ÞÀº ½ÃÁ¡µéÀÌ ³ª¿À´Âµ¥
1) ±× ¹é¾÷½ÃÁ¡ ¸®½ºÆ®°¡ ¾î¶»°Ô Ç¥ÇöµÇ´Â °Ç°¡¿ä.
==> history¿¡¼ È®ÀÎ µÈ ¹é¾÷ ±â·ÏÀº ¹è°Ì ½ÃÁ¡, ¹é¾÷ ·¹º§, tape Á¤º¸ ¶ÇÇÑ ÆÄÀÏ À§Ä¡¸¦ È®ÀÎ ÇϽǼö ÀÖ½À´Ï´Ù.
2) ±×¸®°í ¹é¾÷½ÃÁ¡ ¸®½ºÆ®¸¦ Áö¿ì´Â ¹æ¹ýÀ» ¾Ë·ÁÁÖ¼¼¿ä ?
==> history Á¤º¸´Â amanda server ÀÇ index µð·ºÅ丮¿¡ ÀúÀå µÇ¾î ÀÖ½À´Ï´Ù. ÇØ´ç index ÆÄÀÏÀ»
Áö¿ì½Ã¸é history ±â·ÏÀÌ ¾ø¾îÁö³ª ÀÌ·¸°Ô ÀÛ¾÷À» ÇϽô °ÍÀ» ±ÇÀå ÇØ µå¸®Áö ¾Ê½À´Ï´Ù.
¸í·É¾î¸¦ ÅëÇØ history ±â·ÏÀ» Áö¿ì´Â ¹æ¹ýÀº ¾ø¾î º¸ÀÔ´Ï´Ù.
4. solt Æú´õµéÀÌ ÀÖ´Â °÷¿¡ data ¶ó´Â ¸µÅ© ÆÄÀÏÀÌ »ý¼ºµÇ¾î ¶óº§½½·ÔÀÌ ¸Å¹ø º¯°æÀÌ µÇ¾îÁö´øµ¥ data
¸µÅ© ÆÄÀÏÀÇ ¿ªÈ°ÀÌ ¹«¾ùÀΰ¡¿ä?
==> VFS Device¸¦ »ç¿ë Çҽÿ¡ tapdev¿¡¼ ÁöÁ¤ÇÑ µð·ºÅ͸®¿¡ data/ ¶ó´Â µð·ºÅ丮°¡ ÀÖ¾î¾ß ÇÕ´Ï´Ù.
ÇØ´ç µð·ºÅ͸®¿¡ ÃÖ½ÅÀÇ Amanda header Á¤º¸°¡ ÀúÀå µÇ¾î ÀÖ½À´Ï´Ù.
# man amanda-devices
VFS Device
tapedev "file:/path/to/vtape"
The VFS device driver stores data on a UNIX filesystem. Note that
although one typically uses the VFS device driver to store data on
hard disks, the driver does not interface with any hardware on a
block level.
The device name specifies a path to a directory which must exist and
contain a "data/" subdirectory. Each tape file is stored as a
distinct file in this directory, the name of which reflects the
Amanda header in the tape file. Block boundaries are not maintained:
the driver supports reads of arbitrary size, regardless of the
blocksize used to write the data.
5. holdingdisk ¿ªÈ°ÀÌ Àӽ÷ΠÆÄÀÏÀÌ ÀúÀåµÇ°í Å×ÀÙ(solt)À¸·Î º¹»çÇØÁÖ´Â ¿ªÈ°·Î ¾Ë°í ÀÖ½À´Ï´Ù. ¸Â´ÂÁö¿ä?
==> ³×, ¸Â½À´Ï´Ù.
# man amanda.conf
HOLDINGDISK SECTION
The amanda.conf file may define one or more holding disks used as
buffers to hold backup images before they are written to tape.
1) ÀÓ½ÃÀúÀå¼Ò¶ó ÇÑ´Ù¸é ÀúÀå ±â°£Àº ¾ó¸¶µ¿¾ÈÀΰ¡¿ä?(ÀÚµ¿»èÁ¦µÇ´Â°ÅÁÒ?)
==> ÀÓ½ÃÀûÀ¸·Î »ý¼ºµÈ µ¥ÀÌŸ ÆÄÀÏÀº ¹é¾÷ ¿Ï·áÈÄ ¾ø¾îÁý´Ï´Ù.
6, ¹é¾÷ÆÄÀÏÀ» ¹é¾÷¼¹ö¿¡¼ ¸í·É¾î¸¦ ÅëÇؼ Ç®¼öÀÖ³ª¿ä?
==> ¼¹ö¿¡¼ amanda µ¥ÀÌŸ ÆÄÀÏÀ» Ç®¼ö ÀÖ´Â ¸í·É¾î°¡ ÀÖ´ÂÁö¿¡ ´ëÇØ Á»´õ È®ÀÎ ÇÏ°í
´äº¯ µå¸®µµ·Ï ÇÏ°Ú½À´Ï´Ù.
|
|
|