Oracle Error ORA-38748: cannot flashback data file string – file is in use or recovery

Oracle Error Message

ORA-38748: cannot flashback data file string – file is in use or recovery

Reason for the Error

An attempt to do FLASHBACK DATABASE found that the file was not available for recovery. Either it was online and the database was open in some instance, or another process was currently doing media recovery or flashback on the file.

Solution

Do not do FLASHBACK DATABASE.