ORA-19563: header validation failed for file - During rman restore
Hi,
I am restoring a UAT database from Prod DB backup(Full Hot backup). Here is the rman command being used:
run
{
set newname for datafile 1 to '<new path>';
set newname
.
.
.
restore database from tag <tag_name>;
switch datafile all;
}
Database getting restored properly but failing at switch command with the below error:
Finished restore at 21-JAN-17
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of switch command at 01/21/2017 12:42:41
ORA-19563: header validation failed for file
Can someone please help?