This post is more than 5 years old
2 Intern
•
139 Posts
1
13842
March 9th, 2012 07:00
Networker control file restoration error: RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
When i am doing restoration of control file i am getting this error:"RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece" See the attached error log file.
Below is the RMAN parameter of destination server where i want to create duplicate database
RMAN> show all;
RMAN configuration parameters for database with db_unique_name MDA are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
Plz help?????


SabarnaDeb
2 Intern
•
139 Posts
0
March 14th, 2012 20:00
Yes you are right....this is more related to Oracle, not Networker. Controlfile backup has been completed successfully by Networker. And if we are restoring to Remote host then it should have the same disk configuration, directory structure, and file-names as like source server (target).
Bebo2k
544 Posts
0
March 9th, 2012 13:00
Hi Sabarna_Deb,
Seems that the AUTOBACKUP was set to OFF during the backup from oracle machine, You have to turn the autobackup feature ON, by running the following command “CONFIGURE CONTROLFILE AUTOBACKUP ON”
Hope this helps you to solve the issue,
Thanks,
Ahmed Bahaa
Bebo2k
544 Posts
1
March 9th, 2012 13:00
Additionally, With a control file autobackup, RMAN can recover the database even if the current control file, recovery catalog, and server parameter file are inaccessible.
A control file autobackup lets you restore the RMAN repository contained in the control file when the control file is lost and you have no recovery catalog. You do not need a recovery catalog or target database control file to restore the control file autobackup. Whenever you add a datafile/s, resize, increase/decrease the size of datafile/s or etc, controlfile is automatically backed up.
If CONFIGURE CONTROLFILE AUTOBACKUP is ON, then RMAN automatically backs up the control file and the current server parameter file (if used to start up the database) in one of two circumstances: when a successful backup must be recorded in the RMAN repository, and when a structural change to the database affects the contents of the control file which therefore must be backed up.
Thanks,
Ahmed Bahaa
SabarnaDeb
2 Intern
•
139 Posts
0
March 10th, 2012 04:00
Hi,
That i will check and Could you plz guide me how to restore the controlfile of source database to another server (remote) prior to start the duplicate command? I have created the RMAN duplicate script through NMO wizard. I believe if i used same controlfile restore script to original server then it will work. Might be different procedure for restoring controlfile to remote host.
Bebo2k
544 Posts
0
March 11th, 2012 14:00
Hi Sabarna_Deb,
I am not sure of the restoration process of controle file to remote host for database duplication , I am not sure as well if it is required or not for duplicate database because i cannot find any information for restoring control file to remote host on Powerlink,NMO guides or even Oracle website.
Thanks,
Ahmed Bahaa
Bebo2k
544 Posts
0
March 13th, 2012 19:00
Hi Sabrana_Deb,
Any updates regarding this issue , did you manage to sort it out ?
Thanks,
Ahmed Bahaa
SabarnaDeb
2 Intern
•
139 Posts
1
March 13th, 2012 21:00
Yes, actually database on cluster enviroment. During tape backups i have specifically mention NSR_CLIENT="one of the Physical_hostname". Not virtual_hostname. Online database backup taken from "Physical_hostname" which i have mentioned in RMAN script during backup and unfortunately (i do not know how) control file backup has been taken from another physical_hostname (in pair). I came to know when i checked in tapes, control file belongs to which physical_client. Previously during Control file restoration, i have wrongly mentioned "NSR_CLIENT=". Now i was able to restore control file by refering correct "NSR_CLIENT=".
Bebo2k
544 Posts
0
March 14th, 2012 04:00
Thanks for that information and the updates on how you sort out that issue Sabarna,
Did you configured as well the AUTOBACKUP to be ON as i mentioned before in my posts ?
Thanks,
Ahmed Bahaa
SabarnaDeb
2 Intern
•
139 Posts
0
March 14th, 2012 09:00
yes in source server AUTOBACKUP is ON. We are having three databases in three different hosts. One is completed but for another control file restoration to different remote host, i am getting same error agin:
released channel: CH1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/14/2012 21:45:03
RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
RMAN>
Correct "NSR_CLIENT=" mentioned in RMAN controlfile restoration script but no luck. Any help???
Bebo2k
544 Posts
0
March 14th, 2012 12:00
Hi Sabarna_Deb,
Was the control file backed up or not? If the log shows which backup piece the controlfile was backed up to, simply try the following:
restore controlfile from ' ';
Actually this is More Oracle issue, not related to NetWorker, So it needs some more investigation from Oracle configurations side.
I will be waiting your updates.
Thanks,
Ahmed Bahaa
Bebo2k
544 Posts
0
March 14th, 2012 21:00
Hi Sabarna_Deb,
I am totally agree with you regarding that
Would you please mark this post as Answered ?
Thanks,
Ahmed Bahaa
Lucky85
173 Posts
0
March 15th, 2012 00:00
Has to work I did it few months ago, as first step you have to verify which client own indexes on backup server. In restore script use this name, in NSR CLIENT variable. Don’t forget to set remote access on the client’s resource which owns indexes, set it to @ for the tests…
Regards
Lukas