RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or

Hello

I was currently doing the hands on the simulation of all the possible scenarios of recovery and restoration. I attend the mandatory Wk II only during the weekends. So it is possible that I don't have backup even up to seven days.

That's what I'm doing in rman

connected to target database: CHUNHUNG (DBID = 1555989970, is not open)

RMAN > show controlfile autobackup.

using the control file of the target instead of recovery catalog database
RMAN configuration parameters are:
CONFIGURE CONTROLFILE AUTOBACKUP ON;

RMAN > show all.

RMAN configuration parameters are:
CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/10.2.0/db_1/dbs/snapcf_chunhung.f'; # by default

RMAN > backup database tag "chunhungtag".

From backup 22 November 08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 154 devtype = DISK
channel ORA_DISK_1: from full datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
input datafile fno = 00001 name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_system_4kds048o_.dbf
input datafile fno = name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_sysaux_4kds049s_.dbf 00003
input datafile fno = name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_undotbs1_4kds050b_.dbf 00002
input datafile fno = name=/u01/app/oracle/oradata/CHUNHUNG/datafile/o1_mf_users_4kf5b856_.dbf 00004
channel ORA_DISK_1: starting piece 1 to 22 November 08
channel ORA_DISK_1: finished piece 1 to 22 November 08
piece handle=/u01/app/oracle/flash_recovery_area/CHUNHUNG/CHUNHUNG/backupset/2008_11_22/o1_mf_nnndf_CHUNHUNGTAG_4lhhzjf6_.bkp tag = CHUNHUNGTAG comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:07:36
Backup finished in 22 November 08

From control file and SPFILE Autobackup 22 November 08
room handle=/u01/app/oracle/flash_recovery_area/CHUNHUNG/CHUNHUNG/autobackup/2008_11_22/o1_mf_s_671448766_4lhjfx7g_.bkp comment = NONE
File control finished and Autobackup SPFILE to 22 November 08

RMAN > exit

As show above the control and backup and spfile.

now I will stop immediately and rename to another name spfile

I start mode little DB,.

so, I did the following as what http://download.oracle.com/docs/cd/B12037_01/server.101/b10735/recov.htm#1040743 said.

RMAN > STARTUP NOMOUNT of STRENGTH;

RMAN > backup SPFILE RESTORE AUTOMATIC;

then, the following error comes up

RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 2008-11-22 16:32:52
RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece

then I try what is suggested in the Doc ID: Note: 274237.1

SPFile restore automatic backup until time 'SYSDATE-X ";

automatic backup restore SPFile maxdays X;

No matter how much the values of X, I try, it still does not work, why is it so?

I try 7, 8, 16, broken, why he not yet? More importantly, what is the solution to solve?

Operating system Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Oracle version: Enterprise Edition Release 10.2.0.1.0

Thank you very much!
RMAN> restore spfile  from autobackup
2> recovery area '/u01/app/oracle/flash_recovery_area'
3> db_name 'CHUNHUNG' maxdays 14;

Enrique

Tags: Database

Similar Questions

Maybe you are looking for