Oracle Backup Metadata Only with Expdp
Let's see how we can backup our METADATA with EXPDP.
First find your DATA_PUMP_DIR
This is the place where the dump file will be stored.
Now let's backup our metadata using the expdp tool
This command will create a dump file containing all your metadata in the DATA_PUMP_DIR location
Now you can create crontab job under your Oracle user to execute the Metadata export daily.
See here example on how to crete this crontab job that will run 00:30 every day(make sure you put them all on one line when creating the crontab job):
Make sure you setup the correct ORACLE_HOME and ORACLE_SID