°Ô½Ã¹° 259°Ç
   
[redhat6.5] How can we use Amanda ?
±Û¾´ÀÌ : theko ³¯Â¥ : 2017-01-17 (È­) 17:40 Á¶È¸ : 2511
 

Tapecycle 2

tapetype HARD-DISK

runtape 1

tpchanger "chg-disk"

changerfile "/var/lib/amanda/daily/changer-status"

tapedev "file:/amandatapes/daily"

labelstr "^daily[0-9][0-9]*$"

dumpcycle 0

infofile "/var/lib/amanda/daily/curinfo" #databasefilename

logdir "/var/lib/amanda/daily" #logdirectory

indexdir "/var/lib/amanda/daily/index"



tapecyele: ¹é¾÷ ¼øȯ Áֱ⸦ ¼³Á¤ÇÏ´Â º¯¼ö ÀÌ´Ù.¿©±â¿¡¼­´Â 6À¸·Î ¼³Á¤Çß´Ù.

ÀÌ °¹¼ö´Â ³ªÁß¿¡ ½ÇÁ¦·Î ¹é¾÷À» ÀúÀåÇÒ µð·ºÅ丮 ±¸Á¶¸¦ ¸¸µé ¶§ Âü°íÇÏ°Ô µÈ´Ù.


runtape: µ¿½Ã¿¡ ¹é¾÷À» ¹ÞÀ» Å×ÀÌÇÁ¸¦ ÁöÁ¤ÇÏ´Â º¯¼ö·Î ¿©·¯°³ÀÇ ¹é¾÷ µð¹ÙÀ̽º·Î µ¿½Ã¿¡ ¹é¾÷À» ¹ÞÀ» ¶§ »ç¿ëÇÑ´Ù.


tpchanger: ¹é¾÷µð¹ÙÀ̽º¿¡ µû¶ó ´Þ¶óÁø´Ù.tapetypeÀÌ HARD-DISKÀÇ °æ¿ì chg-disk¸¦ »ç¿ëÇÑ´Ù.


changerfile: ¹é¾÷µð¹ÙÀ̽º »óŸ¦ ±â·ÏÇÏ´Â ¼³Á¤ÆÄÀÏ


tapedev: ½ÇÁ¦·Î ¹é¾÷¹ÞÀ» µð¹ÙÀ̽º¸¦ ÁöÁ¤ÇÑ´Ù.ÀÏ¹Ý tapeµð¹ÙÀ̽ºÀÇ °æ¿ì /dev/st0ÀÌ·±½ÄÀ¸·Î ÁöÁ¤µÇ¸ç Çϵåµð½ºÅ©¿¡ ÆÄÀÏ·Î ¹ÞÀ» °æ¿ì À§¿Í °°Àº Çü½ÄÀ¸·Î ¼³Á¤ÇÑ´Ù.


labelstr: ¹é¾÷¹ÞÀº ÆÄÀÏÀ» ±¸ºÐÇϱâ À§ÇÑ À̸§ÀÎ ¶óº§À» ÁöÁ¤ÇÏ´Â ±ÔÄ¢À» ¼³Á¤ÇÑ´Ù.

À§ÀÇ ¼³Á¤ÀÇ °æ¿ì daily00,daily01,daily03.......daily99±îÁö ¼³Á¤ÀÌ °¡´ÉÇÏ´Ù.


dumpcycle: ¹é¾÷ ·¹º§À» ÁöÁ¤ÇÑ´Ù.0ÀÇ °æ¿ì ¸Å¹ø fullbackupÀ» ¹Þ´Â´Ù.

1·Î ¼³Á¤ÇÏ´Â °æ¿ì óÀ½Àº fullbackupÀÌÈÄ tapecycleµ¿¾È º¯°æµÈ ºÎºÐ¸¸À»

¹é¾÷ÇÑ´Ù.


infofile,logdir,indexdir:

ÀÌ º¯¼öµéÀº ¹é¾÷ÇÑ ÆÄÀÏÀÇ database,log,indexµîÀ» ¾îµð¿¡ ÀúÀåÇÒ °ÍÀÎÁö¸¦

ÁöÁ¤ÇÑ´Ù.¿©±â¿¡ ¼³Á¤ÇÑ µð·ºÅ丮°¡ ¹Ì¸® »ý¼ºµÇ¾î ÀÖ¾î¾ß ÇÏ°í ÇϺΠµð·ºÅ丮°¡

ÇÊ¿äÇÏ´Ù°í ¿¡·¯ ¸Þ½ÃÁö°¡ ³ª¿À´Â °æ¿ì ÇϺΠµð·ºÅ丮¿ª½Ã »ý¼ºÇØ¾ß ÇÑ´Ù.



=================================================================

Á»´õ ½±°Ô ¼³¸í ~

dumpcycleÀº full backup ¼öÇàÇÏ´Â Áֱ⸦ ÁöÁ¤ ÇÏ´Â ÆĶó¹ÌÅÍÀÔ´Ï´Ù. Áï 10À¸·Î µÇ¾î  ÀÖÀ» °æ¿ì, 10ÀÏ Çѹø¾¿ full backupÀ» ¼öÇà ÇÏ°Ô µË´Ï´Ù. 0À¸·Î µÇ¾î ÀÖÀ» °æ¿ì¿¡´Â ¸Å¹ø full backdupÀ» ¼öÇà ÇÏ°Ô µË´Ï´Ù. 

runspercycle´Â dumpcycle ±â°£¿¡ amdump¸¦ ¼öÇà Çϴ Ƚ¼ö¸¦ ÁöÁ¤ ÇÏ´Â ÆĶó¹ÌÅßÀÔ´Ï´Ù. 

(¿¹¸¦ µé¸é) 

 dumpcycle 1 week

 runspercycle 5 


À§¿Í °°ÀÌ ÁöÁ¤ Çϸé 1ÁÖÀÏ¿¡ 5¹ø, Áï ÆòÀÏ¿¡¸¸ amdump¸¦ ¼öÇà ÇÏ°Ô µË´Ï´Ù. ±×Áß, ÇѹøÀº  full backupÀ» ¼öÇà ÇÕ´Ï´Ù.

  ÇÏÁö¸¸ full backup ¾î´À³¯¿¡ ¼öÇà µÇ´ÂÁö´Â ¾Ë¼ö°¡ ¾ø½À´Ï´Ù. 


(´Ù½Ã ¿¹¸¦ µé¸é) 

dumpcycle 1 day

runspercycle 4    ÀÌ·¸°Ô ¼³Á¤Çϸé ÇÏ·ç¿¡ 4¹ø ¹é¾÷Áß 1¹ö´Ï Ç®¹é¾÷À̵ȴÙ.


- ±×¸®°í crontab ¿¡ ½ºÄÉÁÙÀ» 4¹ø µî·Ï ÇØÁà¾ß ÇÑ´Ù. °ð,  runspercycle Ƚ¼ö¸¸Å­

crontab ¿¡ µî·ÏµÇ¾îÁ®¾ß ÇÑ´Ù. 


====================================================================



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com