Oracle Data pump backup and Recovery library

Source: Internet
Author: User
Tags create directory

if the user name of the lead-out library is Tiger, the password is 1 imported to the username is Scott, the password is 1

Backup Library

EXPDP Tiger/[email protected] dumpfile=expdp.dmp directory=dpdata1; Export a expdp.dmp file.

Import Library

Create user

Create user Scott identified by 1; (must be performed)

DP Mode

1. Create a directory

Create directory dpdata1 as ' D:\test\dump '; (do not have to be executed, create a directory once.)

2. View the Management Manager directory (and see if the operating system exists, because Oracle does not care if the directory exists, and if it does not exist, an error occurs)

SELECT * from Dba_directories; (must not be performed)

3.give the Scott user permission to operate in the specified directory, preferably as a system Administrator.

Grant Read,write on directory dpdata1 to Scott; (must be performed)

Grant DBA to Scott; (must be performed)

4, guide the storage

IMPDP Scott/[email protected] dumpfile=expdp.dmp directory=dpdata1 Remap_schema=tiger:scott

Note: The directory address created above is d:\test\dump , so be sure to put the expdp.dmp file in this directory when importing.

Oracle Data pump backup and Recovery library

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.