I installed Oracle 11g XE in Windows 7 x64, then Windows 8.1 (install new OS, not perform an upgrade of the previously Windows 7 x64 installation). Can be possible to install Oracle 11g XE over the existing directory to use the database that was created with Windows 7 like Postgres do when the Data Directory exists?
Oracle 11g XE – How to Install and Use Data Files from Another Instance
installationoracle-11goracle-xe
Related Question
- Oracle 11g install on Debian Wheezy does not start
- PostgreSQL Upgrade – How to Perform a Minor Upgrade on Windows (e.g., 9.3.0 to 9.3.1)?
- Firebird 2.5 on Windows 8.1 – Can’t Connect to Any Database
- Oracle XE – Installation Process Overview
- How to import data into oracle 11g r2 using a `.dmp` file and a `.par` file
- Oracle 11g XE vs 18c XE – Differences and Usage Comparison
- Oracle 11g R2 – Command Line Installation Parameters
Best Answer
I see no reason you can't do this.
Typically, you would perform the following steps.
*.dbf
files found in%ORACLE_BASE%\oradata\
to a safe place.%ORACLE_BASE%\fast_recovery_area\
to a safe place.%ORACLE_HOME%\database\spfileXE.ora
to a safe place.oracle-xe configure
command.You would also need to make sure that you specified the same settings during installation as you used with your previous database (
ORACLE_HOME
,ORACLE_SID
, listener port etc.), otherwise your instance won't start. Ideally I would recommend you doing silent installation with response files (described in Oracle Database Express Edition Installation Guide for Microsoft Windows). This would ensure that you've used the same settings across operating system upgrades/reinstall.