How to Restore an Oracle Dump Using Imp Command
The following steps will guide us in the restoration of an oracle dump file. connect as system and enter your password sqplus system@xe ...
https://www.czetsuyatech.com/2021/07/oracle-restore-dump-using-imp.html
The following steps will guide us in the restoration of an oracle dump file.
- connect as system and enter your password
- create user
- grant roles
- create permanent table space
- import the dump file
sqplus system@xe
create user TEST_USER identified by password;
grant CREATE SESSION, ALTER SESSION, CREATE DATABASE LINK, - CREATE MATERIALIZED VIEW, CREATE PROCEDURE, CREATE PUBLIC SYNONYM, - CREATE ROLE, CREATE SEQUENCE, CREATE SYNONYM, CREATE TABLE, - CREATE TRIGGER, CREATE TYPE, CREATE VIEW, UNLIMITED TABLESPACE - to TEST_USER;
CREATE TABLESPACE testuser DATAFILE 'testuser.dat' SIZE 20M AUTOEXTEND ON;
imp system/password@xe file=d:\testuser.dmp fromuser=TEST_USER touser=TEST_USER log=d:\test_user_import.log
Post a Comment