1. 이전서버 데이타를 Export. old-svr> exp test/test_pw OWNER=test FILE=test.dmp LOG=test.log 2. 신규 서버에서 이전 서버와 같은 유저가 있다면 삭제한다. new-svr> sqlplus / as sysdba SQL> drop user test cascade; 3. 신규 서버에 유저를 작성한다. new-svr> sqlplus / as sysdba SQL> create user test identified by testpw quota unlimited on system;SQL> grant connect, resource, dba to test; 4. 신규서버에 데이터를 import한다. new-svr> imp test/test_pw FROMUSER=..
[ORACLE] 오라클 DB 이전 (exp/imp)
1. 이전서버 데이타를 Export. old-svr> exp test/test_pw OWNER=test FILE=test.dmp LOG=test.log 2. 신규 서버에서 이전 서버와 같은 유저가 있다면 삭제한다. new-svr> sqlplus / as sysdba SQL> drop user test cascade; 3. 신규 서버에 유저를 작성한다. new-svr> sqlplus / as sysdba SQL> create user test identified by testpw quota unlimited on system;SQL> grant connect, resource, dba to test; 4. 신규서버에 데이터를 import한다. new-svr> imp test/test_pw FROMUSER=..
2014.01.14