Mani's Blog

November 4, 2011

RMAN-00571 RMAN-00569 RMAN-03002 ORA-19870 error while restoring backup piece

Filed under: Backup,Oracle,RMAN — mani @ 5:44 pm

I ran into issue while restoring RMAN backup to standby server.

Issue:

channel d4: restoring datafile 00020 to +XN_DATA
channel d4: reading from backup piece /local/data/oracle/nfs/XNODBCOR/backupset/2011_07_28/o1_mf_nnndf_BKP_XNODBCOR_FULL_07_731qqngm_.bkp
released channel: d1
released channel: d2
released channel: d3
released channel: d4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/03/2011 22:32:35
ORA-19870: error while restoring backup piece /local/data/oracle/nfs/XNODBCOR/backupset/2011_07_28/o1_mf_nnndf_BKP_XNODBCOR_FULL_07_731qqng5_.bkp
ORA-00600: internal error code, arguments: [krbrrd_comp_ksfqrd_noblks], [/local/data/oracle/nfs/XNODBCOR/backupset/2011_07_28/o1_mf_nnndf_BKP_XNODBCOR_FULL_07_731qqng5_.bkp], [125696], [], [], [], [], [], [], [], [], []

RMAN>

Recovery Manager complete.
Solution:

Oracle doc says, It occurs due to corrupt backup piece or some issues with reading from the OS layer.
Try to validate the backupset that was thrown by the error.

RMAN > validate backupset <bs_key>

BUT, in our case, I realized the backupset which is referred in the restored has pretty old time stamp. I had to change the incarnation to restore and recover successfully.

Run “list incarnation;” and switched to the correct one as below.

RMAN> reset database to incarnation 2;

database reset to incarnation 2

RMAN> run {
allocate channel d1 device type disk;
allocate channel d2 device type disk;
allocate channel d3 device type disk;
allocate channel d4 device type disk;
restore database;
switch datafile all;
switch tempfile all;
recover database;
}

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: