~沉%淀~

一切有为法,如梦幻泡影,如露亦如电,应作如是观

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

18C中, rman可以很简单的把CDB中PDB复制到另外一个CDB,仅用一条命令
RMAN> connect target *
connected to target database: CDB181 (DBID=3282107738)


RMAN> connect auxiliary *
connected to auxiliary database: ORCLCDB (DBID=2735672192)

RMAN> DUPLICATE PLUGGABLE DATABASE SALESPDB TO orclCDB
DB_FILE_NAME_CONVERT('/home/oracle/18.1/oradata/CDB181/', /home/oracle/18.1/base/oradata/ORCLCDB/SALESPDB')
FROM ACTIVE DATABASE;

posted on 2020-07-13 14:52  ~沉%淀~  阅读(281)  评论(0编辑  收藏  举报