Solved

perl script for export/import Oracle database

Posted on 2010-08-12
3
617 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
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…
Six Sigma Control Plans

717 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