블로그 이미지
LifeisSimple

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

Notice

2011. 11. 26. 23:49 Brain Trainning/DataBase
오라클 덤프 생성 방법 예시)

Backup & Restore 방법

Command 창에서 Export  Import 툴을 사용해서 백업과 Restore 하면 됩니다. 
원하는 테이블만 할 수도 .. 해당 계정에 관련된 것들을 Full 로 작업할 수도 있습니다. 

아래는 예시입니다.

테스트는 Oracle 11g 에서 수행했습니다. 

 
exp userid/password tables=(tbl_a, tbl_b, tbl_c) file=d:\dump_file.dmp

하위버전 호환성을 위한 EXPDP 도 있습니다. 

D:\>expdp user/password tables=(dtxgma, dtxgmb, dtxgmc, dtxgmd, dtxgme) dumpfil
e=mmis_dump_20120224.dmp logfile=mmis.log version=10.2 content=data_only
posted by LifeisSimple