Home » RDBMS Server » Backup & Recovery » ...as in DB2
...as in DB2 [message #167517] Thu, 13 April 2006 08:22 Go to next message
theo06
Messages: 29
Registered: February 2006
Junior Member
Hi,

I am just looking for
  1. a chance to create a backup of an oracle 9i database like in IBM DB2 8.2.
  2. a chance to restore the created backup in another oracle 9i database like it is in DB2


The reason for that is, that i would like get an exact copy of an database to use this copy for testing.
Can you tell me how I can realize that?

Thank you for your help!
Re: ...as in DB2 [message #167788 is a reply to message #167517] Mon, 17 April 2006 01:58 Go to previous messageGo to next message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member

Can you make it more clear?? I mean do you want to copy a database from DB2 to Oracle or from one Oracle instance to another.
Re: ...as in DB2 [message #167812 is a reply to message #167788] Mon, 17 April 2006 04:26 Go to previous messageGo to next message
theo06
Messages: 29
Registered: February 2006
Junior Member
I would like to copy a database from one Oracle instance to another.
Re: ...as in DB2 [message #167817 is a reply to message #167812] Mon, 17 April 2006 04:49 Go to previous messageGo to next message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member

It's called "cloning/copying of an Oracle database".
You can google the above and you will get some real good links for that.

Post back if you have any problem.
Re: ...as in DB2 [message #168665 is a reply to message #167817] Fri, 21 April 2006 09:14 Go to previous messageGo to next message
theo06
Messages: 29
Registered: February 2006
Junior Member
Thank you for that hint. But by now I have another question. In the Propagate-Dialog in OEM I can choose a lot of things from the source db. Which of these do I realy need, if I want to get an exact copy of an existing database?
The problem I encountred was that it seems to use a lot of time when I choose all... (Profile, Users, Roles, Tablespaces, Rollback-Segments and Schemaobjects).
Could you tell me what I realy need to copy?
Re: ...as in DB2 [message #169242 is a reply to message #167517] Tue, 25 April 2006 21:44 Go to previous message
alexzeng
Messages: 133
Registered: August 2005
Location: alexzeng.wordpress.com
Senior Member
I think the best way to get an exactly copy of oracle is using "cold backup" if you can shutdown the db. Following these steps:
1.shutdown the db you want to copy
2.copy all datafiles, controlfiles, redo logs, spfile/pfile to the dest machine with the same directories.
3.setup the environment in the dest environment, including create passwd filed and service(windows only)
4.startup dest db

"Hot backup" and rman are also good choice if you don't want to shutdown the db.

ALex zeng | Skype me: hans9zeng
Previous Topic: Does EXP include all basic....
Next Topic: EXP-00056: ORACLE error 932 encountered
Goto Forum:
  


Current Time: Sun Nov 24 10:44:49 CST 2024