백업

#!/bin/sh

dat=`date +%Y%m%d%H%M`
/app/oracle/product/920/bin/exp userid/passwd file=/user/userid/backup/oracle_$dat.dmp

복구

FULL 백업을 한경우

user와 tablespace정보까지 함께 백업이 되므로

import할때 특별한 방법이 필요하다.

오라클관리자

1. drop user scott cascade;

2. create user scott identified by tiger

default tablespace scott_tablespace

temporary tablespace temp;

3. grant connect , resource to scott

4. imp scott/tiger file=aaa.dmp



+ Recent posts