I'm in an urgent need of restoring a backup dump taken three weeks ago which was not completed successfully. I'm using Oracle 11g database in nonarchive log mode. The export command used was as follows.
expdp "sys/********@TEST AS SYSDBA" DUMPFILE=Backup_01022017.dmp LOGFILE=BakupLog_01022017.log FULL=y
The backup log shows that the process terminated with the following error.
ORA-39097: Data Pump job encountered unexpected error -1089
ORA-39065: unexpected master process exception in MAIN
ORA-01089: immediate shutdown in progress - no operations are permitted
But, fortunately the necessary tables are seen as exported. Are there any ways by which I can restore these tables or can I import these tables?
Best Answer
It depends, lets test it.
Export process has started and I tried to shut the database down in a separate session.
And I noticed the following error in the export log.
Now I tried to import one of the tables which was exported.
And it succeeded.
But sometimes you may end up with the following errors.
Conclusion: You can restore exported tables as far as the dump file contains the export job's master table - a table which is created during the startup of export process to keep the location of database objects within a dump file. You could see that master table called
SYS_IMPORT_TABLE_01
is loaded before importing the table specified at the starting line ofimpdp
log in the above section.