¹é¾÷.... °ü¸®ÀÚÀÇ ¾÷¹«Áß¿¡ Áß¿äÇÑ Çϳª´Â ¹é¾÷ÀÔ´Ï´Ù... µ¥ÀÌŸº£À̽º °ü¸®ÀÚµµ ¸¶Âù°¡ÁöÀÌÁö¿©...¿ø½Ãµ¥ÀÌŸ¸¦ º¸Á¸Çϱâ À§Çؼ­ ¹é¾÷À» ÇÏ´Â °ÍÀº Áß¿äÇÕ´Ï´Ù.. ¿©±â¼­´Â ÀÌ·¯ÇÑ ¹é¾÷À» ÇÏ´Â ¹æ¹ýµéÀ» ¾Ë¾Æº¸°Ú½À´Ï´Ù.. Àú´Â Å×ÀÔµå¶óÀ̺갡 ¾ø¾î¼­¸®..ÇæÇæ~±â³É ±âº»¸¸ ¾Ë¾Æº¸Áö¿©..¹«Á¶°Ç Çغ¸´Â°Ô ÁÁÀºµ¥.. Çغ¼¼ö °¡ ¾ø½¿´Ù... µð½ºÅ©·Î ÇÏ´Â °ÍÀº Çغ¸°ÚÁö¸¸..ÇæÇæ~ ¹é¾÷ÀÇ Á¾·ù¿¡´Â ¿©·¯°¡Áö°¡ Àִµ¥...±× ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù... full dump : ¸ðµç ÆÄÀÏ ½Ã½ºÅ×ÀÇ Àüü ³»¿ëÀ» ¹é¾÷ incremental dump : ÀÌÀü¿¡ ¹é¾÷ÇÑ ½ÃÁ¡ºÎÅÍ º¯°æµÈ ÆÄÀϸ¸ ¹é¾÷ ¼±ÅÃÀû ¹é¾÷ : ¸í·É¾î ¶óÀο¡¼­ ±ÔÁ¤µÈ °æ·Î À̸§¿¡ ÀÇÇØ ¼±ÅÃµÈ ÆÄÀÏÀ» ¹é¾÷ÇÏ´Â ¹æ¹ý multivolume backup : µ¥ÀÌŸÀÇ ¾çÀÌ ¹é¾÷ ¹Ìµð¾îÀÇ Å©±âº¸´Ù Ä¿¼­ ¿©·¯°³ÀÇ Å×ÀÌºí¸¦ ¿ä±¸ÇÏ´Â µ¥ÀÌŸÀÇ ¹é¾÷ ¹æ¹ý ÀϹÝÀûÀ¸·Î ¹é¾÷ µð¹ÙÀ̽º´Â ¸¶±×³×ƽ Å×ÀÌÇÁÀÔ´Ï´Ù... Å×ÀÌÇÁ ÀåÄ¡ÀÇ À̸§Àº ´ÙÀ½°ú °°½À´Ï´Ù.. ------------------------------------------ /dev/rmt/xy rmt: raw magnetic tape devidce x : logical tape number(0-1) y : tape density(h, m, l, c, u) /dev/rmt/xyn n : no -rewind y : tape density(h, m, l, c,u) x : logical tape number ------------------------------------------- x : Å×ÀÌÇÁ µð¹ÙÀ̽ºÀÇ ÀåÄ¡¹øÈ£ÀÌ´Ù. (/dev/rmt/0, /dev/rmt/1, /dev/rmt/2) y : Å×ÀÌÇÁ ÀåÄ¡ÀÇ ¹Ðµµ¸¦ ³ªÅ¸³»´Â °ÍÀ¸·Î h(high), m(medium), l(low), c(compress), u(ultra compress) ÀÇ 5´Ü°è n : ÀÛ¾÷À» ÇÑ ÈÄ¿¡ Å×ÀÌÇÁ¸¦ óÀ½ »óÅ·Π°¨Áö ¾Ê°í ÀÛ¾÷ ¿Ï·á ½ÃÁ¡¿¡¼­ ¸ØÃá´Ù. ¼Ö¶ó¸®½º¿¡¼­ Áö¿øµÇ´Â µð¹ÙÀ̽º´Â /kernel/dev/st.conf ÆÄÀÏ¿¡ Á¤ÀÇ µÇ¾î ÀÖ´Ù. ========================================================================================================================== # cat /kernel/drv/st.conf | more # # Copyright (c) 1997-2001 by Sun Microsystems, Inc. # All rights reserved. # #pragma ident "@(#)st.conf 1.15 01/02/09 SMI" # # This file is common to Solaris Intel Edition versions 2.5x and 2.6. # It was created from both tested and contributed entries. # The "st" tape driver is designed and intended to be user extensible # and user configurable. You may change these entries to suit your needs. # To support additional drives, or change existing entries, please # refer to the st man page for details, or search for "st" on either # the Solaris Documentation CD-ROM, or the Solaris 2.6 Documentation # section of http://docs.sun.com. # The st and mtio man pages also live in the Solaris 2.6 Reference Manual # AnswerBook. # # To contribute additional entries, or suggest enhancements to existing # entries below, you may send e-mail to x86-certify@Sun.COM # which is a submission mailbox (There is no reply mail, but submissions # and corrections are collected). # # For technical support, contact your usual support provider or visit # http://sunsolve.sun.com # # If you wish to use EXB-8200C mode for Exabyte 8505's, you can use the # entry below, which redefines the "high" density as 8200C mode. # EXABYTE NOTE: The st driver, on Solaris 2.5/2.51 only, is currently coded # to overlook the last numeral of the device model number for # Exabyte drives. # This means that an EXB-8505 will be treated as an # EXB-8500, and no entry here will override that. # This problem was resolved in Solaris 2.6, and the # st driver will match all digits of the model number. # # When adding new entries into the "tape-config-list", or uncommenting # existing entries, be careful. Lines in the middle of the list must # end with comma, and the last line in the list MUST end with semicolon. # # Each record (line) in the tape-config-list below has the form; # SCSI-Inquiry-String, Text for /var/adm/messages, Jump-Label, # # "Jump-Label" points to an entry in the configuration strings section. # # For the following drives which are configured automatically, # no entry is needed in st.conf: # - # Exabyte 8900 (Mammoth) # Hewlett Packard C5683A # Hewlett Packard C5713A # Quantum DLT8000 # StorageTek 9840 # - # tape-config-list= "ANRITSU DMT2120", "Unisys 1/2\" Reel", "ANRITSU", "ARCHIVE Python 04106", "Seagate Scorpion 24 DDS3 DAT", "ARCH_04106", "ARCHIVE Python 28388", "Archive/Conner CTDX004 4mm DAT", "Conner2-DAT", "ARCHIVE Python 04106", "Seagate Scorpion 24 DDS3 DAT", "ARCH_04106", "ARCHIVE Python 28388", "Archive/Conner CTDX004 4mm DAT", "Conner2-DAT", "ARCHIVE Python 28454", "Archive Python 4mm Helical Scan", "ARCH_Python", "ARCHIVE Python 29279", "Archive Python 4mm DAT Stacker", "ARCH_Python", "ARCHIVE VIPER 150", "Archive QIC-150", "QIC150", "ARCHIVE VIPER 255", "Archive QIC-525", "QIC150", "DEC DLT2", "DEC 15/30GB DLT", "DLT", "DEC TZ87", "DEC DLT", "DLT", "Emulex MTO2", "Emulex MT02 QIC-11/QIC-24", "MT02", "EXABYTE EXB-2501", "Exabyte EXB-2501 QIC", "EXB-2501", "EXABYTE EXB-4200", "Exabyte 4mm Helical Scan", "DAT", "EXABYTE EXB-4200c", "Exabyte 4mm Helical Scan", "Exa4200c", "EXABYTE EXB-8200", "Exabyte EXB-8200 8mm Helical Scan", "EXB-8200", "EXABYTE EXB-8500", "Exabyte EXB-8500 8mm Helical Scan", "EXB-8500", "EXABYTE EXB-8505", "Exabyte EXB-850x/8705 series 8mm", "EXB-8500", # Above 8505 entry used for models 8500, 8505, and 8705 Eliant "EXABYTE EXB8500C", "Exabyte 8500C 8mm Helical Scan", "Exa8500c", "EXABYTE EXB-8900", "Mammoth EXB-8900 8mm Helical Scan", "EXB-8900", "FUJITSU M1016B M2483B", "Fujitsu 1/2\" Cartridge", "Fujitsu_comp", "FUJITSU M248", "Fujitsu 1/2\" Cartridge", "Fujitsu_m248x", "HP 88780", "HP-88780 1/2\" Reel", "HP_half", "HP HP35470A", "HP 35470A 4mm DAT", "HP70", "HP HP35480A", "HP 35480A 4mm DAT", "DAT", "HP C1533A", "HP C1533A DDS2 4mm DAT", "DAT", "HP C1537A", "HP DDS3 DAT", "HPdds3", "HP C1553A ", "HP C1553A 4mm DAT", "DAT", "HP C1557A", "HP DDS-3 4mm DAT loader", "HPdds3", #NOTE: HP1557A Loader, 3rd party S/W needed to #select multi-volume tape cartridges. "HP T4000s", "HP Surestore T4", "HPT4", "IBM 03490", "IBM 3490E 1/2\" Cartridge", "IBM_3490", "IBM 9348", "STK 4220 1/2\" Cartridge", "C3490", "KENNEDY", "Kennedy 1/2\" Reel", "KENNEDY", "LMS", "CDC 1/2\" Cartridge", "LMS", "M4 DATA 123107 SCSI", "M4-Data 1/2\" Reel", "M4_DATA", "Metrum", "Metrum VHS Cartridge", "MetD", "Quantum DLT4000", "Quantum DLT4000", "DLT-data", "Quantum DLT7000", "Quantum DLT7000", "DLT7k-data", "R-BYTE RB100", "R-Byte Whozits", "DAT", "SEAGATE DAT 04106", "Seagate 4mm SCORPION DAT", "SEAGATE_DAT", "Seagate STT20000N", "Seagate Hornet NS20 Travan", "NS20", "SONY SDT-5000", "SONY 4mm DAT", "DAT", "SONY SDT-5200", "SONY 4mm DAT", "DAT", "SONY SDT-7000", "SONY DDS-2 4mm DAT", "DAT2", "SONY SDT-9000", "SONY DDS-3 4mm DAT", "DAT3", "STK 4280", "STK 4280 1/2\" Cartridge", "C3490", "STK 9490", "STK 9490 1/2\" Cartridge", "CLASS_3490", "STK", "STK 1/2\" Cartridge", "CLASS_3490", "SUN DLT4000", "DLT4000", "DLT-data", "SUN DLT4700", "DLT4700 Library", "DLT-data", "SUN DLT7000", "Sun DLT7000", "DLT7k-data", "TANDBERG 4100", "Tandberg 4100 QIC", "TANDBERG_4100_QIC", "TANDBERG 4200", "Tandberg 4200 QIC", "TANDBERG_4200_QIC", "TANDBERG SLR5 4/8GB", "Tandberg 4/8 Gig QIC", "TAND-8G-STD-VAR", "TANDBERG SLR5 ", "Tandberg 8 Gig QIC", "TAND-8G-SUN-VAR", "TANDBERGMLR1", "Tandberg MLR1 QIC", "TANDBERG_MLR1", "TANDBERGMLR3", "Tandberg 50 Gig QIC", "TAND-50G-VAR", "TECMAR TRAVAN NS8", "Tecmar NS8 Travan", "NS8", "TECMAR TRAVAN NS20", "Tecmar NS20 Travan", "NS20", "WangDAT Model 2600", "WangDAT 2600 4mm DAT", "WangDAT", "WangDAT Model 3400DX", "WangDAT 3400/3800 4mm DAT", "DXDAT", "WangDAT Model 2600", "WangDAT 2600 4mm DAT", "WangDAT", "WangDAT Model 3400DX", "WangDAT 3400/3800 4mm DAT", "DXDAT", "WangDAT Model 3400", "WangDAT 3400 4mm DAT", "WangDAT", "WangDAT", "Wang DAT 3.81 Helical Scan", "WangDAT", # Note on above WangDAT entries: The order of the entries is important # The driver will accept a partial string match and take the first # one it gets. That is why "WangDAT" must come later than # "WangDAT Model 3400". "WANGTEK 5150ES", "Wangtek QIC-150", "WANGTEK_QC150", "WANGTEK 5525ES SCSI", "Wangtek 525MB QIC", "WtQIC", "WANGTEK 6130-HS", "Wangtek 4mm Helical Scan", "WANGTEK_6130", "WANGTEK 51000 SCSI", "Wangtek 1.2GB QIC", "WtQIC"; # Wangtek 51000, 52000, and TS-420 Travan use the above entry # #----------------------------------------------------------------------- #CONFIGURATION STRINGS SECTION - # # ANRITSU = 1, 0x25, 0, 0x0041D, 4 ,0x00, 0x02 ,0x03, 0x03, 1; ARCH_Python = 1, 0x2C, 0, 0x0DE39, 4, 0x00, 0x8C, 0x8C, 0x8C, 3; ARCH_04106 = 1, 0x2C, 0, 0x09639, 4, 0x00, 0x8C, 0x8C, 0x8C, 3; Conner2-DAT = 1, 0x2C, 0, 0x0DE39, 4, 0x00, 0x00, 0x00, 0x00, 0; C3490 = 1, 0x24, 0, 0x1C43D, 4, 0x00, 0x00, 0x00, 0x01, 2; CLASS_3490 = 1, 0x24, 0, 0x1C43D, 4, 0x00, 0x00, 0x00, 0x00, 0; DAT = 1, 0x34, 0, 0x00439, 4, 0x00, 0x00, 0x00, 0x00, 0; DAT2 = 1, 0x34, 0, 0x01439, 4, 0x00, 0x00, 0x00, 0x00, 0; DAT3 = 1, 0x34, 0, 0x01439, 4, 0x00, 0x00, 0x00, 0x00, 0; #DLT = 1, 0x33, 0, 0x0D639, 4, 0x80, 0x81, 0x19, 0x18, 3; DLT = 1, 0x38, 0, 0x0D639, 4, 0x17, 0x18, 0x80, 0x81, 2; DLT-data = 1, 0x38, 0, 0x0D639, 4, 0x80, 0x81, 0x82, 0x83, 2; DLT7k-data = 1, 0x38, 0, 0x0D639, 4, 0x82, 0x83, 0x84, 0x85, 2; DXDAT = 1, 0x34, 0, 0x0D639, 4, 0x00, 0x00, 0x00, 0x00, 0; Exa4200c = 1, 0x34, 0, 0x01639, 4, 0x63, 0x00, 0x00, 0x00, 1; Exa8500c = 1, 0x29, 0, 0x0CE39, 4, 0x14, 0x15, 0x8C, 0x8C, 1; Exa8505 = 1, 0x29, 0, 0x0CE39, 4, 0x14, 0x15, 0x90, 0x8c, 1; EXB-2501 = 1, 0x28, 1024, 0x00442, 4, 0x00, 0x00, 0x00, 0x00, 0; EXB-8200 = 1, 0x28, 0, 0x08C79, 4, 0x00, 0x00, 0x00, 0x00, 0; EXB-8500 = 1, 0x29, 0, 0x0CE39, 4, 0x14, 0x15, 0x8C, 0x8C, 1; EXB-8900 = 1, 0x29, 0, 0x19E39, 4, 0x27, 0x27, 0x27, 0x27, 3; Fujitsu_comp = 1, 0x21, 0, 0x18639, 4, 0x00, 0x00, 0x00, 0x09, 1; Fujitsu_half = 1, 0x21, 0, 0x0063b, 1, 0x00, 0; Fujitsu_m248x = 1, 0x21, 0, 0x0C639, 4, 0x00, 0x00, 0x00, 0x00, 0; HP_half = 1, 0x23, 0, 0x0041D, 4, 0x01, 0x02, 0x03, 0xC3, 1; HP70 = 1, 0x34, 0, 0x01679, 4, 0x00, 0x00, 0x00, 0x00, 0; HPdds3 = 1, 0x34, 0, 0x0D639, 4, 0x00, 0x13, 0x24, 0x03, 3; HPT4 = 1, 0x32, 512, 0x0061A, 4, 0x45, 0x00, 0x00, 0x00, 0; IBM_3490 = 1, 0x24, 0, 0x1C43D, 4, 0x00, 0x00, 0x00, 0x00, 0; KENNEDY = 1, 0x22, 0, 0x0041D, 4, 0x01, 0x02, 0x03, 0x03, 1; LMS = 1, 0x20, 0, 0x0066B, 4, 0x00, 0x00, 0x00, 0x00, 0; M4_DATA = 1, 0x27, 0, 0x0049D, 4, 0x01, 0x02, 0x06, 0x06, 1; MT02 = 1, 0x14, 512, 0x00202, 4, 0x84, 0x05, 0x05, 0x05, 1; MetD = 1, 0x36, 0, 0x01639, 4, 0x00, 0x00, 0x00, 0x00, 0; NS8 = 1, 0x32, 512, 0x0C40A, 4, 0x00, 0x00, 0x00, 0x00, 0; NS20 = 1, 0x32, 512, 0x0C40A, 4, 0x00, 0x00, 0x00, 0x00, 0; QIC150 = 1, 0x15, 512, 0x00642, 4, 0x00, 0x00, 0x00, 0x00, 0; SEAGATE_DAT = 1, 0x2c, 0, 0x09639, 1, 0x00, 0; TANDBERG_4100_QIC = 1, 0x32, 512, 0x0463A, 4, 0x00, 0x00, 0x00, 0x00, 0; TANDBERG_4200_QIC = 1, 0x32, 512, 0x0463A, 4, 0x00, 0x00, 0x00, 0x00, 0; TAND-8G-SUN-VAR = 1, 0x37, 0, 0x0963B, 4, 0xA0, 0xD0, 0xD0, 0xD0, 3; TAND-8G-STD-VAR = 1, 0x37, 0, 0x0963B, 4, 0x22, 0x22, 0x26, 0x26, 3; TANDBERG_MLR1 = 1, 0x32, 512, 0x0463A, 4, 0x00, 0x00, 0x00, 0x00, 0; TAND-50G-VAR = 1, 0x37, 0, 0x0963B, 4, 0x30, 0x00, 0x00, 0x00, 0; WANGTEK_6130 = 1, 0x2A, 0, 0x00659, 4, 0x00, 0x00, 0x00, 0x00, 0; WANGTEK_QC150 = 1, 0x16, 512, 0x00642, 4, 0x00, 0x00, 0x00, 0x00, 0; WangDAT = 1, 0x34, 0, 0x00679, 4, 0x00, 0x00, 0x00, 0x00, 0; WtQIC = 1, 0x32, 512, 0x0C40A, 4, 0x00, 0x00, 0x00, 0x00, 0; WT_5525ES_QIC = 1, 0x32, 512, 0x0467a, 1, 0x00, 0; #--------------------------------------------------------------- name="st" class="scsi" target=0 lun=0; name="st" class="scsi" target=1 lun=0; name="st" class="scsi" target=2 lun=0; name="st" class="scsi" target=3 lun=0; name="st" class="scsi" target=4 lun=0; name="st" class="scsi" target=5 lun=0; name="st" class="scsi" target=6 lun=0; # # In case there are wide tape drives, one can use these targets # #name="st" class="scsi" target=8 lun=0; #name="st" class="scsi" target=9 lun=0; #name="st" class="scsi" target=10 lun=0; #name="st" class="scsi" target=11 lun=0; #name="st" class="scsi" target=12 lun=0; #name="st" class="scsi" target=13 lun=0; #name="st" class="scsi" target=14 lun=0; #name="st" class="scsi" target=15 lun=0; ========================================================================================================================== ÀÌÁ¦ ¹é¾÷ ¸í·É¾î¸¦ »ìÆ캸°Ú½À´Ï´ô... °¡Àå ¸¹ÀÌ »ç¿ëÇÏ´Â ¸í·É¾î´Â ufsdump ¸í·É¾î ÀÔ´Ï´Ù... ´ÙÀ½Àº ¿É¼ÇÀÔ´Ï´Ù.. 0-9 : ¹é¾÷·¹º§. ·¹º§0Àº Ç®¹é¾÷, 1~9´Â incrmental backupÀÌ´Ù. v : verity S : ¹é¾÷À» ¼öÇàÇÒ ¶§ ÇÊ¿äÇÑ Å×ÀÌÇÁÀÇ Å©±â¸¦ ¹ÙÀÌÆ® ´ÜÀ§·Î ÃßÁ¤ÇÏ¿© º¸¿©ÁØ´Ù. l : autoload o : offline u : ¹é¾÷ÇÏ´Â Á¤º¸¸¦ /etc/dumpdate ÆÄÀÏ¿¡ ±â·Ï n : ½Ã½ºÅÛ ±×·ì¿¡ ¼ÓÇÏ´Â ¸ðµç °èÁ¤¿¡°Ô ±×µéÀÇ Å͹̳ο¡ ufsdump ¸Þ¼¼Áö¸¦ º¸³½´Ù. À̶§ n ¿É¼ÇÀ» »ç¿ëÇÏÁö ¾ÊÀ¸¸ç ´ÜÁö ·Î±×ÀÎÇؼ­ ufsdump¸¦ »ç¿ëÇÏ°í ÀÖ´Â »ç¿ëÀÚµéÀÇ Å͹̳ο¡¸¸ ufsdump ¸Þ½ÃÁö¸¸ º¸¿©ÁÖ°Ô µÈ´Ù. f : /dev/rmt/0°ú °°ÀÌ µð¹ÙÀ̽º À̸§À» Á¤ÀÇÇÑ´Ù. c : Ä«Æ®¸®Áö Å×ÀÌÇÁ¿¡ ¹é¾÷ÇÑ´Ù. filesystem_name : ¹é¾÷À» ¿øÇÏ´Â ½Ã½ºÅÛÀÇ raw device¸í(/dev/rdsk/c#t#d#s$) ¶Ç´Â ÆÄÀÏ ½Ã½ºÅÛÀÇ ¸¶¿îÆ® Æ÷ÀÎÆ®(/export/home)¸¦ Á¤ÀÇÇÑ´Ù. ========================================================================================================================== # ufsdump S /export/home 1727571968 # ufsdump 0ucf /dev/rmt/0 -- Àüü ¹é¾÷ . . . # ufsrestore tf /dev/rmt/0 -- Àüü º¹±¸ . . . ========================================================================================================================== /etc/dumpdates ÆÄÀÏ¿¡´Â ¹é¾÷¿¡ ´ëÇÑ Á¤º¸°¡ ±â·ÏµÈ´Ù. ¹é¾÷ÀÇ Á¾·ùÁß °¡Àå °£´ÜÇÏ°í.....¶ÇÇÑ ¸¹ÀÌ ÇÏ´Â ¹é¾÷À» ¾Ë¾Æº¸¾Ò½À´Ï´Ù..±×·¯³ª ÀúÀåÀåÄ¡°¡ ³²¾Æµµ´Â °Íµµ ¾Æ´Ï°í.. ¸Ç³¯ Àüü ¹é¾÷¹Þ´Â °Íµµ ½Ã°£ÀÌ ¿À·¡ °É¸³´Ï´Ù... ±×·¡¼­ ½ºÄÉÁÙ¸µ ¹é¾÷µîÀ» ÇÏ°Ô µÇ´Âµ¥... ¹é¾÷ ¼öÇàÀÇ Áß¿äÇÑ °ÍÀº ¹é¾÷À» ¾ó¸¶³ª ÀÚÁÖÇÏ´À³ÄÀÇ °áÁ¤ÀÔ´Ï´Ù.. ÁÖÀÇÇÒ °ÍÀº ¸ðµç schedule ¹é¾÷ÀÇ ½ÃÀÛÀº full backup(level 0)ÀÌ°í, ¹é¾÷ ·¹º§Àº ÇöÀçÀÇ ¹é¾÷ ·¹º§º¸´Ù °¡Àå °¡±î¿î lower-level¹é¾÷ ÀÌÈÄ·Î º¯°æµÈ µ¥ÀÌŸ¸¦ ¹é¾÷ÇÏ´Â °ÍÀÔ´Ï´Ù.. À̱Ã......Å×ÀÌÇÁ µå¶óÀ̺갡¾øÀ¸´Ï...¹é¾÷µµ ¸øÇغ¸°Ú³»¿ä,,ÇæÇæ~ ¸¶¶¥È÷ ¶Ç ÀúÀå°ø°£ µµ ³²¾ÆÀÖÁö¸¦ ¾Ê¾Æ¼­¸®...ÂÁ.. ´ÙÀ½Àº ÆÄÀÏ ½Ã½ºÅÛÀÇ ¹é¾÷ÀÔ´Ï´Ù... /export/home À» ¹é¾÷ÇÏ´Â ¼ø¼­ÀÔ´Ï´Ù... ¹é¾÷°èȹÀ» ¼¼¿î´Ù. multi user¸ðµåÀÎ °æ¿ì µ¥ÀÌŸ º¯°æÀÌ ÀϾ ¼ö ÀÖÀ¸¹Ç·Î single user ¸ðµå·Î ÀüȯÇÑ´Ù. # shutdown -y -g30 ¹é¾÷¹ÞÀ» ÆÄÀÏ ½Ã½ºÅÛÀÇ ¾ð¸¶¿îÆ® # umount /export/home ÇØ´ç ÆÄÀϽýºÅÛÀ» fsck¸¦ ÀÌ¿ëÇؼ­ °Ë»çÈÄ, ÀÌ»óÀÖ´Ù¸é ¼öÁ¤ # fsck /export/home ¹é¾÷ ¼öÇà # ufsdump 0uf /dev/rmt/0 /export/home Âü°í·Î...¿ø°Ý ÆÄÀÏ ½Ã½ºÅÛÀÇ ¹é¾÷¹æ¹ýÀÔ´Ï´Ù.. ¸®¸ðÆ® ¹é¾÷À» Çϱâ À§Çؼ­´Â Å×ÀÌÇÁ µð¹ÙÀ̽º¸¦ °¡Áø ¸®¸ðÆ® ¼­¹ö¿¡ Á¢±Ù ±ÇÇÑÀ» ÀÎÁõÇÏ´Â /.rhosts ÆÄÀÏ¿¡ ·ÎÄà ½Ã½ºÅÛÀÌ µî·ÏµÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.... ¹æ¹ýÀº.. ufsdump option remote host_name:tapedevice filesystem ¿¹) # ufsdump 0ucf hostB:/dev/rmt/0 /export/home # ufsrestore tf hostB:/dev/rmt/0 ´ÙÀ½Àº º¹±¸ ¸í·Á¾îÀÎ ufsrestore ¸í·É¾î ÀÔ´Ï´Ù.. ¿É¼ÇÀº ´ÙÀ½°ú °°½À´Ï´Ù.. t : ¹é¾÷ Å×ÀÌÇÁÀÇ ¹é¾÷µÈ ¸®½ºÆ®¸¦ º¸°íÀÚ ÇÒ ¶§ »ç¿ë r : ¹é¾÷µÈ Àüü ³»¿ëÀ» º¹±¸ÇÒ °æ¿ì¿¡ »ç¿ë x : ƯÁ¤ ÆÄÀÏÀ» º¹±¸ÇÒ °æ¿ì¿¡ »ç¿ë i : interactive restore ¸¦ ¼öÇàÇÑ´Ù. v : º¹±¸µÇ´Â ÆÄÀϵéÀÇ °æ·Î¸íÀ» º¸¿©ÁØ´Ù.(verbose¸ðµå) f : Å×ÀÌÇÁ µð¹ÙÀ̽ºÀÇ À̸§À» Á¤ÀÇÇÑ´Ù. ÀÏ¹Ý ÆÄÀϽýºÅÛÀ» º¹±¸ÇÏ´Â ¿¹ÀÔ´Ï´Ù.. # newfs /dev/rdsk/c#t#d#s# # mount /dev/dsk/c#t#d#s# /mnt # cd /mnt # ufsrestore rvf /dev/rmt/0 #rm restoresystable # fsck /dev/rdsk/c#t#d#s# # ufsdump 0uf /dev/rmt/0 /dev/rdsk/c#d#s# ÀÌÁ¦ Çغ¼¼ö ÀÖ´Â °Í´úÀÔ´Ï´Ù...Ãß°¡ÀûÀÎ ¹é¾÷ ¸í·É¾îµéÀ» »ìÆ캸°Ú½À´Ï´Ù.. Å×ÀÌºí µå¶óÀ̺ê Á¦¾î ¸í·É¸¸ »©¸é Çغ¼¼ö ÀÖ´Â °Í´úÀÌÁÒ... ¸ÕÀú Å×ÀÌÇÁ µå¶óÀ̺긦 Á¦¾îÇÏ´Â ¸í·É¾îÀÎ mt ¿¡ ´ëÇؼ­ °£´ÜÈ÷ ¾Ë¾Æº¸°Ú½À´Ï´Ù.. ¿É¼ÇÀÌ -f°¡ Àִµ¥ ÀÌ°ÍÀº Å×ÀÌºí µðºñ¾Æ½º À̸§À» Á¤ÀÇÇÒ ¶§ »ç¿ëµÇ¸ç, ÀϹÝÀûÀ¸·Î no_rewind device file anmeÀÔ´Ï´Ù.. mt¸í·ÉÀº º¸Åë ´ÙÀ½°ú °°Àº ¸í·É°ú ÇÔ²² »ç¿ëµË´Ï´Ù.. status : Å×ÀÌÇÁ µå¶óÀ̺êÀÇ »óÅÂÁ¤º¸ rewind : Å×ÀÌÇÁ µÇ°¨±â fsf[count] : ÁÖ¾îÁø count ¸¸Å­ Å×ÀÌºí¸¦ ¾ÕÀ¸·Î °¨´Â´Ù. retention : Ä«Æ®¸®Áö Å×ÀÌºí¸¦ ¿ÏÀüÈ÷ ¾ÆÇÁ¿Ã °¨¾Ò´Ù°¡ ´Ù½Ã µÚ·Î ¿ÏÀüÈ÷ µÇ°¨¾Æ¼­ Å×À̺íÀÇ °¨°ÜÁ® ÀÖ´Â »óŸ¦ ºÎµå·´°Ô ÇØÁØ´Ù. erase : Å×ÀÌÇÁÀÇ ¸ðµç ³»¿ë »èÁ¦ eom : Å×À̺íÀÇ ¸¶Áö¸·À¸·Î À̵¿, appendÇÒ ¶§ »ç¿ë ´ÙÀ½À¸·Î »ìÆì º¼°ÍÀº ¾ÆÄ«ÀÌºê ¸í·É¾îÀÎ tarÀÔ´Ï´Ù... Å×ÀÌÇÁ µå¶óÀ̺꿡µµ ¾ÆÄ«À̺êÇÒ ¼ö Àִµ¥...ÀÌÁ¦ºÎÅÍ ³ª¿À´Â ¹é¾÷ ¸í·É¾îµéÀº °£´ÜÇÑ °ÍÀÌ´Ï Çغ¸°Ú½À´Ï´Ù... tarÀÇ ¿É¼ÇÀ» »ìÆ캸±¸...Á÷Á¢ Çغ¸Áö¿©.. c : ¸í·É¶óÀο¡¼­ Á¤ÀÇÇÑ ÆÄÀÏ À̸§À¸·Î »õ·ÎÀº tarfileÀ» »ý¼º t : tarfile ÀÇ ¹é¾÷µÈ ³»¿ëÀÇ ¸®½ºÆ®¸¦ º»´Ù. x : tarfile·ÎºÎÅÍ Á¤ÀÇµÈ ÆÄÀϵéÀ» extractÇÑ´Ù. À̶§ ÆÄÀÏÀ» ¸í½ÃÇÏÁö ¾ÊÀ¸¸é Àüü¸¦ extractÇÑ´Ù. f : µÚ¿¡ tarfileÀÇ À̸§À̳ª µð¹ÙÀ̽º À̸§À» ¸í½ÃÇÑ´Ù. v : verbose¸ðµå B : ºí·Ï´ÜÀ§·Î ÀÛ¾÷ÇÑ´Ù. p : Å×ÀÌÇÁÀÇ Æ۹̼ÇÀ¸·Î ÆÄÀϵéÀ» restoreÇÑ´Ù. u : tarfileÀ» ¾÷µ¥ÀÌÆ®ÇÑ´Ù. °°Àº ÆÄÀÏÀÌ ÀÖÀ¸¸é ÃֽŰÍÀ¸·Î º¯°æÇÑ´Ù. r : tarfileÀÇ Á¦ÀÏ ³¡ ºÎºÐÀÌ appendÇÑ´Ù. ========================================================================================================================== # tar cvf 20011201 /export/home/yasi a /export/home/yasi/ 0K a /export/home/yasi/.profile 1K a /export/home/yasi/sh_script 1K a /export/home/yasi/.cshrc 1K a /export/home/yasi/sample 1K a /export/home/yasi/script.csh 1K a /export/home/yasi/if1.csh 1K a /export/home/yasi/if2.csh 1K a /export/home/yasi/while.csh 1K a /export/home/yasi/foreach.csh 1K a /export/home/yasi/repeat.csh 1K a /export/home/yasi/switch.csh 1K a /export/home/yasi/ex.csh 1K a /export/home/yasi/sample.c 1K a /export/home/yasi/.dt/ 0K a /export/home/yasi/.dt/sessions/ 0K a /export/home/yasi/.dt/sessions/lastsession 1K a /export/home/yasi/.dt/sessions/dtperf 4K a /export/home/yasi/.dt/sessions/current/ 0K a /export/home/yasi/.dt/sessions/current/dt.session 1K a /export/home/yasi/.dt/sessions/current/dt.settings 1K a /export/home/yasi/.dt/sessions/current/dt.resources 1K a /export/home/yasi/.dt/sessions/dtwmfp.session 1K a /export/home/yasi/.dt/types/ 0K a /export/home/yasi/.dt/types/fp_dynamic/ 0K a /export/home/yasi/.dt/tmp/ 0K a /export/home/yasi/.dt/startlog 2K a /export/home/yasi/.dt/sessionlogs/ 0K a /export/home/yasi/.dt/sessionlogs/yasicom_DISPLAY=192.168.0.1:0 1K a /export/home/yasi/.dt/icons/ 0K a /export/home/yasi/.dt/appmanager/ 0K a /export/home/yasi/.dt/help/ 0K a /export/home/yasi/.dt/help/yasi-192.168.0.1-0/ 0K a /export/home/yasi/.dt/help/yasi-192.168.0.1-0/browser.hv 2K a /export/home/yasi/.dt/help/yasi-192.168.0.1-0/browser01.ht 8K a /export/home/yasi/.dt/help/yasi-192.168.0.1-0/browser00.ht 2K a /export/home/yasi/.dt/errorlog 0K a /export/home/yasi/.dt/errorlog.old 0K a /export/home/yasi/.dt/Trash/ 0K a /export/home/yasi/.dt/Trash/.trashinfo 0K a /export/home/yasi/.dt/Desktop/ 0K a /export/home/yasi/.dt/startlog.old 3K a /export/home/yasi/.dt/errorlog.older 7K a /export/home/yasi/.dt/startlog.older 5K file1¿¡ ´ëÇÑ a /export/home/yasi/file2 ½Éº¼¸¯ ¸µÅ© a /export/home/yasi/.dtprofile 5K a /export/home/yasi/.solregis/ 0K a /export/home/yasi/.solregis/disable 0K a /export/home/yasi/.solregis/uprops 1K a /export/home/yasi/a.out 6K a /export/home/yasi/.Xauthority 0K a /export/home/yasi/.TTauthority 0K # cp /export/home/20011201 /backup/yasi/20011201.tar # rm 20011201 # ls /backup/yasi 20011201.tar # tar t /backup/yasi/20011201.tar -- ¾ÆÄ«À̺ê ÇØÁ¦ tar: /dev/rmt/0: ÇØ´ç ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½ # tar xvf /backup/yasi/20011201.tar x /export/home/yasi, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.profile, 595 bytes, 2 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/sh_script, 35 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.cshrc, 152 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/sample, 15 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/script.csh, 87 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/if1.csh, 112 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/if2.csh, 156 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/while.csh, 81 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/foreach.csh, 80 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/repeat.csh, 26 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/switch.csh, 184 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/ex.csh, 96 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/sample.c, 54 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/lastsession, 20 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/dtperf, 3080 bytes, 7 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/current, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/current/dt.session, 95 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/current/dt.settings, 186 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/current/dt.resources, 802 bytes, 2 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessions/dtwmfp.session, 8 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/types, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/types/fp_dynamic, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/tmp, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/startlog, 1781 bytes, 4 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessionlogs, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/sessionlogs/yasicom_DISPLAY=192.168.0.1:0, 148 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/icons, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/appmanager, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/help, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/help/yasi-192.168.0.1-0, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/help/yasi-192.168.0.1-0/browser.hv, 1341 bytes, 3 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/help/yasi-192.168.0.1-0/browser01.ht, 7714 bytes, 16 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/help/yasi-192.168.0.1-0/browser00.ht, 1873 bytes, 4 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/errorlog, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/errorlog.old, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/Trash, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/Trash/.trashinfo, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/Desktop, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/startlog.old, 2744 bytes, 6 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/errorlog.older, 6265 bytes, 13 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.dt/startlog.older, 5014 bytes, 10 Å×ÀÌÇÁ ºí·Ï file1¿¡ ´ëÇÑ x /export/home/yasi/file2 ½Éº¼¸¯ ¸µÅ© x /export/home/yasi/.dtprofile, 5111 bytes, 10 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.solregis, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.solregis/disable, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.solregis/uprops, 105 bytes, 1 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/a.out, 5944 bytes, 12 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.Xauthority, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï x /export/home/yasi/.TTauthority, 0 bytes, 0 Å×ÀÌÇÁ ºí·Ï # ========================================================================================================================== ´ÙÀ½À¸·Î »ìÆ캼 °ÍÀº cpio(copy in/copy out) ¸í·É¾îÀÔ´Ï´Ù... ¿É¼ÇÀº ´ÙÀ½°ú °°½À´Ï´Ù.. i : Ç¥ÁØ ÀÔ·ÂÀ¸·Î Á¤À¸µÈ cpioÇü½ÄÀÇ ÆÄÀÏÀ» Àд´Ù. o : Ç¥ÁØ ÀÔ·ÂÀ¸·Î Á¤ÀÇµÈ ÆÄÀϸíÀÇ ¸®½ºÆ®¸¦ °¡Áö°í, ±× ÆÄÀϵéÀÇ ¹é¾÷À» Æ÷ÇÔÇÏ´Â cpioÇü½ÄÀÇ ÆÄÀÏÀ» »ý¼ºÇÑ´Ù. p : Ç¥ÁØ ÀÔ·ÂÀ¸·Î Á¤ÀÇµÈ ÆÄÀÏÀÇ À̸§ ¸®½ºÆ®¸¦ °¡Áö°í, ±×µéÀÇ ³»¿ëÀ» ¸í½ÃµÈ µð·ºÅ丮·Î º¹»çÇÑ´Ù. ÀÌ ¿É¼ÇÀº ÇϳªÀÇ µð½ºÅ©¿¡¼­ ´Ù¸¥ µð½ºÅ©·Î º¹»çÇÒ ¶§ »ç¿äµÈ´Ù. c : À̽ļºÀ» À§Çؼ­ ASCII-character ÇüÅ¿¡ Çì´õÁ¤º¸¸¦ Àϰųª ±â·ÏÇÑ´Ù. d : ÇÊ¿ä¿¡ µû¶ó¼­ µð·ºÅ丮¸¦ »ý¼ºÇÑ´Ù. ========================================================================================================================== # cd /export/home/yasi # ls | cpio -oc > /backup/yasi/20011201.cpio 32 ºí·Ï # ls /backup/yasi 20011201.cpio 20011201.tar # cpio -civt < /backup/yasi/20011201.cpio -- ÇØ´ç °æ·Î·ÎºÎÅÍ ¸®½ºÆ®¸¦ Àд´Ù. -rwxr-xr-x 1 yasi users 5944 12¿ù 1 01:03 2001, a.out -rw-r--r-- 1 yasi users 96 11¿ù 29 06:53 2001, ex.csh lrwxrwxrwx 1 yasi users 5 12¿ù 1 14:22 2001, file2 -> file1 -rw-r--r-- 1 yasi users 80 11¿ù 29 06:32 2001, foreach.csh -rw-r--r-- 1 yasi users 112 11¿ù 29 06:02 2001, if1.csh -rw-r--r-- 1 yasi users 156 11¿ù 29 06:08 2001, if2.csh -rw-r--r-- 1 yasi users 26 11¿ù 29 06:36 2001, repeat.csh -rwxrwxr-- 1 yasi users 15 11¿ù 29 05:03 2001, sample -rw-r--r-- 1 yasi users 54 12¿ù 1 00:53 2001, sample.c -rw-r--r-- 1 yasi users 87 11¿ù 29 05:32 2001, script.csh -rw-r--r-- 1 yasi users 35 11¿ù 29 04:19 2001, sh_script -rw-r--r-- 1 yasi users 184 11¿ù 29 06:43 2001, switch.csh -rw-r--r-- 1 yasi users 81 11¿ù 29 06:11 2001, while.csh 32 ºí·Ï # cpio -icvd < /backup/yasi/20011201.cpio -- ÆÄÀÏÀÌ °°Àºµ¥...¾î·µçÁö....ÀÌ·¸°Ô º¹±¸ÇÑ´Ù. cpio: ±âÁ¸ "a.out"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "ex.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "file2"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "foreach.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "if1.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "if2.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "repeat.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "sample"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "sample.c"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "script.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "sh_script"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "switch.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù cpio: ±âÁ¸ "while.csh"ÀÌ(°¡) °°°Å³ª ´õ ÃÖ½ÅÀÔ´Ï´Ù 32 ºí·Ï ¿À·ù 13°³ # ========================================================================================================================== ´ÙÀ½Àº dd¸í·É¾î ÀÔ´Ï´Ù.. ÀÌ ¸í·ÉÀº ´Ù¾çÇÑ ÇüÅÂÀÇ µ¥ÀÌŸ¸¦ º¹»çÇÏ°í ¹ÝȯÇÏ°í, ¸®¸ðÆ® Å×ÀÌÇÁ µå¶óÀ̺êÀÇ ³»¿ëÀ» extractÇÒ ¶§ »ç¿ëÇÕ´Ï´Ù.. º¸Åë ¸®´ª½º¿Í À©µµ¿ìÀÇ ¸ÖƼºÎÆÃÇÒ¶§ ¸Õ¼Ò¸°Áöµµ ¸ð¸£°Å Àú´Â »ç¿ëÇß¾ú½À´Ï´Ù...ÇæÇæ~ ¿É¼ÇÀº...´ÙÀ½°ú °°½À´Ï´Ù.. if=file : input ÆÄÀϸíÀ» ¸í½ÃÇÏ¸ç ±âº»°ªÀº standard inputÀÌ´Ù. of=file : oupputÆÄÀϸíÀ» ¸í½ÃÇÏ¸ç ±âº»°ªÀº standard outputÀÌ´Ù. bs=n : if¿Í ofÀÇ ºí·Ï Å©±â¸¦ ¼³Á¤ÇÏ¸ç ±âº»°ªÀº 512byteÀÌ´Ù. ========================================================================================================================== # cd /backup/yasi # ls 20011201.cpio 20011201.tar # dd if=/backup/yasi/20011201.tar of=/20011201.tar 161+0 ·¹ÄÚµå ÀÔ·Â 161+0 ·¹ÄÚµå Ãâ·Â # ls /20011201.tar /20011201.tar ========================================================================================================================== Âü°í... ·ÎÄýýºÅÛÀÇ ÇöÀç µð·ºÅ丮¿¡ ÀÖ´Â ¸ðµç ÆÄÀÏÀ» tar ¸í·ÉÀ¸·Î ¾ÆÄ«À̺êÇÑÈÄ, ¸®¸ðÆ® ½Ã½ºÅÛ hostB¿¡ ¿¬°áµÇ¾î ÀÖ´Â Å×ÀÌÇÁ µå¶óÀ̺ê /dev/rmt/0¿¡ º¹»çÇÏ´Â ¿¹ # tar cvf- * | rsh hostB dd or=/dev/rmt/0 obs=126b ¸®¸ðÆ® ½Ã½ºÅÛ¿¡ ¿¬°áµÇ¾î ÀÖ´Â Å×ÀÌÇÁ µå¶óÀ̺êÀÇ ³»¿ëÀ» ·ÎÄà ½Ã½ºÅÛÀÇ ÇöÀç µð·ºÅ丮¿¡ tar ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© exractÇÏ´Â ¿¹.. # rsh hostB dd if=/dev/rmt/0 | tar xvBpt - ¹é¾÷À» ÀÌ·¸°Ô ¸¶Ä¨´Ï´Ù.. ¸ðÀÚ¶õ ºÎºÐÀº ´Ù¸¥ ¹®¼­¸¦ Âü°íÇϽñ⠹ٶø´Ï´Ù..