Oracle dump import

importoracleoracle-11g

After a system failure I bought a new server and now I'm trying to recreate the Oracle database I had.

I have a dump file which was made with the command exp and full=y. Can I restore the full database from this dump? If yes, how?

Oracle 11g on Windows server 2003.

Best Answer

It seems you used the old import utility (with 11g you should use the DataPump), then:

imp "/ as sysdba" file=<dumpfile> log=<logfile> full=y

If I remember well, old export utility in 11g doesn't save empty table, due the "deferred segment creation". Make a check after the import.