|
¿À¶óŬ ¹é¾÷¸í·É¾îÀÎ imp/exp¿¡ ´ëÇÑ °£´ÜÇÑ ¿¹ÀÔ´Ï´Ù.
1. ¹é¾÷
[root@web jeous]# exp
Export: Release 8.0.5.1.0 - Production on È Sep 18 11:41:26 2001
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Username: leona/leona ( »ç¿ëÀÚ ¾îÄ«¿îÆ® ¹× Æнº¿öµå )
Connected to: Oracle8 Release 8.0.5.1.0 - Production
PL/SQL Release 8.0.5.1.0 - Production
Enter array fetch buffer size: 4096 > ( ¹öÆÛ »çÀÌÁî )
Export file: expdat.dmp > ( ÀúÀåµÉ ¹ÙÀ̳ʸ® ÆÄÀϸíÀÇ ÁöÁ¤ )
(1)E(ntire database), (2)U(sers), or (3)T(ables): (2)U > t ( Å×À̺í´ÜÀ§·Î ȤÀº À¯Àú ´ÜÀ§·Î ¹é¾÷ÇÒÁöÀÇ ¿©ºÎ )
Export table data (yes/no): yes > ( noÇÒ °æ¿ì ½ºÅ°¸¶¸¸ ¹é¾÷ÇÔ. )
Compress extents (yes/no): yes > ( ¾ÐÃà Çã¿ë ¿©ºÎ )
Export done in KO16KSC5601 character set and JA16SJISFIXED NCHAR character set
About to export specified tables via Conventional Path ...
Table(T) or Partition(T:P) to be exported: (RETURN to quit) > test2 ( Å×À̺í¸í ÁöÁ¤ )
. . exporting table TEST2 3 rows exported
Table(T) or Partition(T:P) to be exported: (RETURN to quit) >
Export terminated successfully without warnings.
[root@web jeous]#
2. º¹±¸
[root@web jeous]# imp
Import: Release 8.0.5.1.0 - Production on È Sep 18 11:36:26 2001
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Username: leona/leona ( »ç¿ëÀÚ ¾îÄ«¿îÆ® ¹× Æнº¿öµå )
Connected to: Oracle8 Release 8.0.5.1.0 - Production
PL/SQL Release 8.0.5.1.0 - Production
Import file: expdat.dmp > exp1.dmp (exp1.dmp ÆÄÀϸíÀ» ÁöÁ¤ÇÑ °æ¿ì)
Enter insert buffer size (minimum is 4096) 30720> ( »çÀÌÁî°¡ Ŭ¼ö·Ï ¼öÇà¼Óµµ »¡¶óÁü )
Export file created by EXPORT:V08.00.05 via conventional path
List contents of import file only (yes/no): no > ( º¹±¸µÇ¾îÁö´Â ³»¿ëÀ» º¸°Ú´Â°¡? )
Ignore create error due to object existence (yes/no): no > ( ¼öÇà½ÃÀÇ ¿¡·¯¸¦ º¸°Ú´Â°¡? )
Import grants (yes/no): yes > (»ç¿ëÀÚ°¡ °¡Áö°í ÀÖ´Â ±ÇÇѱîÁö ´Ù½Ã »ý¼ºÇÒÁö ¿©ºÎ)
Import table data (yes/no): yes > yes (Å×À̺íÀ» ¸¸µé°í ³ª¼ Å×ÀÌÅ͸¦ ÀúÀåÇÒ °ÍÀÎÁöÀÇ ¿©ºÎ)
Import entire export file (yes/no): no > yes (¹é¾÷ ÆÄÀϳ»ÀÇ ¸ðµç µ¥ÀÌÅ͸¦ ´Ù½Ã ÀúÀåÇÏ°í ½ÍÀ»¶§ yes)
. importing DEVELOPER's objects into DEVELOPER
. . importing table "TEST2" 3 rows imported
Import terminated successfully without warnings.
[root@web jeous]#
*ÁÖÀÇ
Å×ÀÌºí ¹é¾÷ ½Ã¿¡´Â °°Àº Å×À̺íÀÌ Á¸ÀçÇϸé imp ½ÇÇà½Ã ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.
#### user µ¥ÀÌÅÍ ¹é¾÷ÀÇ ¿¹
exp¿¹:
# exp userid=nanu/passwd file=/home/oraback/nanu041701.dmp` owner=nanu consistent=n
(consistent=n -> Å×ÀÌºí ´ÜÀ§·Î Àбâ ÀÏ°ü¼º º¸Àå)
imp¿¹:
# imp nanune/passwd full=n grants=y rows=y commit=y fromuser=nanu touser=nanu file=nanu041701.dmp ignore=n
(ignore=n -> object°¡ ÀÌ¹Ì Á¸ÀçÇÒ¶§ error¸¦ Ãâ·ÂÇÔ)
|