Hi,
I have a DB on oracle on Windows Server 2003. How do I export it with all the data and put it into other Windows server?
Hi,
I have a DB on oracle on Windows Server 2003. How do I export it with all the data and put it into other Windows server?
You can use Oracle Data Pump to export and import database. Quote from documentation:
Oracle Data Pump is a feature of Oracle Database 11g Release 2 that enables very fast bulk data and metadata movement between Oracle databases.
Procedure is like this:
expdp
utilityimpdp
utilityCheck this link: Oracle Data Pump. There you will find complete documentation and examples how to use this utility.
Use RMAN to take a full backup. Then restore it on the new server.
If you are wanting to create an exact copy of an existing database on a new sever of the same operating system (though not necessarily the same O/S version) and the same Oracle version, the quickest and least problematic method is to just copy the database files. This is often referred to as database cloning, and it is a common method DBAs use to setup development and test databases that are intended to be exact duplicates of production databases.
oradim -new -sid yourdbsid -startmode automatic
This is a general overview of the process, but it should help you get the job done quickly and easily. The problem with other tools is the need to create an empty database on the target server before loading the data by whatever means. If the target server has a different version of Oracle, it will be necessary to run data dictionary scripts to upgrade or downgrade the database. (Note: A downgrade may not always be possible.) If the new server has a different O/S, then the above procedure would require additional steps that would significantly increase its complexity.
It also possible to duplicate a database using RMAN. Google the words "clone oracle database using rman" to get some good sites on how this is done using that tool. If you are not already using RMAN, the procedure I have described above would probably be the way to go.
Kind regards, Opus