Hi,
Sometimes You can get “ORA-38785: Media recovery must be enabled for guaranteed restore point. ” error.
Details of error are as follows.
ORA-38785: Media recovery must be enabled for guaranteed restore point.
Cause: Media recovery is not enabled. Media recovery must be enabled in order to create a guaranteed restore point.
Action: Turn on media recovery with an ALTER DATABASE ARCHIVELOG statement and then retry the command.
This error is related with noarchivelog mode.
Turn on Archivelog as follows.
SHUTDOWN IMMEDIATE STARTUP MOUNT ALTER DATABASE ARCHIVELOG;
You can read the following post to learn detailed what is the Archivelog mode.
Oracle Database Enable Archivelog Mode and Archivelog Deletion and Generation Frequency
Do you want to learn Oracle Database for Beginners, then read the following articles.
https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/