Microsoft
Software
Hardware
Network
Question : Restore from older backups
I run a list backup and get name from a backup:
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
19 Full 6.80M DISK 00:00:00 17-JUN-10
BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20100617T153913
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\AUTOBA
CKUP
\2010_06_17\O1_MF_S_721928
294_61O90L
0G_.BKP
Control File Included: Ckp SCN: 821394 Ckp time: 17-JUN-10
SPFILE Included: Modification time: 17-JUN-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
20 Full 6.80M DISK 00:00:00 18-JUN-10
BP Key: 20 Status: AVAILABLE Compressed: NO Tag: TAG20100618T212720
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\AUTOBA
CKUP
\2010_06_18\O1_MF_S_722035
570_61RKS8
S6_.BKP
Control File Included: Ckp SCN: 924476 Ckp time: 18-JUN-10
SPFILE Included: Modification time: 18-JUN-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
21 Full 6.80M DISK 00:00:00 19-JUN-10
BP Key: 21 Status: AVAILABLE Compressed: NO Tag: TAG20100619T000820
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\AUTOBA
CKUP
\2010_06_19\O1_MF_S_722045
240_61RV74
XW_.BKP
Control File Included: Ckp SCN: 941055 Ckp time: 19-JUN-10
SPFILE Included: Modification time: 19-JUN-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
22 Full 6.80M DISK 00:00:00 21-JUN-10
BP Key: 22 Status: AVAILABLE Compressed: NO Tag: TAG20100621T111657
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\AUTOBA
CKUP
\2010_06_21\O1_MF_S_722258
146_61ZC4T
2W_.BKP
Control File Included: Ckp SCN: 1137745 Ckp time: 21-JUN-10
SPFILE Included: Modification time: 21-JUN-10
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
23 Full 633.24M DISK 00:00:00 18-JUN-10
BP Key: 23 Status: AVAILABLE Compressed: NO Tag: BACKUP_AMUN.CSUEAS_
061810092542
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\BACKUP
SET\
2010_06_18\O1_MF_NNNDF_BAC
KUP_AMUN.C
SUEAS_0_61
RKQK0C_.BK
P
List of Datafiles in backup set 23
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 924476 18-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\SYSTEM
01.DBF
2 Full 924476 18-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\UNDOTB
S01.DBF
3 Full 924476 18-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\SYSAUX
01.DBF
4 Full 924476 18-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\USERS0
1.DBF
5 Full 924476 18-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\EXAMPL
E01.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
24 Full 637.60M DISK 00:00:00 19-JUN-10
BP Key: 24 Status: AVAILABLE Compressed: NO Tag: BACKUP_AMUN.CSUEAS_
061910120659
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\BACKUP
SET\
2010_06_19\O1_MF_NNNDF_BAC
KUP_AMUN.C
SUEAS_0_61
RV5Q0N_.BK
P
List of Datafiles in backup set 24
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 941055 19-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\SYSTEM
01.DBF
2 Full 941055 19-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\UNDOTB
S01.DBF
3 Full 941055 19-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\SYSAUX
01.DBF
4 Full 941055 19-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\USERS0
1.DBF
5 Full 941055 19-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\EXAMPL
E01.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
25 Full 660.52M DISK 00:00:00 21-JUN-10
BP Key: 25 Status: AVAILABLE Compressed: NO Tag: BACKUP_AMUN.CSUEAS_
062110111511
Piece Name: C:\ORACLE\PRODUCT\10.2.0\F
LASH_RECOV
ERY_AREA\A
MUN\BACKUP
SET\
2010_06_21\O1_MF_NNNDF_BAC
KUP_AMUN.C
SUEAS_0_61
ZC31XR_.BK
P
List of Datafiles in backup set 25
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 1137745 21-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\SYSTEM
01.DBF
2 Full 1137745 21-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\UNDOTB
S01.DBF
3 Full 1137745 21-JUN-10 C:\ORACLE\PRODUCT\10.2.0\O
RADATA\AMU
N\SYSAUX
01.DBF
I then try to restore that controlfile and get an error. What am I doing wrong?
RMAN> restore controlfile from 'C:\ORACLE\PRODUCT\10.2.0\
FLASH_RECO
VERY_AREA\
AM
UN\AUTOBACKUP\2010_06__17\
O1_MF_S_72
1928294_61
O90L0G_.BK
P';
Starting restore at 21-JUN-10
using channel ORA_DISK_1
RMAN-00571: ==========================
==========
==========
==========
===
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ==========================
==========
==========
==========
===
RMAN-03002: failure of restore command at 06/21/2010 14:09:14
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
Answer : Restore from older backups
OK, I see what is happening now. When I use OEM and chose to specify rather than restoring from autobackup, i need to click the Edit RMAN Script button also and insert some ....UNTIL (date, scn etc)
Thanks
Random Solutions
SAN,ISCSI and Virtualization
Help formating a output in Powershell
insert current filename as variable into href statement
Trying to create a grid-paper like grid in java...
javascript: set value of form file input
Help needed with to script Robocopy
SATA drivers for vista?
VirtualBox - WindowsXP 64-bit - Inaccessible
Outlook 2010 duplicate reminders
Unable to open Word 2007 directly from SharePoint document library