RMAN Active Duplicate Fails with ORA-19837 ORA-19849 ORA-19850
RMAN active duplicate fails with error:
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
ORA-19849: error while reading backup piece from service <service_name>
ORA-19850: backup piece constructed from service <service_name> is corrupt
ORA-19837: invalid blocksize 0 in backup piece header
ORA-19660: some files in the backup set could not be verified
ORA-19661: datafile 0 could not be verified
ORA-19849: error while reading backup piece from service <service_name>
ORA-19850: backup piece constructed from service <service_name> is corrupt
ORA-19837: invalid blocksize 0 in backup piece header
Reason:
This is because the Encryption is configured in the target database.
Execute “SHOW ALL” in the rman and see if you notice the following,
RMAN> CONFIGURE ENCRYPTION FOR DATABASE ON;
RMAN> CONFIGURE ENCRYPTION ALGORITHM ‘AES128’; # default
Solution:
1) To fix this explicitly add “set encryption off” at the start of the duplicate command:
RMAN> set encryption off;
RMAN> duplicate target database ….
OR
2. Change the configuration of the target to OFF until the duplicate completes:
RMAN> CONFIGURE ENCRYPTION FOR DATABASE OFF;
Post a Comment
Post a Comment