Meaningless Drivel is fun!*
The moose likes Oracle/OAS and the fly likes Migrating the test data to dev environment in Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Migrating the test data to dev environment in Oracle" Watch "Migrating the test data to dev environment in Oracle" New topic
Author

Migrating the test data to dev environment in Oracle

Shruti Sharma
Ranch Hand

Joined: Mar 25, 2010
Posts: 55
Hello,

I have some oracle data in test environment. My workspace connects to the test data. I would like to create a copy of the test data and migrate that copy to the local system so that I may be able to use it for my development work and do not hit the test environment directly. Being a java developer, I do not have much idea on who how to migrate data from one environment to another. Can someone please give some guidance on how to do it? Will I have to writ some scripts for doing the migration and then populate the local database?

Thank you,
-Shruti
Fatih Keles
Ranch Hand

Joined: Sep 01, 2005
Posts: 182
Hi Shruti,

Cloning a database is one thing that a dba is responsible for. The easiest way is using export/import tool.
These will help you to start:
PSOUG - Export
Ora FAQ - Export/Import

Regards,

Fatih.
Shruti Sharma
Ranch Hand

Joined: Mar 25, 2010
Posts: 55
Thank you, Fatih! Import/Export can be done but doing that is time consuming and a lot of pain. Can we have some triggers or ant build scripts for that?
mukesh nair
Greenhorn

Joined: Nov 23, 2008
Posts: 7
if possible download Oracle express database in your local system first
and install it
then download Sqldeveloper from oracle site
in that you have option to migrate data between two database ie from test to oracle xe
create a schema and name it as your test database then migrate using the Sqldeveloper
it s better you prepare a list of just the essentials you want and then select it in migration wizard
its easy but do it when no one is using the test db
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Migrating the test data to dev environment in Oracle
 
Similar Threads
JDBC - Connection Refused Error. Connecting (trying) to Oracle DB.
RMI in fbn assignement
calling stored procedure in oracle which returns a table
Testing Web Services
Syncing test data with the local data