Solved

perl script for export/import Oracle database

Posted on 2010-08-12
3
597 Views
Last Modified: 2012-05-10
HI,
I am new for perl scripting.
I need a sample  perl script to export  two Oracle schemas  from one server  and  import  both schemas to another server.
Advance Thanks.

subbu
0
Comment
Question by:Subramanyeswara
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Suhas .
ID: 33426827
0
 
LVL 2

Author Comment

by:Subramanyeswara
ID: 33429242

I know, How to use export and import commands in oracle. I need perl script todo export and import.
0
 
LVL 2

Accepted Solution

by:
Subramanyeswara earned 0 total points
ID: 33432864
Thanks Suhasbharadwaj

I got solution:

print `exp system/$passwd\@$instance BUFFER=40960 file=$file_loc\file.dmp owner=$schema consistent=y log= $file_loc\exp.log`;
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question