Oracle EXPDP logical export and machine recovery

Source: Internet
Author: User
Tags create directory

First, Environment

Platform

Version

a

linux RHEL 5.8 X64

Oracle 11.2.0.3 X64

Single Instance Oral

b

win2003 X32

Oracle 11.2.0.1 X32

Single Instance Oral

Only with system-brought data files, no custom tablespace and user

Second, AMachine performs a full library export

[Email protected] ~]$ Sqlplus/nolog

Sql> Conn/as sysdba;

Sql> Create directory Dump_dir as '/u01/oracle/dmp ';

Sql> Grant Read,write on the directory Dump_dir to system;

[Email protected] ~]$ EXPDP system/oracle directory=dump_dir dumpfile=full.dmp log=full.log full=y

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "Alt=" Clip_ image002 "src=" http://s3.51cto.com/wyfs02/M02/92/AB/wKioL1kBtAfTPVtmAAEEzhWtLpY763.jpg "border=" 0 "height=" 386 "/ >

[Email protected] dmp]$ pwd

/u01/oracle/dmp

[[email protected] dmp]$ ls

Export.log full.dmp

Third, Copy DMP file to B Machine

E:\app\Administrator\admin\oral\dpdump directory under

Four, Bmachine to create the same instance

Use DBCA Default Creation

Five, B machine to create the same custom Table Space

Creating the same tablespace is a prerequisite, no need to create a custom user, the user object is created automatically when importing

Create tablespace xxx datafile ' E:\app\Administrator\oradata\oral\xxx.dbf ' size 2000m autoextend on next 10m maxsize Unlim ited;

Six, B Machine Import dmp file

IMPDP system/oracle dumpfile=full.dmp full=y log=fullback.log

650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "alt=" clip_image004 "src=" Http://s3.51cto.com/wyfs02/M00/92/AB/wKioL1kBtAuyVqUyAADex7sP0BE544.jpg "border=" 0 "height=" 260 "/>

Query Result:

Data OK

Oracle EXPDP logical export and machine recovery

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.