You are on page 1of 1

expdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.

dmp
logfile=expdpSCOTT.log
impdb bims/bims file=F:bims.dmp owner=bims

impdb bims/bims file=C:\Users\umar\Downloads\refund_live_bkup.dmp owner=DB_REFUND

impdp DB_REFUND/REFUND$123 schemas=db_refund directory=db_bkup


dumpfile=REFUND_DB_BKUP.DMP

expdb DB_REFUND/REFUND$123 file=C:\Users\umar\Downloads\refund_live_bkup.dmp


owner=DB_REFUND

Desktop
db_bkup
imp DB_REFUND/REFUND$123 FROMUSER=DB_REFUND TOUSER=DB_REFUND
file=REFUND_DB_BKUP.DMP full=yes

expdp DB_REFUND/REFUND$123 full=Y


dumpfile=C:\Users\umar\Downloads\test\refund_live_bkup.dmp
logfile=C:\Users\umar\Downloads\test\refund_live_bkup.log

expdp DB_REFUND/REFUND$123 schemas=db_refund


DB_REFUNDDUMPFILE=refund_db_bkup.dmp

DROP TABLESPACE tbs_perm_03


INCLUDING CONTENTS KEEP DATAFILES;

DROP USER WORKSHOP CASCADE;

CREATE TABLESPACE bims


DATAFILE 'bims.dat'
SIZE 30M
AUTOEXTEND ON NEXT 10;

CREATE USER bims


IDENTIFIED BY bims
DEFAULT TABLESPACE bims
TEMPORARY TABLESPACE TEMP;

GRANT connect, resource, dba TO bims;

grant unlimited tablespace to bims;

You might also like