Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migrating the test data to dev environment in Oracle

 
Shruti Sharma
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic