Oracle Backup and Recovery Exp/imp

Source: Internet
Author: User

    • Get help
    • Exp Help=y/imp help=y
    • Working style
      • Interactive EXP
      • Command line exp user/[email protected] file=/oracle/test.dmp full=y
      • Parameter file mode exp parfile=username.par

       Parameter file contents

       Userid=username/userpassword buffer=819200

Compress=n grants=y

File=/oracle/test.dmp full=y

    • Three different modes
      • Table way to import or export data from a specified table

Export several tables exp user/pwd file=/dir/test.dmp log=test.log tables=table1,table2

Export a table part of the data exp user/pwd file=* log=* tables=table1 query=\ "where col1=\ ' .... \ ' and col2 \<.. \"

Import one or several tables imp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1,table2 fromuser=dbuser touser=dbuser2 commit=y Igno Re=y

      • User mode to import/export all objects and data of the specified user

Export: Exp user/pwd file=/dir/*.dmp log=*.log owner= (XX,YY)

Export Data Objects only, do not export data rows=n exp user/pwd file=/dir/*.dmp log=*.log owner=user rows=n

Import: Imp user/pwd file=/dir/*.dmp log=*.log fromuser=dbuser touser=dbuser2 commit=y ignore=y

      • Export/Import all objects in the database in a full-library manner
        • Export exp user/pwd file=/dir/*.dmp log=*.log full=y commit=y ignore=y
        • Import imp uer/pwd file=/dir/*.dmp log=*.log fromuser=dbuser touser=dbuser2

Oracle Backup and Recovery Exp/imp

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.