My Oracle Support Banner

Rman Duplicate From Active Database Fails When Encryption Is Configured (Doc ID 2664525.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

When backup encryption is configured on target database or setting up backup encryption during rman duplication 

Example as below

rman target sys/xxxxxxx@targetdb auxiliary sys/xxxxxxx@auxiliarydb

CONFIGURE DEVICE TYPE disk PARALLELISM 10;

CONFIGURE ENCRYPTION FOR DATABASE ON;-------------------------------------------------------------------------> Using Encryption on with in Duplication Command or Enabled Encryption on Target Database itself

CONFIGURE DEVICE TYPE DISK PARALLELISM 10 BACKUP TYPE TO BACKUPSET;

run {

duplicate target database to orcldb from active database section size 100M using compressed backupset

nofilenamecheck;

}

I am getting errors

ORA-19849: error while reading backup piece from service orcldb.oracle.com

ORA-19850: backup piece constructed from service orcldb.oracle.com is corrupt

ORA-19837: invalid blocksize 0 in backup piece header

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.