Hello
We had problem to restore an SAP Oracle
Database(had no offline arcive logs). So according » http://oracleracdba1.wordpress.com/2012/11/27/ora-01195-online-backup-of-file-1-needs-more-recovery-to-be-consistent/«
we started
We exported the content of database via this
way
SQL> create or replace directory OL1_DUMP
as '/oracle/OL1/sapdata1/OL1_DUMP';
Directory created.
SQL>
Dumping of db was then run this way
server:oraol1 56> expdp
sys/sys@OL1 full=Y directory=OL1_DUMP dumpfile=OL1.dmp logfile=expdpOL1.log
compression=METADATA_ONLY
Now I guess I should drop the db and
create the new one. How to do that? Has anyone some script to be run on
sqlplus?
Then import should run like this?
“server:oraol1 56> impdp sys/sys@OL1 full=Y directory=OL1_DUMP dumpfile=OL1.dmp logfile=expdpOL1.log compression=METADATA_ONLY
The structure of existing db is a little
different as the new ones. Eg. tablespaces are PSAPOL1, PSAPTEMP, PSAPOL146C,
PSAPOL1700, PSAPOL1USR, PSAPUNDU, SYSAUX, SYSTEM
Thank you in advance
Jan