Welcome to the Oracle community forum, and interact with 2 million technical staff to go to Oracle reinstallation and data recovery solutions. Cause: there are various problems with the Oracle database used for development, and it may be difficult to adjust it. Reinstallation, but you want to keep the data file. Solution: 1. Back up the original oradata folder, including data files, control files, and redolog files.
Welcome to the Oracle community forum, and interact with 2 million technical staff> go to Oracle reinstallation and data recovery to solve the problem: there are various problems with the Oracle database used for development. Reinstallation, but you want to keep the data file. Solution: 1. Back up the original oradata folder, including data files, control files, and redo log files.
Welcome to the Oracle community forum and interact with 2 million technical staff> enter
Oracle data restoration Solution
Cause:
An error occurred while using the Oracle database for development.
Various problems cannot be solved. Reinstallation, but you want to keep the data file.
Solution:
1. Back up the original oradata folder, including data files, control files, and redo log files. The backup is oradata_bak.
2. Uninstall the original database
3. Install the new database. Note that the database parameters must be the same as those originally installed, such as the Oracle sid and data file storage location. Otherwise, you need to change many configurations.
4. Shut down the database and run the shutdown command.
5. copy the files under oradata_bak to the new oradata folder.
6. startup
Note:Restart the em service if you want to access em.