I have backup of oracle database size is almost 40 GB.This 40GB database backup contains lots of data that I don't care about. I just wanted to restore DB objects like tables structure, procedures, functions, triggers etc.
limitation: I have only Oracle 11G Express Edition(Free) which has limitation of only 10 GB.
is there any way to restore db objects from database backups?
Best Answer
In case of
expdp/impdp
backupThis will import only the DB objects, but no data. Should you require some data, you can get them for example on table, tablespace, or schema level:
In case of
exp/imp
backupYou can try partially importing the tables or tablespaces (syntax same as with impdp):
In case of
rman
backupFrom this answer on partial restore from RMAN backup:
So if you are lucky, and can get by with restoring a tablespace, it might work if there are different tablespaces in the backup and the one you need fits into the 10GB limit.
Using Oracle 11g EE
If you have access to a full Oracle 11g (beware, the development license prohibits using it for internal data processing), just import the full DB, and do a selective export if none of the above is successful.