How to restore archivelogs on RAC ?
Hello !
I need to restore archivelogs for 2 hours: to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss'). I have this files on tape:
RMAN> list backup of archivelog from time "to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss')";
List of Backup Sets
===================
BS Key Size
1359667 19.00M
List of Archived Logs in backup set 1359667
Thrd Seq Low SCN Low Time Next SCN Next Time
3 24686 68236434950 04/08/2010 22:54:47 68243156430 04/08/2010 23:46:12
Backup Set Copy #1 of backup set 1359667
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:03:50 04/08/2010 23:51:06 NO TAG20100804T234715
List of Backup Pieces for backup set 1359667 Copy #1
BP Key Pc# Status Media Piece Name
1359674 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153543_726191236_1/
Backup Set Copy #2 of backup set 1359667
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:03:50 04/08/2010 23:51:06 NO TAG20100804T234715
List of Backup Pieces for backup set 1359667 Copy #2
BP Key Pc# Status Media Piece Name
1359675 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153543_726191236_2/
BS Key Size
1359668 19.96G
List of Archived Logs in backup set 1359668
Thrd Seq Low SCN Low Time Next SCN Next Time
1 33810 68236430016 04/08/2010 22:54:44 68240656570 04/08/2010 23:25:13
Backup Set Copy #1 of backup set 1359668
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:22:24 05/08/2010 00:09:39 NO TAG20100804T234715
List of Backup Pieces for backup set 1359668 Copy #1
BP Key Pc# Status Media Piece Name
1359676 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153541_726191236_1/
Backup Set Copy #2 of backup set 1359668
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:22:24 05/08/2010 00:09:39 NO TAG20100804T234715
List of Backup Pieces for backup set 1359668 Copy #2
BP Key Pc# Status Media Piece Name
1359677 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153541_726191236_2/
BS Key Size
1359669 2.56G
List of Archived Logs in backup set 1359669
Thrd Seq Low SCN Low Time Next SCN Next Time
1 33811 68240656570 04/08/2010 23:25:13 68243156997 04/08/2010 23:46:13
Backup Set Copy #1 of backup set 1359669
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:38 05/08/2010 00:12:20 NO TAG20100804T234715
List of Backup Pieces for backup set 1359669 Copy #1
BP Key Pc# Status Media Piece Name
1359678 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153544_726192582_1/
Backup Set Copy #2 of backup set 1359669
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:38 05/08/2010 00:12:20 NO TAG20100804T234715
List of Backup Pieces for backup set 1359669 Copy #2
BP Key Pc# Status Media Piece Name
1359679 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153544_726192582_2/
BS Key Size
1359670 19.95G
List of Archived Logs in backup set 1359670
Thrd Seq Low SCN Low Time Next SCN Next Time
2 33578 68236472935 04/08/2010 22:55:03 68240747010 04/08/2010 23:26:01
Backup Set Copy #1 of backup set 1359670
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:26:38 05/08/2010 00:13:54 NO TAG20100804T234715
List of Backup Pieces for backup set 1359670 Copy #1
BP Key Pc# Status Media Piece Name
1359680 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153542_726191236_1/
Backup Set Copy #2 of backup set 1359670
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:26:38 05/08/2010 00:13:54 NO TAG20100804T234715
List of Backup Pieces for backup set 1359670 Copy #2
BP Key Pc# Status Media Piece Name
1359681 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153542_726191236_2/
BS Key Size
1359671 2.48G
List of Archived Logs in backup set 1359671
Thrd Seq Low SCN Low Time Next SCN Next Time
2 33579 68240747010 04/08/2010 23:26:01 68243160092 04/08/2010 23:46:14
Backup Set Copy #1 of backup set 1359671
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:46 05/08/2010 00:16:48 NO TAG20100804T234715
List of Backup Pieces for backup set 1359671 Copy #1
BP Key Pc# Status Media Piece Name
1359682 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153545_726192843_1/
Backup Set Copy #2 of backup set 1359671
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:46 05/08/2010 00:16:48 NO TAG20100804T234715
List of Backup Pieces for backup set 1359671 Copy #2
BP Key Pc# Status Media Piece Name
1359683 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153545_726192843_2/
BS Key Size
1359733 17.25M
List of Archived Logs in backup set 1359733
Thrd Seq Low SCN Low Time Next SCN Next Time
3 24687 68243156430 04/08/2010 23:46:12 68260260710 05/08/2010 01:41:22
Backup Set Copy #1 of backup set 1359733
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:48 05/08/2010 01:51:01 NO TAG20100805T014812
List of Backup Pieces for backup set 1359733 Copy #1
BP Key Pc# Status Media Piece Name
1359743 1 AVAILABLE NN0821L3 /ORACLE:SVPRD1B:REDO:153560_726198493_1/
Backup Set Copy #2 of backup set 1359733
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:48 05/08/2010 01:51:01 NO TAG20100805T014812
List of Backup Pieces for backup set 1359733 Copy #2
BP Key Pc# Status Media Piece Name
1359744 1 AVAILABLE NN0833L3 /ORACLE:SVPRD1B:REDO:153560_726198493_2/
BS Key Size
1359739 9.97G
List of Archived Logs in backup set 1359739
Thrd Seq Low SCN Low Time Next SCN Next Time
1 33812 68243156997 04/08/2010 23:46:13 68253559461 05/08/2010 00:55:07
1 33813 68253559461 05/08/2010 00:55:07 68260254831 05/08/2010 01:41:19
Backup Set Copy #1 of backup set 1359739
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:11:44 05/08/2010 01:59:57 NO TAG20100805T014812
List of Backup Pieces for backup set 1359739 Copy #1
BP Key Pc# Status Media Piece Name
1359750 1 AVAILABLE NN0821L3 /ORACLE:SVPRD1B:REDO:153558_726198493_1/
Backup Set Copy #2 of backup set 1359739
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:11:44 05/08/2010 01:59:57 NO TAG20100805T014812
List of Backup Pieces for backup set 1359739 Copy #2
BP Key Pc# Status Media Piece Name
1359751 1 AVAILABLE NN0833L3 /ORACLE:SVPRD1B:REDO:153558_726198493_2/
BS Key Size
1359740 9.84G
List of Archived Logs in backup set 1359740
Thrd Seq Low SCN Low Time Next SCN Next Time
2 33580 68243160092 04/08/2010 23:46:14 68253672744 05/08/2010 00:56:10
2 33581 68253672744 05/08/2010 00:56:10 68260864567 05/08/2010 01:46:16
Backup Set Copy #1 of backup set 1359740
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:12:20 05/08/2010 02:00:33 NO TAG20100805T014812
List of Backup Pieces for backup set 1359740 Copy #1
BP Key Pc# Status Media Piece Name
1359752 1 AVAILABLE NN0821L3 /ORACLE:SVPRD1B:REDO:153559_726198493_1/
Backup Set Copy #2 of backup set 1359740
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:12:20 05/08/2010 02:00:33 NO TAG20100805T014812
List of Backup Pieces for backup set 1359740 Copy #2
BP Key Pc# Status Media Piece Name
1359753 1 AVAILABLE NN0833L3 /ORACLE:SVPRD1B:REDO:153559_726198493_2/but when I am trying to restore them I receive an error:
RMAN> run {
allocate channel t1 type 'sbt_tape';
2> set archivelog destination to '/oracle/archive/svprd1b1/20100817_arch_rest';
restore (archivelog from time "to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss')" );
release channel t1;
3> 4> 5> 6>
allocated channel: t1
channel t1: sid=1725 instance=SVPRD1B1 devtype=SBT_TAPE
channel t1: NMO v4.2.0.0
executing command: SET ARCHIVELOG DESTINATION
Starting restore at 23/08/2010 13:05:15
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24686
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153543_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33810
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153541_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33811
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153544_726192582_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33578
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153542_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33579
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153545_726192843_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24687
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153560_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33812
channel t1: restoring archive log
archive log thread=1 sequence=33813
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153558_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33580
channel t1: restoring archive log
archive log thread=2 sequence=33581
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153559_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
failover to previous backup
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24686
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153543_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33810
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153541_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33811
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153544_726192582_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33578
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153542_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33579
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153545_726192843_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24687
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153560_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33812
channel t1: restoring archive log
archive log thread=1 sequence=33813
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153558_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33580
channel t1: restoring archive log
archive log thread=2 sequence=33581
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153559_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
failover to previous backup
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/23/2010 13:08:50
RMAN-06026: some targets not found - aborting restore
RMAN-06025: no backup of log thread 3 seq 24687 lowscn 68243156430 found to restore
RMAN-06025: no backup of log thread 3 seq 24686 lowscn 68236434950 found to restore
RMAN-06025: no backup of log thread 2 seq 33581 lowscn 68253672744 found to restore
RMAN-06025: no backup of log thread 2 seq 33580 lowscn 68243160092 found to restore
RMAN-06025: no backup of log thread 2 seq 33579 lowscn 68240747010 found to restore
RMAN-06025: no backup of log thread 2 seq 33578 lowscn 68236472935 found to restore
RMAN-06025: no backup of log thread 1 seq 33813 lowscn 68253559461 found to restore
RMAN-06025: no backup of log thread 1 seq 33812 lowscn 68243156997 found to restore
RMAN-06025: no backup of log thread 1 seq 33811 lowscn 68240656570 found to restore
RMAN-06025: no backup of log thread 1 seq 33810 lowscn 68236430016 found to restoreWhat am I doing wrong ?
Database 10.2.0.4 @HP-UX 11.23 Itanium
Thanks in advance.
The error "A backup or restore session is already in progress. (100:17:0)" comes from the MML -- the Tape Management software. It prevents you from running a RESTORE.
Hemant K Chitale
Similar Messages
-
How to restore a table using RMAN with previous backup ?
Hi everyone,
we have to restore a table from 1 week previous backup using RMAN.
Could you show me how to restore a table using RMAN with previous full backup.
please Help me out.
Thanks
Info > oracle 10g, OS: AIX5LHi,
first of all you must have all the archivelogs since you want to recover your table from the previous backups.
anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
thanks.. -
Restore archivelogs from backupset
STEP-1
RMAN> backup archivelog all;
Starting backup at 13-MAR-13
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=6 recid=61 stamp=809960486
channel ORA_DISK_1: starting piece 1 at 13-MAR-13
channel ORA_DISK_1: finished piece 1 at 13-MAR-13
piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2013_03_13\O1_MF_ANNNN_TAG20130313T130126_8N0BTHKN_.BKP tag=TAG20130313T130126 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 13-MAR-13
STEP-2
RMAN> list archivelog all;
List of Archived Log Copies
Key Thrd Seq S Low Time Name
61 1 6 A 13-MAR-13 F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_03_13\O1_MF_1_6_8N0BTFLF_.ARC
STEP -3
RMAN> delete archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=142 devtype=DISK
List of Archived Log Copies
Key Thrd Seq S Low Time Name
61 1 6 A 13-MAR-13 F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_03_13\O1_MF_1_6_8N0BTFLF_.ARC
Do you really want to delete the above objects (enter YES or NO)? yes
RMAN-06207: WARNING: 1 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Archivelog F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_03_13\O1_MF_1_6_8N0BTFLF_.ARC
STEP-4
RMAN> crosscheck archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=142 devtype=DISK
validation failed for archived log
archive log filename=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_03_13\O1_MF_1_6_8N0BTFLF_.ARC recid=61 stamp=809960486
Crosschecked 1 objects
RMAN>
what i done after step 1 , is i delete (or moved ) archivelog from its original destination.
NOW, as i have a backup of archivelog in backupset , how do i restore archivelogs from there??
10.2.0
win 7 prof
Thanks
Edited by: O0O0O0O0O on Mar 13, 2013 1:10 PMSalman Qureshi wrote:
Hi,
what i done after step 1 , is i delete (or moved ) archivelog from its original destination.No, you took backup in sirts step. You deleted your archived redo logs in 3rd stepNO, After 1st step i deleted /moved archivelog , thats why @ 3rd step its giving error that Oracle Cant Find Archivelog to delete ( i guess it dsnt matter )
NOW, as i have a backup of archivelog in backupset , how do i restore archivelogs from there??Following should help you in restoration of archive redo logs. Simplest way is to use "restore archivelog all" to restore all archived redo logs from your backups which are available.
when i do this , its giving error
RMAN> restore archivelog all;
Starting restore at 13-MAR-13
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/13/2013 13:25:48
RMAN-06026: some targets not found - aborting restore
RMAN-06025: no backup of log thread 1 seq 5 lowscn 2065032 found to restore
RMAN-06025: no backup of log thread 1 seq 4 lowscn 2061724 found to restore
RMAN-06025: no backup of log thread 1 seq 3 lowscn 2038915 found to restore
RMAN-06025: no backup of log thread 1 seq 2 lowscn 2015492 found to restore
RMAN-06025: no backup of log thread 1 seq 1 lowscn 1990741 found to restore
RMAN-06025: no backup of log thread 1 seq 19 lowscn 1986423 found to restore
RMAN-06025: no backup of log thread 1 seq 18 lowscn 1959113 found to restore
RMAN-06025: no backup of log thread 1 seq 17 lowscn 736604 found to restore
RMAN-06025: no backup of log thread 1 seq 16 lowscn 694859 found to restore
RMAN-06025: no backup of log thread 1 seq 15 lowscn 654358 found to restore
RMAN-06025: no backup of log thread 1 seq 14 lowscn 631019 found to restore
RMAN-06025: no backup of log thread 1 seq 13 lowscn 630977 found to restore
RMAN-06025: no backup of log thread 1 seq 12 lowscn 628120 found to restore
RMAN-06025: no backup of log thread 1 seq 11 lowscn 627821 found to restore
RMAN-06025: no backup of log thread 1 seq 10 lowscn 624694 found to restore
RMAN-06025: no backup of log thread 1 seq 9 lowscn 624184 found to restore
RMAN-06025: no backup of log thread 1 seq 8 lowscn 620379 found to restore
RMAN-06025: no backup of log thread 1 seq 7 lowscn 619730 found to restore
RMAN-06025: no backup of log thread 1 seq 6 lowscn 619728 found to restore
RMAN-06025: no backup of log thread 1 seq 5 lowscn 619725 found to restore
RMAN-06025: no backup of log thread 1 seq 4 lowscn 619722 found to restore
RMAN-06025: no backup of log thread 1 seq 3 lowscn 617154 found to restore
RMAN-06025: no backup of log thread 1 seq 2 lowscn 608546 found to restore
RMAN>
Edited by: O0O0O0O0O on Mar 13, 2013 1:28 PM -
RESTORE ARCHIVELOG ALL VALIDATE; - returns log file names
Environment:
Oracle 11.2.0.3 EE on Solaris 10.5
RMAN using control file as repository.
My archive logs are going to /arch/<SID>. During a time of unforeseen high activity the directory was filling up and some of the files had to be move to a different mount point. I have since done several Level 0 incremental backups including (plus) archivelogs.
My RMAN archivelog deletion setting is: CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK;
I have since begun to run more frequent archive log backups to keep the mount point cleaner.
Since I have several successful Level 0 backups including archivelogs, I manually deleted the archived logs on the secondary mount point.
I registered the logs in the secondary mount point using REGISTER ARCHIVELOG START IN '/xxxx';
I then ran a CROSSCHECK ARCHIVELOG ALL; to update the control file repository.
When I query the V$ARCHIVED_LOG view I see many entries for my deleted log files with a STATUS = 'X' (Expired) and a BACKUP_COUNT = 0.
I ran DELETE EXPIRED ARCHIVELOG ALL;
Now when I query the V$ARCHIVED_LOG view I see many entries with blank name column for the SEQUENCE# in my list and with a STATUS = 'D' (Deleted) and a BACKUP_COUNT = 0.
When I run a RESTORE ARCHIVELOG ALL VALIDATE; it returns a long list of my deleted files with:
RMAN-06025: no backup of archived log ... to restore
OK, enough background. My question is how do I get RMAN to not look for my deleted files since I have several good backups?
I realize my deletion policy says the files have to be backed up once to disk, which according to the V$ARCHIVED_LOG view they are not, but I was hoping since I ran the CROSSCHECK RMAN would not even be concerned with them.
Many thanks for any advice!!
-garyThanks for the help! Square brackets! Doh!
I changed the SQL just a bit. I have only one (1) thread and the primary database was running for several months before the standby was implemented so there are over 3500 sequence#'s in the V$ARCHIVED_LOG view for the Primary (DEST=1) that are not in the Standby (DEST=2).
Here's the SQL I ran, using the SQUARE brackets! :-)
SELECT SEQUENCE#
FROM V$ARCHIVED_LOG
WHERE DEST_ID=1
MINUS
SELECT SEQUENCE#
FROM V$ARCHIVED_LOG
WHERE DEST_ID=2It appears to me the Standby is accepting and applying the archived logs from the Primary based on looking at the most recent archived log sequence#'s.
I'm just trying to get rid of the entries in the RESTORE ARCHIVELOG VALIDATE; command output.
I don't have an RMAN Repository but am using the control files at the moment.
Any other suggestions are very welcomed!!
Thanks again!
-gary -
How to copy archivelog-files from a ASM instance to another ASM instance
Hello ,
our RAC database has to be moved to another Datacenter. The database has a size of several Terrabyte. Will will create a standby database (on a cluster) on the new datacenter (using RMAN backup). Since the RMAN backup takes rather long we would like to copy the archive logs to the new datacenter. Since the archivelog-files are stored on a dirskgroup of an asm instance we have the following question:
- how can the archivelog files get copied from the current location to the new location?
Rgds
JanVivaLaVida wrote:
Many thanks for your answer...
As a matter of fact the archivelogs are not backuped on a filesystem. If so we would copy them from the source to the destination host (that's easy).
The question is "how to get them copied from one ASM diskgroup to another ASM diskgroup". RMAN might be a good solution - but we would need to
figure that out...
We talking about 100 GB of archivelogs a day - therefore we don't want to wait until the standby database is configured and online. To have the archivelogs
already on the new host in the new datacenter would save alot of time.What is ASM version?
The copy is peer to peer? (i.e Can you copy files from one ASM to another directly?) -
Rman restore archivelogs files only, but in other machine.
Hello,
i need to restore archivelog files in another machine for use with logminer without use my actual +FRA for space reason and withouy use "set destination to"
How i can do it?
thanks and regardsHello,
in the new machine i have a clone database with a init.ora file that use db_recovery_dest to new path (not +FRA) in a filesystem.
When run a rman script this connect to target(production database) , rman catalog, and auxiliary (my clone database).
I restore a clone controlfile, so mount the clone database, then restore logfile from sequence = xxxx until sequence = XXX , BUT the archivelogfile was restored in target database (production database) inside the +FRA
This is my logfile of rman script.
Regards.
Iniciando restore en 19/06/12
canal t1: iniciando restauración del juego de copias de seguridad de archivos de datos
canal t1: restaurando archivo de control
archivo de salida=/RECOVERABD/controlXXXX.ora
canal t1: leyendo desde la parte de copia de seguridad c-3574442397-20120619-01
canal t1: parte 1 de la copia de seguridad restaurada
manejador de parte=c-3574442397-20120619-01 etiqueta=TAG20120619T063218
canal t1: restauración terminada, tiempo transcurrido: 00:00:16
restore terminado en 19/06/12
sentencia sql: alter database mount clone database
canal asignado: t4
canal t4: sid=2276 instancia=paire1 devtype=SBT_TAPE
canal t4: NMO v5.0.0.0
Iniciando restore en 19/06/12
canal t4: iniciando la recuperación de archive log al destino por defecto <--- default +FRA !!
canal t4: restaurando archive log
thread de archive log=1 secuencia=132141
canal t4: leyendo desde la parte de copia de seguridad B134414_ARCH.bak
canal t4: parte 1 de la copia de seguridad restaurada
manejador de parte=B134414_ARCH.bak etiqueta=TAG20120618T140157
canal t4: restauración terminada, tiempo transcurrido: 00:00:56
restore terminado en 19/06/12 -
How to restore specific backup file from RMAN?
Hi,
I am just begginer with Oracle DB so I do not have a lot knowledge.
I created two backups at April the 8th and April the 10th.
I did following from RMAN.
shutdown immediate
startup mount
configure channel 1 device type disk format '/opt/oracle/backup/std_%U';
backup database
startup
output was:
including current control file in backupset
including current SPFILE in backupset
it created two files: std-0so6l0vn(2 GB) and std_0to6l106 (7 MB).
First question - first file is backup and what is the second file???
Today I created also backup and it also created two files: std_0uo6morg (2GB) and std_0vo6morv (7MB)
Now I want to return backup from 2 days ago (*std-0so6l0vn*) but can't;
I do the the following:
shutdown immediate
startup mount
restore database from '/opt/oracle/backup/std_0so6l0vn'
but getting error - only SPFILE or control file can be restored from autobackup.
How to restore my backup from two days ago? It looks to me so complicated and hardly understandable.
What command to execute from RMAN to succeed in restore?
Thank youI still can not restore database; I tried Honza method.
i try
startup nomount
restore controlfile from 'restore controlfile from /opt/oracle/backup/sss_11o7efd9_1_1';
And getting message:
no autobackup found or specified handle is not a valid copy or piece
list backup returns:
BS Key Type LV Size Device Type Elapsed Time Completion Time
19 Full 6.80M DISK 00:00:01 19-APR-13
BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20130419T025522
Piece Name: /opt/oracle/backup/sss_11o7efd9_1_1
Control File Included: Ckp SCN: 3178467 Ckp time: 19-APR-13
SPFILE Included: Modification time: 02-APR-13
show all returns:
RMAN configuration parameters 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
configuration for DISK channel 2 is ignored
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 CHANNEL 1 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/dbs/snapcf_ctginst1.f'; # default
Please help I really must restore database but can't do it. -
RMAN9I HOW TO RESTORE ARCHIVE LOGS WITH LIMITED DISK SPACE
제품 : RMAN
작성날짜 : 2002-12-09
RMAN9I HOW TO RESTORE ARCHIVE LOGS WITH LIMITED DISK SPACE
==========================================================
PURPOSE
이 자료는 Oracle 9.2 이상의 RMAN에서 사용 가능한 MAXSIZE 기능에 대하여
설명할 것이다.
How to restore archive logs with limited disk space
Old Backup을 사용하여 RMAN으로 database를 recvoery할때, 모든 archived
redo logfile들을 Restore할 destination의 disk space가 모자란 경우를 종종 만난다.
이러한 경우 여러 개의 restore and recovery job으로 나누어 수행한다.
즉, 첫 번째 restore and recovery job이 끝나면 archived redo logfile들을 지우고
다음 적용될 것들을 restore한다. 그리고 다시 Recovery를 수행한다. 이러한 작업을
원하는 시점까지 recovery를 하기위해 반복적으로 수행한다.
Oracle 9iR2(9.2.0.x)부터 RMAN은 MAXSIZE option을 제공하는데 이것은 archive log
file이 restore될 disk의 space를 control할 수 있게 해 준다.
만약 disk space가 매우 제한적이라면, 즉 예를 들어 모든 archive log의 size 합보다
disk free space가 적다면 MAXSIZE option을 사용하는 것은 매우 유용하다.
이 OPTION이 기술되면 RMAN은 Media Manager에게 disk space 크기에 부합하는 만큼만
archive log들을 restore하도록 한다. 부가적인 restore operation들은 restore된
마지막 archive log가 적용될 때마다 발생한다.
MAXSIZE option은 이러한 작업들을 하나의 rman job으로 처리하게 해 주고
실수를 하지 않게 해 준다.
아래는 MAXSIZE를 설명하기 위한 예제이며 총 6 단계로 구성되어 있다.
STEP 1: Add data to the database to enforce log switches
STEP 2: Backup the database and archive logs and delete the logs
STEP 3: Add additional data to enforce new log switches
STEP 4: Remove the data file and simulate a database crash
STEP 5: Restore the data file from the backup
STEP 6: Recover the database using MAXSIZE
위 예제는 Unix와 Windows 모두에 적용될 수 있다.
STEP 6 는 다음과 같은 조건으로 두 번 수행될 것이다.
1) MAXSIZE가 archive log size보다 작은 경우:
이 경우 RMAN-6558 Error message를 만나게 된다.
그러므로 MAXSIZE를 archive log보다는 크게 설정해야한다.
2) MAXSIZE가 archive log size보다 큰 경우:
예를 들어 여러 개의 archive log를 포함할 수 있을 정도로 크게 설정하면
restore/recovery는 user에게 transparent하게 수행되어진다.
즉 archive log들은 restore된 후 applied되고 deleted되어 진다. 다시 새로운
archive log들이 restore되어지고 applied된 후 deleted 되어 진다. 이러한 작업은
recovery가 끝날 때까지 반복되어진다. 이러한 작업들이 진행되는 동안 RMAN은
아무런 Message도 발생시키지 않는다.
# Step 1: INSERT enough new data to generate log switches
create table rman_tst (col1 varchar2 (10));
begin
for i in 1..30000 loop
insert into rman_tst values(i,'test');
commit;
end loop;
end;
# Step 2: BACKUP the database and the archive logs automatically
# and then delete the input
run {
backup database format='/web01/usupport/krosenme/admin/backups/db_%d%s%t'
plus archivelog format='/web01/usupport/krosenme/admin/backups/arch_%d%s%t'
delete input;
# Step 3: INSERT enough new data to generate new log switches
begin
for i in 1..30000 loop
insert into rman_tst values(i,'test');
commit;
end loop;
end;
# Step 4: REMOVE users01.dbf file and crash the database
mv users01.dbf users01.org
shutdown abort
# Restore is now needed as the data file is deleted. The backup was
# taken before the new data was added to it, thus archive logs are
# needed to bring the database up to date
# Step 5: RESTORE the data file from the full backup
run {
restore datafile '/web01/usupport/krosenme/oradata/kro_920/users01.dbf';
# Step 6: RECOVER
run {
recover database delete archivelog maxsize 10 K;
# This will fail with RMAN-6558 as the archived log has a size of 16 KB,
# which is bigger than MAXSIZE limit of 10 KB. So the error is expected
# and MAXSIZE works as designed.
# Now rerunning STEP 6: but with MAXSIZE 50 K
run {
recover database delete archivelog maxsize 50 K;
RELATED DOCUMENTS
Recovery Manager Reference, Release 2 (9.2)cold backup means offline backup, you shut database normally and copy datafiles to another location.
i think operating system does not matter that much but it is RedHat Linux Enterprise Server.
backing up archivelogs whith rman script which is:
run {
allocate channel c1 type disk format '$BKUPLOC/arch_%d_%u_%s_%p.bkp';
change archivelog all validate;
sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
backup archivelog time between 'SYSDATE - (30*60/(60*60*24))' and 'sysdate';
release channel c1;
so here is the details.
1. because everything is lost, we restored all files(datafiles, controlfiles, redologs etc) from offline backup meaning copied all files from another location to corresponding location.
2. want to apply archive logs which were created after cold backup till disk failure and we have these archive logs with backups which were taken by rman.
So
first of all, we want to register these archive log rman backups(because these backup information does not exist in restored controlfile)
and then restore them and then apply them.
we need rman commands to register these backups and restore them.
Regards,
Kamil -
How to restore old prefs, etc after clean reinstall of 10.3.9?
Due to a fiasco with Drive Genius I was forced to reformat and reinstall 10.3.9. Luckly, I was bright enough to manually copy over the entire contents of the drive to a firewire drive before I started the drive genius project.
I was able to find directions on how to restore my users which worked perfectly.
I've copied all the apps back. But all the apps were in the main drive rather than in users, so the prefs, registrations etc are, I assume, stored in the old library.
Is there a way to replace the new library with the original to avoid several days work digging out the original packaging to get the serial numbers for re-entering so I can get back to work right away?The serial #s, etc were in fact in the original main library. I was able to restore the use of all the programs by manually replacing the missing items in each folder in the library. It took over an hour, but I got it all back and saved me from having to rummage through storage boxes for the original documentation to retrieve and re-enter all the info.
-
N8: How to restore music store widget after hard r...
Hi
I lost all nokia N8 widgets including Music store after I hard reset my N8.
I have really been searching but have been unable to find a work around for this. I am unable to play any OVI music on my phone as it searched for a license and ends up saying that this is not my registered device.
I really need some help.
Nokia care has failed to solve my problewm so far.
HELP!
MODERATOR'S NOTE: We have edited your post. Please refrain from posting irrelevant characters. Posting with a brief and concise concern would be enough to gather solution.I have been able to restore everything....except the Ovi Music Widget after a hardreset.
This might help -
http://www.nokian8blog.info/2011/06/how-to-restore-ovi-music-unlimited.html -
Dissapeared footer (where is written what page is loading and so on) how to restore it?
there is the screenshot ( http://j.imagehost.org/0213/Clipboard03.jpg )View > Statusbar = click it
-
How to restore my ipad?My ipad say on screen CONNECT TO ITUNE.How can i do when i connect with computer.It is need itune new version.Can you sent me.I will be waiting your answer.Please help me sir.
Check for Updates.
http://i1224.photobucket.com/albums/ee374/Diavonex/Album%208/78d42b19fa42e8d83b5 5a65e1333373f_zpsf58bbe10.jpg -
My macbook pro's screen display has suddenly gone into a strange colour setting where everything appears in a kind of infrared colour palette an I can;t seem to change it back. It's the same for all icon and websites, does anyone know how to restore?
Wow! I think I had this same issue just last night.
I was cleaning my macbook pro retina on the outside. Then I opened it up and was wiping dust off the monitor and I can't pinpoint exactly when, but the colors changed suddenly. It looked super strange, it was like green halo's and it looked worse when looking at it at an angle. Of course I took no pictures!!! I was freaking out that my 2 grand laptop was busted and I somehow removed a protective film or something.
But I digress... The image looked very green and spacey, it was almost a neat effect. After about 5 minutes it started to look a little more digital though. There were straight lines of this halo effect on the edges and top. After about 10 minutes it turned into a predominate issue with the blacks on screen. I could open a web browser and it was unnoticable on a white background. After about 15 minutes, you could only barely see the green cloud effect if you looked at the monitor from an extreme angle. After about 20 minutes, it was completely back to normal, I almost feel paranoid like I see a halo or something strange. But I believe that might be all in my head now.
So yerp, lemme know what you guys figure out. -
My old phone broke and I am having trouble figuring out how to restore my contacts on my "new" phone (LG ENV2 Black). Apparently the phone is so old that I am unable to install Backup Assistant on it, which sucks. I have all my old contacts saved on my computer as a CSV and also another copy on a micro SD as VCF. I have tried moving the CSV from my computer to my ENV2 via both Bluetooth and USB cable, but had no luck with either of those. I also tried to pop the micro SD into the ENV2, and although I can load all my old pictures/videos/etc. from the micro SD, I do not seem to be able to restore the contacts from card. I know there has to be some way to manually transfer these files; the contacts are still on my old phone as well; but I was unable to use the transfer wizard for that because my old phonedoesn't seem to be supported by that (Pantech Jester 2)
Google a program called bitpim, that might do what you want. Never used it but it's been talked about on the forums. Other than that you might have to input them manually. Mary
-
I just updated to ios7 and do not like the redesign. I want the old design back. Has anyone found out how to restore the old appearance. I do not understand why the change. I now have to unlock my phone to be able to check my battery level because my screensaver has a light color in the upper corner and I can't read the text. I want the gray panel back.
See Recover your iTunes library from your iPod or iOS device.
tt2
Maybe you are looking for
-
In LR5 i do: Merge to HDR Pro. After I apply my preset and PS attempts to convert HDR file, I get an error message from PS: "Adobe Photoshop CC 2014 has stopped working". Then PS Closes. My source files are 5 NEF files of 28 MB. I select 16-bit, I al
-
Hi, I have created Document Entities, Document catgories, Attchment functions. but, when trying to attach the document, when form opens it says FRM-40815: Variable Global.A7_1_PK1 does not exist. How to solve this error.? pl. help urgent. Thanks Kav
-
I've just installed Yosemite and find i cannot open iTunes. What should I do?
I cannot get iTunes to boot up.
-
What is whole system replacement
I have searched everywhere but I cannot find an explanation as to what this is so could someone please tell me what a whole system replacement is. I only know that it is a data recovery method. I also know that it is used after a disaster occurs in a
-
I have about 15,000 songs I would like to add to my iPhone 6 with 128 GB. I have connected the iPhone to my Mac but it is only downloading a few dozen songs an hour despite a download speed of 20 mbps. Is there a quicker, easier way to do this and st