Oracle Export Import under DOS command

Source: Internet
Author: User

DOS Run command, can also add parameters in the Sql/plus environment to run
Simple example implementation

Single-table backup (the structure of the premise library is the same)
Export:
Start button, run-and input cmd-> into the DOS interface
EXP User name/password @ connection string grants=y tables= (stu) file=c:\ file name. CM7
Import:
Start button, run-and input cmd-> into the DOS interface
IMP username/password @ connection string ignore=y tables= (stu) full=n file=c:\ file name. CM7

Where Stu is the name of the table you want

Full Library Guide
Export:
Start button, run-and input cmd-> into the DOS interface
EXP User name/password @ connection string full=y file=c:\ file name. CM7
Import:
Start button, run-and input cmd-> into the DOS interface
IMP username/password @ connection string full=y file=c:\ file name. CM7

The situation you are talking about will be done by the whole library.

Use instances (Oracle 9i)
--Create user and authorize
Create user username identified by password;
Grant CONNECT,RESOURCE,DBA to user name;
--Export by user
EXP User name/password @ database name owner= user name file= absolute path (D:\\TEST.DMP)
--Import by user
IMP username/password @ database name file= absolute path (d:\\test.dmp) full=y;

Original: http://www.2cto.com/database/201409/338485.html

Oracle Export Import under DOS command

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.