Solved

perl script for export/import Oracle database

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now