RMAN Duplicate PDB Fails With RMAN-05548 If Audit Trails Are Moved Outside Of SYSAUX

(Doc ID 2256158.1)

Last updated on APRIL 18, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Following statement fails when cloning a PDB via RMAN when audit tables (AUD$) reside outside the SYSAUX tablespace

RMAN> DUPLICATE TARGET DATABASE TO CDB001 FROM ACTIVE DATABASE PLUGGABLE DATABASE TTT006 TABLESPACE audit_records DB_FILE_NAME_CONVERT ('+CDB002_DG','+CDB001_DG','+TTT006_DG','+TTT007_DG');

Checking that duplicated tablespaces are self-contained
The following errors need to be fixed before peforming this command
  Violation: ORA-39901: Partitioned table AUDSYS.CLI_SWP$da1825f5$1$1 is partially contained in the transportable set.
...
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 04/28/2016 13:51:18
RMAN-05501: aborting duplication of target database
RMAN-05548: The set of duplicated tablespaces is not self-contained

OR error may be:

RMAN-03002: failure of Duplicate Db command at 06/21/2016 14:48:24
RMAN-05501: aborting duplication of target database
RMAN-05553: SYS objects in skipped tablespaces prevent duplication

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms