一、导出expdp:
1. cdb全库导出:
expdp system/sky directory=exp_cdb dumpfile=sky_full.dmp logfile=sky_full.log full=y
操作如下:
C:\Users\v074>sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on 星期四 6月 6 13:42:32 2019
Copyright (c) 1982, 2014, Oracle. All rights reserved.
连接到:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> create directory exp_cdb as 'e:\app\exp_cdb';
目录已创建。
SQL> exit
从 Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options 断开
C:\Users\v074>expdp system/sky directory=exp_cdb dumpfile=sky_full.dmp logfile=sky_full.log full=y
Export: Release 12.1.0.2.0 - Production on 星期四 6月 6 13:46:01 2019
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
警告: 连接到容器数据库的根或种子时通常不需要 Oracle Data Pump 操作。
启动 "SYSTEM"."SYS_EXPORT_FULL_01": system/******** directory=exp_cdb dumpfile=sky_full.dmp logfile=sky_full.log full=y
正在使用 BLOCKS 方法进行估计...
处理对象类型 DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
处理对象类型 DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
处理对象类型 DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
...(省略)
处理对象类型 DATABASE_EXPORT/POST_SYSTEM_IMPCALLOUT/MARKER
. . 导出了 "SYS"."KU$_USER_MAPPING_VIEW" 6.085 KB 36 行
. . 导出了 "ORDDATA"."ORDDCM_DOCS" 252.9 KB 9 行
. . 导出了 "WMSYS"."WM$CONSTRAINTS_TABLE$" 0 KB 0 行
...(省略)
. . 导出了 "SYS"."NACL$_WALLET_EXP" 0 KB 0 行
. . 导出了 "WMSYS"."WM$EXP_MA