Recreating Directories path after backup & restoration from One DB server to another DB server
Hello All,
I restored a 19c database from one DB server to another DB server. In the source the Oracle Home is /u01/app/oracle/product/19c/dbhome_1 and in the target the Oracle Home is /u01/app/oracle/product/19.0.0/dbhome_1.
After restoration, I need to update the Directories path as most of the directories DATA_PUMP_DIR, ORACLE_HOME and so on are showing the source path with 19c which isn't correct.
export using expdp is also failing but I dont know if it is due to the path problem.
Can I go ahead and recreate the all the directories using "CREATE OR REPLACE DIRECTORY DATA_PUMP_DIR as " with the correct path in SQL*Plus.