1. Full ๋ฐฑ์ (Full Level)
1) Export ( ์ค๋ผํด DB ์ ์ฒด๊ฐ ๋ฐฑ์ ๋๋ค. ๋ชจ๋ ํ ์ด๋ธ ์คํ์ด์ค, ์ฌ์ฉ์, ๊ฐ์ฒด, ๋ฐ์ดํฐ๋ค ํฌํจ )
[oracle@MyServer ~]$ exp userid=system/manager statistics=none file='./full.dmp' full=y |
2) Import
[oracle@MyServer ~]$ imp userid=system/system statistics=none file='./full.dmp' full=y |
3) Import ์ ์ฃผ์์ฌํญ
๊ธฐ์กด DB์์ export ๋น์์ ๋์ผํ SID๋ฅผ ๊ฐ์ง๋ DB๊ฐ ์กด์ฌํด์ผ ํ๋ค.
๊ทธ๋ ์ง ์์๊ฒฝ์ฐ import ์ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ค.
2. ์ฌ์ฉ์๋จ์ ๋ฐฑ์ (User Level)
1) Export ( ์ฌ์ฉ์๊ฐ ์์ ํ๊ณ ์๋ ๊ฐ์ฒด, ๋ฐ์ดํฐ๋ค ํฌํจ )
[oracle@MyServer ~]$ exp userid=scott/tiger statistics=none file='./scott.dmp' |
2) Import
[oracle@MyServer ~]$ imp userid=system/manager owner=scott statistics=none file='./scott.dmp' |
3) Import ์ ์ฃผ์์ฌํญ
์ด๊ดํ๋ ค๋ ์๋ฒ๋ ๊ธฐ์กด DB์ ๋์ผํ ์ฌ์ฉ์ ๊ณ์ ์ด ์์ฑ์ด ๋์ด ์์ด์ผ ํ๋ฉฐ, TableSapce๊ฐ ์์ด์ผ ํ๋ค.
SID๋ ๋ฌ๋ผ๋ ์๊ด์๋ค.
4) Import ์ ์ฐจ.
- DB ์์ฑ
- TableSpace ์์ฑ
- ๊ณ์ ์์ฑ ๋ฐ TableSpace ์ ๊ทผ ๊ถํ ์ถ๊ฐ.
- imp ๋ช ๋ น์ด๋ฅผ ํตํ ๋ฐ์ดํฐ import
# exp, imp๋ช ๋ น์ด์ ์ต์ ์ ๋ํด์ ์๊ณ ์ถ์ผ๋ฉด ์๋์ ๊ฐ์ ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค.
[oracle@MyServer ~]$ imp help=y |
'๐ป Programming > Oracle 11g' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์ค๋ผํด/oracle] EXP-00091 Exporting questionable statistics (0) | 2015.04.20 |
---|---|
[์ค๋ผํด/oracle] ๊ณ์ ์์ฑ/์ญ์ , ๊ถํ, ํ ์ด๋ธ์คํ์ด์ค ์ง์ (0) | 2015.04.20 |
[์ค๋ผํด/oracle] ํน์ ์ฌ์ฉ์(์ ์ ) ์์ ์ ํ ์ด๋ธ ์กฐํ (0) | 2015.04.20 |
getString not implemented for class oracle.jdbc.driver.T4CBlobAccessor (0) | 2015.04.20 |
ORA-00917: ๋๋ฝ๋ ์ฝค๋ง (0) | 2015.04.20 |