Extract Metadata from Oracle Full Dump with IMPDP
Let's see how we can restore a procedure,function or any metadata from a backup of our METADATA made with EXPDP using IMPDP.
First find your DATA_PUMP_DIR
Now let's backup our metadata using the expdp tool
This commnad will create a dump file containing all your metadata in the DATA_PUMP_DIR location
Now let's find our metadata dump.
Now let's use the IMPDP command to import all metadata into a .sql file
Now you can retrieve the metadata from your metadata.sql generated file.
This can be used when you loose or overwrite some database objects.