RMAN restore controlfile error
I get this error below during the restoration of the control file. my auto backup controlfile is on and its still newsRMAN > restore controlfile to ' / TIFD/dumps/TIFD/backupset/c-916530472-20120830-01';
From restoration to 03-SEP-12
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 12 type of device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 03/09/2012 04:42:50
RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece
Thank you
If you try to restore automatic backup, use
Restore automatic backup controlfile;
and the element of particular backup.
Restore controlfile to ' / backup_dir/piece_name ";
Tags: Database
Similar Questions
-
I'm trying to restore a controlfile from an earlier date.
RMAN > backup controlfile list
Full 1463953 71.50 M SBT_TAPE 00:00:26 14 DECEMBER 14 19:27:11 BP key: 1463956 status: EXPIRED Tablet: NO Tag: TAG20141214T192638 Handle: ctrl_uaipq5s3l_s54610_p1_t866316405 Media: D05771 Control file included: cash SNA: 32882311416 cash time: 14 December 14 19:26:45
The following works:
Run {}
allocate channel ch10 device type sbt parms = "ENV = (NB_ORA_CLIENT = myhost)"; "
Restore controlfile to ' / tmp/test03.ctl ' to 'ctrl_uaipq5s3l_s54610_p1_t866316405 ';
}
Yet, using the syntax date breaks down
RMAN > run {}
2 > allocate channel ch10 device type sbt parms = "ENV = (NB_ORA_CLIENT = myhost)"; "
3 > set up to that time ' TO_DATE (December 14, 2014 19:26:45 ',' dd/mm/yyyy hh24:mi:ss') ";
4 > restore controlfile to ' / tmp/test04.ctl ';
{5 >}
allocated channel: ch10
channel ch10: sid = 976 devtype = SBT_TAPE
channel ch10: Veritas NetBackup for Oracle - version 7.1 (2011020313)
executing command: SET until clause
From restoration to February 26, 15 14:41:34
output channel: ch10
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 26/02/2015 14:41:35
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06101: no channel to restore a backup or a copy of the control file
I'm set the same channel on tape, but the 2nd syntax fails.
Anyone has any idea why?
Change the status of your backup controlfile AVAILABLE with this command:
BACKUP OF CONTROLFILE CHANGE TAG "TAG20141214T192638" AVAILABLE;
-
RMAN, restoration of ASM no - asm environment!
Dear friends,
WE are running Oracle 11 GR 2 CARS as our PRODUCTION server. also, we have a single instance, DATAGUARD, where production data are replicated.
On the end DATAGUARD, we take a weekly full backup RMAN. My db_name is 'isldb '.
Now I want to restore the backup, RMAN COMPLETE the DATAGUARD server to a new server NO - ASM using file system normal... For this reason, I have to follow the procedure below:
(1) take RMAN full backup of DATAGUARD END as a stage to mount and store it on ' / rmanback' file. I use the below taken backup script:
Run {}
allocate channels d1 device type disk format ' / rmanback/isl/$TODAY/df_%U_%T';
allocate channel device type d2 disc format ' / rmanback/isl/$TODAY/df_%U_%T';
backup database effective additional 0 CHECK the LOGIC AS BACKUPSET COMPRESS;
backup format ' / rmanback/isl/$TODAY/controlfile.ctlbk' (current controlfile);
backup format ' / rmanback/isl/$TODAY/spfile.spbak' (spfile);
ARCHIVELOG backup all;
output channel d1;
output channel d2;
}
(2) the transfer of the rman backup complete on a remote server on the same ' / rmanback' file.
(3) in the new server, I take the scene nomount database using a spfile (spfile has a single entry: 'DB_NAME = isldb')
(4) then I restore the controlfile successfully:
[oracle@PRIM ~] target rman $ /.
Recovery Manager: release 11.2.0.3.0 - Production Wed Aug 20 16:01:21 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ISLDB (unassembled)
RMAN > restore controlfile to ' / rmanback/isl/20140810_181405/controlfile.ctlbk';
From restoration to 20 August 14
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 332 type device = DISK
channel ORA_DISK_1: restore the control file
channel ORA_DISK_1: restore complete, duration: 00:00:01
output file name=/u01/app/oracle/oradata/isldg/control01.ctl
output file name=/u01/app/oracle/oradata/isldg/control02.ctl
Finished restore at August 20, 14
(5) to restore the data successfully file using the command below:
run
{
the value of newname for datafile '+ DATA/isldg/datafile/system.298.849413815' to ' / u01/app/oracle/oradata/isldb/system1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/sysaux.295.849413813' to ' / u01/app/oracle/oradata/isldb/sysaux1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/undotbs1.296.849413813' to ' / u01/app/oracle/oradata/isldb/undotbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/undotbs2.297.849413815' to ' / u01/app/oracle/oradata/isldb/undotbs2.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/users.299.849413849' to ' / u01/app/oracle/oradata/isldb/users1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_system_tbs.291.849413617' to ' / u01/app/oracle/oradata/isldb/bu_system_tbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_his_log_tbs.292.849413617' to ' / u01/app/oracle/oradata/isldb/bu_his_log_tbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_index_tbs.293.849413617' to ' / u01/app/oracle/oradata/isldb/bu_index_tbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_image_tbs.294.849413619' to ' / u01/app/oracle/oradata/isldb/bu_image_tbs1.dbf';
the value of newname for tempfile 1 to ' / u01/app/oracle/oradata/isldb/temp1.dbf';
restore the database;
}
RESTORATION came with success, and all data files store in the folder specified with success.
(6) now when I recover the database, then I found the below error:
> SQL > alter database open resetlogs;
ALTER database open resetlogs
ERROR on line 1:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.
> SQL > restore database;
ORA-00283: cool cancelled due to errors
ORA-01610: recovery using BACKUP CONTROLFILE option must be
> SQL > restore database until cancel using backup controlfile;
ORA-00283: cool cancelled due to errors
ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.
Could someone help me please, how can I recover as open my database?
Your archivelog was not "missing." He seems to have a different file name format.
No one can touch «_allow_resetlogs_corruption» action You are now on your own.
Hemant K Collette
-
Hi all
I perform a Production to a Dev Server refresh. I made a full backup of the production and trying to restore in the dev Setup...
I delivered the backup of the production to dev box... I created a database and put it in nomount mode...
So I'm trying to restore the controlfile, but I am gettign the error below:
RMAN > restore controlfile to ' / orabackup/bkp_030113/controlprod.ctl';
From restoration to January 4, 13
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 198 type device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at the 17:50:35 04/01/2013
RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece
Please suggest.
Kind regards
AalamiRMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece
Can you check the backup file permissions after you have moved production to the development area?
$ls ltr - /orabackup/bkp_030113/controlprod.ctl
And make sure you set DBID of production database.
BTW, FRA is configured?
Work around you can try to disable and after successful restoration, again, you can activate FRA. -
RMAN restore to another device Oracle 11 g 1
Hello
I have a big problem. I have on PC running Windows Server 2003 named "Host A" and another Windows Server 2003 "host B".
I made a backup of host A and you want to restore it to host B with the procedure.
Preparation & backup:
After this I got a Controlfile 9,6 mb and a 1 GB file backupSQLPLUS SYS AS SYSDBA SQL>SHUTDOWN IMMEDIATE SQL>STARTUP MOUNT SQL>ALTER DATABASE ARCHIVELOG; SQL>ALTER DATABASE OPEN; SQL>ARCHIVE LOG LIST; SQL>ALTER SYSTEM ARCHIVE LOG START; SQL>QUIT RMAN TARGET / RMAN>CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Oracle-Backup\backup/%T.bkp'; RMAN>CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'C:\Oracle-Backup\controlfile/%F.bkp'; RMAN>CONFIGURE CONTROLFILE AUTOBACKUP ON; RMAN>EXIT; RMAN TARGET / RMAN>BACKUP DATABASE; // maybe PLUS ARCHIVELOG RMAN>EXIT;
Then I restored to the second machine:
But when I now try to access the database control I got following error:Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Dokumente und Einstellungen\Administrator>rman Recovery Manager: Release 11.1.0.6.0 - Production on Mi Mai 16 11:13:33 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. RMAN> quit Recovery Manager abgeschlossen. C:\Dokumente und Einstellungen\Administrator>rman target / nocatalog Recovery Manager: Release 11.1.0.6.0 - Production on Mi Mai 16 11:14:02 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. Mit Ziel-Datenbank verbunden: XXX (DBID=1455796592) Kontrolldatei der Zieldatenbank wird anstelle des Recovery-Katalogs verwendet RMAN> shutdown immediate; Datenbank geschlossen Datenbank nicht angeschlossen Oracle-Instance heruntergefahren RMAN> set dbid 1449626294 Befehl wird ausgef³hrt: SET DBID RMAN> startup nomount; mit Zieldatenbank verbunden (nicht gestartet) Start nicht erfolgreich: ORA-01078: failure in processing system parameters LRM-00109: Parameterdatei 'C:\PROGRAMME\ORACLE\111\DATABASE\INITXXX.ORA' konnte nicht ge+ffnet werden Oracle Instance ohne Parameterdatei gestartet, um spfile abzurufen Oracle-Instance gestartet Gesamte System Global Area 159019008 Byte Fixed Size 1331852 Byte Variable Size 71306612 Byte Database Buffers 83886080 Byte Redo Buffers 2494464 Byte RMAN> restore spfile from 'c:\Oracle-Dump\CONTROLFILEC-1449626294-20120306-03.BK P'; Starten restore um 16.05.12 Zugewiesener Kanal: ORA_DISK_1 Kanal ORA_DISK_1: SID=98 Device-Typ=DISK Kanal ORA_DISK_1: Spfile wird aus AUTOBACKUP c:\Oracle-Dump\CONTROLFILEC-1449626 294-20120306-03.BKP zur³ckgeschrieben Kanal ORA_DISK_1: Zur³ckschreiben von SPFILE aus AUTOBACKUP abgeschlossen Beendet restore um 16.05.12 RMAN> shutdown immediate; Oracle-Instance heruntergefahren RMAN> startup nomount; mit Zieldatenbank verbunden (nicht gestartet) Oracle-Instance gestartet Gesamte System Global Area 535662592 Byte Fixed Size 1334380 Byte Variable Size 348128148 Byte Database Buffers 180355072 Byte Redo Buffers 5844992 Byte RMAN> restore controlfile from 'c:\Oracle-Dump\CONTROLFILEC-1449626294-20120306- 03.BKP'; Starten restore um 16.05.12 Zugewiesener Kanal: ORA_DISK_1 Kanal ORA_DISK_1: SID=208 Device-Typ=DISK Kanal ORA_DISK_1: Kontrolldatei wird zur³ckgeschrieben Kanal ORA_DISK_1: Restore abgeschlossen, abgelaufene Zeit: 00:00:03 Ausgabedateiname=C:\PROGRAMME\ORACLE\111\DATA\XXX\CONTROL01.CTL Ausgabedateiname=C:\PROGRAMME\ORACLE\111\DATA\XXX\CONTROL02.CTL Ausgabedateiname=C:\PROGRAMME\ORACLE\111\DATA\XXX\CONTROL03.CTL Beendet restore um 16.05.12 RMAN> alter database mount 2> ; Datenbank angeschlossen Freigegebener Kanal: ORA_DISK_1 RMAN> catalog start with 'c:\oracle-Dump\'; Starten implicit crosscheck backup um 16.05.12 Zugewiesener Kanal: ORA_DISK_1 Kanal ORA_DISK_1: SID=208 Device-Typ=DISK 10 Objekte auf _bereinstimmung gepr³ft Beendet implicit crosscheck backup um 16.05.12 Starten implicit crosscheck copy um 16.05.12 Kanal ORA_DISK_1 wird benutzt Beendet implicit crosscheck copy um 16.05.12 Suche nach allen Dateien im Recovery-Bereich Dateien werden katalogisiert... Keine Dateien katalogisiert Suche nach allen Dateien, die mit dem Muster c:\oracle-Dump\ ³bereinstimmen Datenbank kennt Dateiliste nicht ===================================== Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222642.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222669.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222949.BKP Dateiname: C:\ORACLE-DUMP\CONTROLFILEC-1449626294-20120306-03.BKP M÷chten Sie die obigen Dateien wirklich katalogisieren (geben Sie YES oder NO ei n)? yes Dateien werden katalogisiert... Katalogisierung erfolgt Liste mit katalogisierten Dateien ======================= Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222642.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222669.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222949.BKP Dateiname: C:\ORACLE-DUMP\CONTROLFILEC-1449626294-20120306-03.BKP RMAN> restore database; Starten restore um 16.05.12 Kanal ORA_DISK_1 wird benutzt Kanal ORA_DISK_1: Zur³ckschreiben von Datendatei-Backup Set beginnt Kanal ORA_DISK_1: Datendatei(en) werden zum Wiederherstellen aus Backup Set ange geben Kanal ORA_DISK_1: Datendatei 00001 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \SYSTEM01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00002 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \SYSAUX01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00003 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \UNDOTBS01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00004 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \USERS01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00005 wird zu C:\PROGRAMME\ORACLE\111\ORADATA\DBTT wiederhergestellt Kanal ORA_DISK_1: Datendatei 00006 wird zu C:\PROGRAMME\ORACLE\111\ORADATA\EM_LO G_TUEM wiederhergestellt Kanal ORA_DISK_1: Lesen aus Backup Piece C:\ORACLE-DUMP\BACKUPXXX777222669. BKP Kanal ORA_DISK_1: Piece Handle=C:\ORACLE-DUMP\BACKUPXXX777222669.BKP Tag=TA G20120306T151108 Kanal ORA_DISK_1: Backup Piece 1 wurde wiederhergestellt Kanal ORA_DISK_1: Restore abgeschlossen, abgelaufene Zeit: 00:02:05 Beendet restore um 16.05.12 RMAN> recover database; Starten recover um 16.05.12 Kanal ORA_DISK_1 wird benutzt Media Recovery starten Kanal ORA_DISK_1: Zur³ckschreiben von Archive Log in Standardziel wird begonnen Kanal ORA_DISK_1: Archive Log wird zur³ckgeschrieben Archive Log Thread=1 Sequence=10 Kanal ORA_DISK_1: Lesen aus Backup Piece C:\ORACLE-DUMP\BACKUPXXX777222949. BKP Kanal ORA_DISK_1: Piece Handle=C:\ORACLE-DUMP\BACKUPXXX777222949.BKP Tag=TA G20120306T151548 Kanal ORA_DISK_1: Backup Piece 1 wurde wiederhergestellt Kanal ORA_DISK_1: Restore abgeschlossen, abgelaufene Zeit: 00:00:01 Archive Log-Dateiname=C:\PROGRAMME\ORACLE\111\FLASH_RECOVERY\XXX2DB\ARCHIVE LOG\2012_05_16\O1_MF_1_10_7V73N5RW_.ARC Thread=1 Sequence=10 Kanal default: Archive Logs werden gel÷scht Archive Log-Dateiname=C:\PROGRAMME\ORACLE\111\FLASH_RECOVERY\XXX2DB\ARCHIVE LOG\2012_05_16\O1_MF_1_10_7V73N5RW_.ARC RECID=13 STAMP=783429893 Archive Log kann nicht gefunden werden Archive Log Thread=1 Sequence=11 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: Fehler bei recover Befehl auf 05/16/2012 11:24:57 RMAN-06054: Media Recovery fordert unbekanntes Archive Log f³r Thread 1 mit Sequ ence 11 und Start-SCN von 1094112 an RMAN> alter database open resetlogs; Datenbank ge÷ffnet RMAN> quit Recovery Manager abgeschlossen. C:\Dokumente und Einstellungen\Administrator>
' 503 service unavailable: Servlet error exception occurred the current application deployment descriptor do not include in this response.
and the restored data are not included.
I hope someone can tell me what I did wrong.
Thank you
Published by: 919309 on 07.03.2012 02:08
Published by: 919309 on 07.03.2012 02:12drop the repository and try with dbca
EMCA - deconfig dbcontrol db-rest drop
-
Hello world
I have some confusion about rman restore and recover procedures. I read doc available in this regard and google as well. A few more questions unanswered in my mind.
1. do the restore backup command restore controlfile also alongwith datafiles.
2 database is running in noarchivelog mode. Suppose one of say users.dbf data files has been removed. control files intact. the same seq # is available since the last log backup. Now to restore the database, I use the following steps.
1 rman > shutdown immediate
2 rman > startup mount
3 rman > restore database
4 rman > restore database
5 rman > alter database open;
I'm wrong. This is the one. In this scenario, the steps above can be used.
3. even when logseq is not available when the database is saved, I take the following steps.
1 rman > startup nomount;
2 rman > restore controlfile autobackup.
3 rman > change the editing of the database;
4 rman > restore database;
5 rman > recover noredo db;
6 rman > alter database open resetlogs;
It is a right. can I adopt this procedure in my scenario.
Please do not give all the links I want some explanation of your minds.
Geetanjali.sonidba wrote:
Hello world
I have some confusion about rman restore and recover procedures. I read doc available in this regard and google as well. A few more questions unanswered in my mind.
1. do the restore backup command restore controlfile also alongwith datafiles.
2 database is running in noarchivelog mode. Suppose one of say users.dbf data files has been removed. control files intact. the same seq # is available since the last log backup. Now to restore the database, I use the following steps.
1 rman > shutdown immediate
2.RMAN > startup mount
3.RMAN > restore database
4.RMAN > restore database
5.RMAN > alter database open;I'm wrong. This is the one. In this scenario, the steps above can be used.
If after the last COLD backup is there not get command of newspaper (this means journal seq number is the same), so you can restore your database since the last backup and can retrieve it. And if thi does not need perform full restoration/recovery. At instead step 3 with DATA RESTORE
(or RESTORE TABLESPACE USERS) file and step 4 instead with RECOVER DATAFILE (or RECOVER TABLESPACE USERS) and after that you can open the database by using ALTER DATABASE OPEN. If you have lost datafile users.dbf it means that this (tablespace) datafie has been automatically disconnected. 3. even when logseq is not available when the database is saved, I take the following steps.
1 rman > startup nomount;
2 rman > restore controlfile autobackup.
3.RMAN > change the editing of the database;
4 rman > restore database;
5 rman > recover noredo db;
6 rman > alter database open resetlogs;
It is a right. can I adopt this procedure in my scenario.Yes you are right in this case. There, you have to restore/recovery complete database, because of your database running in NOARCHIVELOG mode. But after database restore (step4) you can just issue RESTORE database and can open with RESETLOGS options also. Also if you have incremental backups can run NOARCHIVELOG mode even RETRIEVE the NOREDO of DATABASE then you can open the database.
-
friends,
I'm trying to restore database on different hosts for these days, and it fails to error below and continues to restore.
size of DB is TB so I have to be careful before trying again...
Host: linux
DB: 11 GR 2
Restoration of output*:
Restoration finished in February 1, 13
RMAN-00571 =.
RMAN-00569 = following Message of ERROR stack
RMAN-00571 =.
RMAN-03002: failure of the switch control 01/02/2013
ORA-19563: file header validation failure
Complete recovery manager
Restore script: *
Run {}
Restore automatic backup controlfile;
SQL "alter database mount";
the value of newname for datafile 'ABC' "XYZ".
"
"
"
CONFIGURE CONTROLFILE AUTOBACKUP
SET UP THE DEVICE TYPE DISK PARALLELISM 2;
restore the database check readonly;
switch datafile;
recover the database check readonly;
}
quick thinking?
Details of the DBHello;
I'm conflict thinking with your "set newname. Perhaps get it back has a conflict with one of the file names.
Here's an example of how to do this:
restore_test.sh echo "Starting RMAN..." $ORACLE_HOME/bin/rman << EOF CONNECT TARGET / STARTUP NOMOUNT; SET DBID 3754763357; #DBID of PROD database RUN { ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u03/oradata/RCATALOG_rman'; RESTORE CONTROLFILE FROM '/u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1'; ALTER DATABASE MOUNT; SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/RECLONE/system01.dbf'; SET NEWNAME FOR DATAFILE 2 TO ' /u01/app/oracle/oradata/RCATALOG/sysaux01.dbf'; SET NEWNAME FOR DATAFILE 3 TO '/u01/app/oracle/oradata/RECLONE/undotbs01.dbf'; SET NEWNAME FOR DATAFILE 4 TO '/u01/app/oracle/oradata/RECLONE/users01.dbf'; SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/RECLONE/rman02.dbf'; SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/RECLONE/things01.dbf'; SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/RECLONE/otn01.dbf'; SET NEWNAME FOR DATAFILE 8 TO '/u01/oradata/RECLONE/app_idx01.dbf'; SET NEWNAME FOR DATAFILE 9 TO '/u01/oradata/RECLONE/app_dat01.dbf'; SET NEWNAME FOR DATAFILE 10 TO '/u01/app/oracle/oradata/RECLONE/audit_aux01.dbf'; SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/RECLONE/temp01.dbf'; RESTORE DATABASE; SWITCH DATAFILE ALL; RECOVER DATABASE; release channel c1; } ALTER DATABASE OPEN RESETLOGS; exit EOF
Best regards
mseberg
-
RMAN-01005: syntax error:
Hi all
I have a backup script as below
It gives the following errorRUN { ALLOCATE CHANNEL ch00 TYPE DISK FORMAT 'E:\BACKUP\rmanbackup\db\%d_DB_%u_%s_%p'; ####crosscheck backup; backup filesperset 4 INCREMENTAL LEVEL 0 AS COMPRESSED BACKUPSET database include current controlfile; sql "alter system archive log current"; release channel ch00; ALLOCATE CHANNEL CH01 TYPE DISK FORMAT 'E:\BACKUP\rmanbackup\ar\al_%U'; backup filesperset 4 AS COMPRESSED BACKUPSET archivelog all delete input; restore database validate; delete noprompt archivelog until time 'SYSDATE-1'; ###delete backup completed before 'sysdate-1'; delete obsolete device type disk; RELEASE CHANNEL CH01; }
I have search the Internet and find the following commandRMAN-06091: no channel allocated for maintenance (of an appropriate type)
but it gives the following errorallocate channel for maintenance type disk; delete obsolete device type disk;
I think my rman is not recognize the command.RMAN-00558: error encountered while parsing input commands RMAN-01005: syntax error: found "for": expecting one of: "channel_id, double-quoted-string, equal, identifier, single-quoted-string"
my version of oracle's
Kindly help.Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod PL/SQL Release 10.1.0.2.0 - Production CORE 10.1.0.2.0 Production TNS for 32-bit Windows: Version 10.1.0.2.0 - Production NLSRTL Version 10.1.0.2.0 - Production
"ALLOCATE CHANNEL FOR MAINTENANCE" should not be used as a block RUN
-
Hello all,.
One of our backups RMAN fails with the following error message. Any suggestions would be greatly appreciated.
==================================================================================================
From backup 2008-12-30 22:03:47
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to 2008-12-30 22:03:47
RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier
RMAN >
RMAN > #BACKUP # ARCHIVELOG delete all '% d_bkp_al_ % t_Set % s_Piece %p' entry FORMAT;
2 >
3 > # DELETE ARCHIVELOG until ' SYSDATE-7 ";
4 >
5 > # check if the database can be restored
6 > RESTORE DATABASE # VALIDATE;
7 >
8 > # check if controlfile can be restored
9 > #RESTORE # CONTROLFILE to ' / backups/admin/custpr/custpr_bkp_cntlfile.ctl' VALIDATE;
10 >
11 > # check if archivelogs for these past two weeks can be restored
12 > # RESTORE ARCHIVELOG FROM TIME ' SYSDATE-7' VALIDATE ';
13 >
14 > #-check all backups on backup media are intact
15 > # CROSSCHECK BACKUP OF DATABASE;
16 >
17 > #-display based on a list of files that need to be stored on the retention
18 > policy #. For this case study, the files that do not have at least 1 backups
19 > # will be reported.
20 > REPORT NEED backup.
RMAN retention policy apply to the order
RMAN retention policy is set to 7 days recovery window
Report of the files whose recovery needs more 7 days of archived newspapers
Days of files name
---- ----- -----------------------------------------------------
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of command report at 2008-12-30 22:03:48
RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier
RMAN >
RMAN > #-remove unnecessary backups. This command deletes the backups based on the
2 > retention policy of #.
3 > # commented DELETE OBSOLETE - TSM not configured to remove on 68
4 > #DELETE # OBSOLETE;
5 >
6 > #-complete list of the existing backups
7 > LIST BACKUP;
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the list command at 2008-12-30 22:03:49
RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier
RMAN >
RMAN > # end of file.
2 > * end-of-file *.
RMAN >
Published by: ORA_UMAIR on December 31, 2008 07:51No help is possible.
You publish a file of newspaper only, and can not see the command that failed.
Also you include, contrary to the recommendation in the post on Forums label, the complete version number of 4-digit.
This is important because they either has an error in your script that does not find RMAN or you hit a bug.-----
Sybrand Bakker
Senior Oracle DBA -
RMAN restore: what is the DBID?
Hello
There were a few problems with plesk on our server and there is no way except the OS reload. Here is the log for each backup car of the day:
XE Backup Journal
Recovery Manager: release 11.2.0.2.0 - Production on Mon Oct 5 02:30:02 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: XE (DBID = 2713545907)
RMAN >
echo on
RMAN > configure redundancy 2 retention policy;
using the control file of the target instead of recovery catalog database
RMAN old configuration settings:
CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;
new RMAN configuration settings:
CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;
new RMAN configuration settings are stored successfully
RMAN > configure controlfile autobackup format clear device type disk;
RMAN configuration settings are reset to the default value
RMAN > configure controlfile autobackup on;
RMAN old configuration settings:
CONFIGURE CONTROLFILE AUTOBACKUP
new RMAN configuration settings:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration settings are stored successfully
RMAN > sql "create pfile =" / u01/app / . Oracle / Product/11.2.0/XE/DBS/ " spfile2init.ora" of spfile ";
sql statement: create pfile = "/ u01/app / Oracle / Product/11.2.0/XE/DBS/ spfile2init.ora "of spfile
RMAN > backup backupset device type disk database;
From backup October 5, 15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 114 type device = DISK
channel ORA_DISK_1: from full data file backup set
channel ORA_DISK_1: specifying datafile (s) in backup set
file number of the input data file = 00001 = / var/oradata/XE/system name. DBF
file number of the input data file = 00002 name = / var/oradata/XE/sysaux. DBF
file number of the input data file = 00003 name = / var/oradata/XE/undotbs1. DBF
Enter a number of file datafile = name=/var/oradata/XE/users.dbf 00004
channel ORA_DISK_1: starting total, 1-5 October 15
channel ORA_DISK_1: finished piece 1 at 5 October 15
piece handle = / var/oracle_fra/XE / backupset/2015_10_05/o1_mf_ nnndf_TAG20151005T023003_ c149qwxk_.BKP tag = TAG20151005T023003 comment = NONE
Channel ORA_DISK_1: backup complete set, time: 00:01:56
Finish backup October 5, 15
From control file and SPFILE Autobackup 5 October 15
piece handle = / var/oracle_fra/XE / backup automatic/2015_10_05/o1_mf_s_ 892261919_c149vhn0_.BKP comment = NONE
File control finished and Autobackup SPFILE to 5 October 15
RMAN > configure controlfile autobackup.
RMAN old configuration settings:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration settings:
CONFIGURE CONTROLFILE AUTOBACKUP
new RMAN configuration settings are stored successfully
RMAN > delete noprompt obsolete;
RMAN retention policy apply to the order
RMAN retention policy is set to 2 redundancy
using channel ORA_DISK_1
Radiation of the obsolete following backups and copies:
Making key time filename/handle type
-------------------- ------ ------------------ --------------------
Backup Define 1265 3 October 15
Backup piece 1265 3 October 15/var/oracle_fra/XE/backupset /2015_10_03/o1_mf_nnndf_TAG20151003T023003_c0z0zwm9_. BKP
Log archiving 669 3 October 15/var/oracle_fra/XE/archivelog / 2015_10_03/o1_mf_1_730_ c0z13f0x_.arc
Backup Define 1266 3 October 15
Backup piece 1266 3 October 15/var/oracle_fra/XE/autobackup /2015_10_03/o1_mf_s_892089109_c0z1364t_.bkp
deleted backup room
backup piece handle = / var/oracle_fra/XE / backupset/2015_10_03/o1_mf_ nnndf_TAG20151003T023003_ c0z0zwm9_.BKP RECID = 1265 STAMP = 892089004
Delete archived log
name = archived log file / var/oracle_fra/XE / ARCHIVELOG/2015_10_03/o1_mf_1_ 730_c0z13f0x_.arc RECID = 669 STAMP = 892089118
deleted backup room
backup piece handle = / var/oracle_fra/XE / backup automatic/2015_10_03/o1_mf_s_ 892089109_c0z1364t_.BKP RECID = 1266 STAMP = 892089110
3 items deleted
RMAN >
Complete recovery manager.
Recovery Manager: release 11.2.0.2.0 - Production on Mon Oct 5 02:32:04 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: XE (DBID = 2713545907)
RMAN >
using the control file of the target instead of recovery catalog database
SQL statement: alter system archive log current
RMAN >
Complete recovery manager.
The data files and RMAN backup files resides on the other HDD that are:
/ var/oradata/XE
/ var/oracle_fra
I also copied the following files:
init.ora
spfile2init.ora
spfileXE.ora
Now the OS is reloaded, and I installed oracle from scratch:
SQL > SELECT * FROM v version $;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE Production 11.2.0.2.0
AMT for Linux: Version 11.2.0.2.0 - production
===================================
] # cat/etc/centos-release
CentOS release 6.7 (Final)
The following folders/files are on my slave drive:
oradata/disk1 /.
/ Disk1/oradata/XE
/Disk1/oradata/XE/control.dbf
/Disk1/oradata/XE/redo10_01.dbf
/Disk1/oradata/XE/redo11.dbf
/Disk1/oradata/XE/redo12.dbf
/Disk1/oradata/XE/redo13.dbf
/Disk1/oradata/XE/redo14.dbf
/Disk1/oradata/XE/redo15.dbf
/Disk1/oradata/XE/SYSAUX.dbf
/Disk1/oradata/XE/system.dbf
/Disk1/oradata/XE/temp.dbf
/Disk1/oradata/XE/undotbs1.dbf
/Disk1/oradata/XE/users.dbf
oracle_fra/disk1 /.
/ Disk1/oracle_fra/XE
/ Disk1/oracle_fra/XE/ARCHIVELOG
/ Disk1/oracle_fra/XE/Autobackup
/ Disk1/oracle_fra/XE/backupset
/ Disk1/oracle_fra/XE/onlinelog
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_09_29
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_09_30
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_01
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_02
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_03
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_04
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_05
/ Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_06
/Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_04/o1_mf_1_731_c11ognk8_.arc
/Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_05/o1_mf_1_732_c149vo3c_.arc
/Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_05/o1_mf_1_733_c15dshcn_.arc
/Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_06/o1_mf_1_734_c18sw1q9_.arc
/ Disk1/oracle_fra/XE/Autobackup/2015_09_29
/ Disk1/oracle_fra/XE/Autobackup/2015_09_30
/ Disk1/oracle_fra/XE/Autobackup/2015_10_01
/ Disk1/oracle_fra/XE/Autobackup/2015_10_02
/ Disk1/oracle_fra/XE/Autobackup/2015_10_03
/ Disk1/oracle_fra/XE/Autobackup/2015_10_04
/ Disk1/oracle_fra/XE/Autobackup/2015_10_05
/Disk1/oracle_fra/XE/autobackup/2015_10_04/o1_mf_s_892175488_c11ogk7m_.BKP
/Disk1/oracle_fra/XE/autobackup/2015_10_05/o1_mf_s_892261919_c149vhn0_.BKP
/ Disk1/oracle_fra/XE/backupset/2015_09_29
/ Disk1/oracle_fra/XE/backupset/2015_09_30
/ Disk1/oracle_fra/XE/backupset/2015_10_01
/ Disk1/oracle_fra/XE/backupset/2015_10_02
/ Disk1/oracle_fra/XE/backupset/2015_10_03
/ Disk1/oracle_fra/XE/backupset/2015_10_04
/ Disk1/oracle_fra/XE/backupset/2015_10_05
/Disk1/oracle_fra/XE/backupset/2015_10_04/o1_mf_nnndf_TAG20151004T023003_c11ocwg1_.BKP
/Disk1/oracle_fra/XE/backupset/2015_10_05/o1_mf_nnndf_TAG20151005T023003_c149qwxk_.BKP
/Disk1/oracle_fra/XE/onlinelog/o1_mf_1_9d4vrb2o_.log
/Disk1/oracle_fra/XE/onlinelog/o1_mf_2_9d4vrcn4_.log
/Disk1/oracle_fra/XE/onlinelog/o1_mf_3_9d4vrfbh_.log
/Disk1/oracle_fra/XE/onlinelog/o1_mf_4_9d4vrgt3_.log
/Disk1/oracle_fra/XE/onlinelog/o1_mf_6_9d4vr88o_.log
Now I want to restore the last backup of the database:
I googled and found this article: How do to restore database Oracle using RMAN (with examples) but do not know what is:
RMAN > SET DBID 12345;
Question-1: Which means the VALUE XE 1521 in my case?
Question-2: Lbooking for a restore script
It will be the first time in my career to restore the database
Thank you in anticipation
I guess that the following be useful: Oracle Database 11g: example of disaster recovery. When you restore a database from scratch, you need to know and define the DBID to identify the files required for the restoration, which must also match your target database, which is the database or the instance that you want to restore.
-
Hi all
on 11.2.0.4 on Win 2008
I have to run this every morning in a batch file:
Restore controlfile from "C:\BACKUP\ORCL\CTL_ORCL_20140715_4_1"
The problem is that the name of the file baclup (CTL_ORCL_20140715_4_1) is not the same. So how do you tell RMAN to restore from a generic name like C:\BACKUP\ORCL\CTL_ORCL*?
Any solution?
Thank you.
Thank you for your attention.
The database to create would then be on another server, but with the same database name:
Can duplicate us with the same name?
We want to be able to switch to the new database from the original crash.
Kind regards.
-
Missing files in the command "copy list" once restored controlfile
Hello
Perform the restore/recovery exercise (11 GR 2 on ASM), I did the following:
1 / the DB running, "copy list" in RMAN (to retrieve a list of my backups).
2 / done one the judgment then went to AMSCMD and deleted all the files in data/ctlfile/spfile manually
(wanted to test a complete restoration with nothing but archives and backups),.
3 / managed to restore my spfile with ' restore spfile to ' + DATA...» »,
4 / then could "startup mount" my DB and restore controlfile with
«Restore controlfile from «+ FRA/DBNAME/BACKUPSET/2014_01_29/ncnnn...»» » ; »
5 / then I "copy list" once again
and here, I saw 3 files were missing (so I started to meet a lot of problems
so we can still restore/recovery...)
Someone has already encountered this problem before?
Thank you very much in advance...
SEB
Hello
When you have restored a controlfile from a backup, it will list only copies or backup that have been registered with this controlfeil, if you want to catalog backups to restore controlfile, you can use the catalog command.
Thank you
-
Hot backup RMAN script gives error in R12.
Hi experts
I m facing more prob when it is run the backup script. 1 day before the same script runs correctily, but now it gives me error in the rest of the command channel allocatioion runs correctly.
[root@testerp rman_log] # cat UAT_daily_rman_hot_bkp_01-11 - 14_140301.log
-bash: / root/.bash_profile: permission denied
Recovery Manager: release 11.1.0.7.0 - Production on Sat Jan 11 14:03:01, 2014
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: UAT (DBID = 2855851979)
connected to the recovery catalog database
RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 > 11 > 12 >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'end-of-file': expected an of: "assign, modify, Advisor, backup, beginline, blockrecover, catalog, edit, copy, convert, duplication, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restoration, repair, resync}, together, setlimit, sql, switch, start, stop, send, display, transport, post.
RMAN-01007: column 1 row 12 file: entry standard
RMAN >
RMAN >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an of: 'for '.
RMAN-01008: the bad ID was: c2
RMAN-01007: in the file column 18 row 1: entry standard
RMAN >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an of: 'for '.
RMAN-01008: the bad ID was: c3
RMAN-01007: in the file column 18 row 1: entry standard
RMAN >
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an of: 'for '.
RMAN-01008: the bad ID was: c4
RMAN-01007: in the file column 18 row 1: entry standard
RMAN >
From backup 11 January 14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 362 type device = DISK
channel ORA_DISK_1: backup set from incremental level 1 datafile
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data06.dbf 00021
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_data01.dbf 00392
Enter a number of file datafile = 00401 name=/d06/UAT/db/apps_st/data/a_txn_data02.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_data03.dbf 00402
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data07.dbf 00022
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_data04.dbf 00014
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data05.dbf 00020
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/sysaux01.dbf 00011
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/sysaux02.dbf 00018
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_data08.dbf 00023
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/undo01.dbf 00379
Enter a number of file datafile = name=/d06/UAT/proddata/sysaux03.dbf 00024
Enter a number of file datafile = name=/d06/UAT/proddata/sysaux04.dbf 00025
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_ind11.dbf 00033
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_ind09.dbf 00029
Enter a number of file datafile = name=/d06/UAT/proddata/a_txn_ind10.dbf 00030
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind06.dbf 00015
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind07.dbf 00026
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind08.dbf 00028
Enter a number of file datafile = 00393 name=/d06/UAT/db/apps_st/data/a_txn_ind01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind02.dbf 00403
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind03.dbf 00404
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind04.dbf 00405
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_txn_ind05.dbf 00406
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_media01.dbf 00400
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system08.dbf 00353
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system12.dbf 00013
Enter a number of file datafile = 00352 name=/d06/UAT/db/apps_st/data/system09.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_ref01.dbf 00394
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_ref02.dbf 00407
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_summ01.dbf 00396
Enter a number of file datafile = 00395 name=/d06/UAT/db/apps_st/data/a_int01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue02.dbf 00008
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue03.dbf 00027
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue04.dbf 00031
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_queue01.dbf 00399
Enter a number of file datafile = 00001 name=/d06/UAT/db/apps_st/data/system01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system02.dbf 00002
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system03.dbf 00003
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system04.dbf 00004
Enter a number of file datafile = 00005 name=/d06/UAT/db/apps_st/data/system05.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_archive01.dbf 00398
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/system06.dbf 00295
Enter a number of file datafile = 00351 name=/d06/UAT/db/apps_st/data/system07.dbf
Enter a number of file datafile = 00354 name=/d06/UAT/db/apps_st/data/system11.dbf
Enter a number of file datafile = 00288 name=/d06/UAT/db/apps_st/data/system10.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/apps_ts_tools01.dbf 00012
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_ref03.dbf 00016
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/MLSEIGL01.dbf 00019
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/RMAN01.dbf 00032
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_nolog01.dbf 00397
Enter a number of file datafile = 00314 name=/d06/UAT/db/apps_st/data/portal01.dbf
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/a_int02.dbf 00017
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/ctxd01.dbf 00006
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/olap.dbf 00010
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/odm.dbf 00009
Enter a number of file datafile = name=/d06/UAT/db/apps_st/data/owad01.dbf 00007
channel ORA_DISK_1: starting piece 1 to January 11, 14
[root@testerp rman_log] #.
###########################################################################################################################
backup script is below:
in this script, it returns error only on the rest of allocaition to control backup channel all that operate manually or with a script it works correctly.4
I m not able to find out why it returns the error distribution challnel 1 day before it works properly.
[orauat@testerp rman_script] $ cat rman_backup.sh
#! / bin/sh
#############################################################################
#ORACLE_SID = UAT
#BACKUP_START_TIME ='date + "%y" "%m" "%d"_"hour" "%m" '%s' '
#ORACLE_HOME=/d06/UAT/db/tech_st/11.1.0
#PATH = $PATH: $(ORACLE_HOME): $(ORACLE_HOME) / bin
#export ORACLE_SID
#export ORACLE_HOME
#export PATH
/D06/UAT/DB/tech_st/11.1.0/bin/RMAN catalogue rman007/rman target sys/sysuat < < EOF
run
{
allocate channels c1 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_Arch_%c_%U';
SQL 'alter system switch logfile;
SQL 'alter system switch logfile;
SQL 'alter system archive log current';
remove expired archivelog all;
overlap archivelog all;
ARCHIVELOG backup all;
delete noprompt archivelog all completed before ' sysdate-4' saved 1 time to disk. "
allocate channel c2 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
allocate channels c3 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
allocate channel c4 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
database backup incremental level 1;
remove the disc peripheral type of backup expired;
remove the obsolete device type disk.
output channel c1;
output channel c2.
output channel c3.
output channel c4.
}
output
EXPRESSIONS OF FOLKLORE
concerning
pritesh Rodriguez
The %U in the FORMAT provides a Unique name. You can take the backup (weekly) L0 and the (daily) L1 in the same folder OR in different folders - Oracle is not meet all the requirements on the record.
Hemant K Collette
-
RMAN restore in the State of the mount in Oracle 11 g DB
I have a question which can be very naïve, it is to confirm if the RMAN restore happens in the mount status of data or can it also happen when the DB is in open State?
I hope my question is clear what is the eligible state of the database in which the RMAN restore can happen.
Please get back with the answer to my query.
Concerning
addition of HemantKChitale response
If you must restore controlfile, restoration can be done with the database OPEN or MOUNT, it should be in NOMOUNT State.
-
Need help with RMAN archive destination error during hot backup
Hello
Oracle 8.0.6, Win 2000 Server.
We take the cold daily backup as our backup strategy. We wanted to implement the backup hot. If one day, I turned on the log mode archive and set the directory to archive in F:\drive to store all archived generated. I took the backup and put the database in noarchive log mode. We continued with offline backup.
After a few days, I wanted to test the hot backup again. I created the directory of the archive in E:\archive\ instead of F:\archive\. When I started the hot backup, all files have been copied except the archives.
The error was:
RMAN-03022: compilation command: sql
RMAN-06162: SQL statement: alter system archive log current
RMAN-03023: executing command: sql
RMAN-03022: compilation command: backup
RMAN-03026: recovery error release of channel resources
RMAN-08031: output channel: c1
RMAN-08031: output channel: c2
RMAN-00569: = error message stack follows =.
RMAN-03002: failure during the compilation of command
RMAN-03013: type command: backup
RMAN-06089: journal archived F:\ARCHIVE\ARCH1_0000327116.ARC not found or at odds with catalog
Complete recovery manager.
RMAN is looking for the destination of the journal archive old i.e. 'f:\archive\ '. I don't have the backup of the old archives of destination. I put the new destination to archive E:\archive\ in the initorcl.ora file, rman is always looking for destination F:\archive\.
Please suggest what to do. How can I remove old information from archive of controlfile and say rman, look in the new archives destination i.e. E:\archive\Hello
WOW 8.0.6.
Maybe you can run a cross?change archivelog than any overlap;
Update
Found some docs online for 8.0
http://download.Oracle.com/docs/CD/A58617_01/server.804/a58396/TOC.htm
She does not mention the overlap.
With the change command, you should be able to do the cleaning as well.
If you have moved the archivelogs to the new location, you can use catalog according to the doc.
Kind regards
TychoEdited by: tychos on mrt-27-2011 08:26
Maybe you are looking for
-
I created a JavaScript module that allows to detect if a Firefox extension is installed in the client browser. I can check if a Firefox plugin is installed by querying navigator.plugins object, but I can't understand how to extensions.
-
Satellite A60 USB Driver issue - 28 error code
I have a laptop satellite A60. I had a crash of the system due to problems of graphics card and had to reinstall windows xp pro etc... Now, I unplugged my USB2.0 hub to go sit somewhere else in the House. The day after that when I plugged in the rear
-
I can't logon and I get the notice. The user profile Service has not logon. User profile cannot be loaded. PLEASE... HEEEELP.
-
775de753 of the module ntdll.dll access violation
I am getting access violation 775de753 in module ntdll.dll which I can't very well what the problem is with the software. can someone help me in this reregard?
-
I have creative Cloud on multiple devices?
If I buy and download creative cloud on my regular computer, also download them on my surface 3 pro without redemption?