Solved

perl script for export/import Oracle database

Posted on 2010-08-12
3
606 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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 …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…

749 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