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
Tags: Database
Similar Questions
-
Hello
If I have two full backups in my FRA (say 7 to 14 days)
Q1. I assume that if I run it.
RMAN > restore database;
It will go to the last backup (7 days ago)?
Q2. How to restore the backup of ago 14 days instead?
Q3. If I restore the database of 14 days but then question
RMAN > recover database until < 3 days >
RMAN would simply apply the recovery logs archived for 14 days to the point of recovery or it would be smart enough to realize, there a backup to restore all first 7 days ago, then apply 7 days recovery logs, to the point of recovery?
Q4. Can you do an online backup as a copy of the Image instead of a backup set or you can offline backups when you use a copy of the Image?
All wisdom, greatly appreciated
Jim
(1) switching is not required for recovery. You have just enough do to standardize the data files. It doesn't matter if the switch is produced or not.
(2) "extra small set of archivelogs" can be enormous if the backup is long-term with many DML during backup.
You need a sufficiently archivelogs, regardless of the copy backupset or image, to make the data files in compliance.
(3) hot RMAN copy backup data files, while they are updated, but in order to avoid a block inconsistent read to avoid corruption. The data files are not frozen, as with the hot user managed backup.
-
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.
-
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 level 0, 1 incremental level and ARCHIVELOGs
I can't understand it and I read through the documentation and the web.
On linux 64-bit in 11.2.0.3, I do weekly backups of level 0 and increments of 1 level every night. During the day, I also do ARCHIVELOG backups.
I know I need to restore the LEVEL 0 database files (which I can do it), then later increments of 1 LEVEL of restoration (which I just can't), then apply ARCHIVELOGs (what I do).
My problem is HOW to apply files of database LEVEL 1 of the above LEVEL 0 incremental backups restored?
Thanks in advance!default channel: deletion of Journal archives
And I haven't used the command "recover archivelog deletion of database; I used "recover the database.
This isn't a problem. At the time of recovery, it is common that you see these messages.
During restore, RMAN restores the archives at the local site, and finally when the recovery is complete, it deletes the temporarily stored archives.
rewh2oman
Handle: rewh2oman
Status level: Beginner
Join date: January 9, 2007
Messages total: 87
Total Questions: 6 (4 pending)
Name russIf you feel that your questions have been answered, then please provide appropriate points and consider the son of closing. Please clean the forum!
-
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 news
RMAN > 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 youIf you try to restore automatic backup, use
Restore automatic backup controlfile;and the element of particular backup.
Restore controlfile to ' / backup_dir/piece_name "; -
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.
-
RMAN restore % complete query
version 10203
I'm looking for a good query to find our age % RMAN restore/recovery
I know that my db size is 160 GB and 50 GB has been restored by rman restore in the last 3 hours, so I guess... what happens if recovery end up with an error, I have to restore again and spent several hours again or I can just correct the rman error and just do recovery...?
_______________________________________________________________________________________
Here is the command that i began the restoration
RUN
{
until the SNA 4475223426780.
allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
allocate channel t2 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
allocate channel t3 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
allocate channel t4 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
CONFIGURE DEVICE TYPE 'sbt_tape' 4 of PARALLELISM;
restore the database;
recover the database;
ALTER database open resetlogs;
}
Published by: DBA2008 on October 13, 2010 11:02RMAN the fact on its own that you mentioned is expected as shown - for backups, restorations of not only this setting.
Published by: rui_catcuddler on October 13, 2010 11:18
-
Hello
10g R2 on Unix
I'm trying to copy a journal archived but it fails:
Any solution?RMAN> run{ 2> 4> set archivelog destination to '/home/oracle/'; 5> restore archivelog sequence=364825 thread=1; 6> } using target database control file instead of recovery catalog allocated channel: CH_1 channel CH_1: sid=467 instance=XXX devtype=SBT_TAPE channel CH_1: NMO v4.5.0.0 allocated channel: CH_2 channel CH_2: sid=466 instance=XXX devtype=SBT_TAPE channel CH_2: NMO v4.5.0.0 executing command: SET ARCHIVELOG DESTINATION Starting restore at 18/05/11 archive log thread 1 sequence 364825 is already on disk as file +DGRE1_FS/archivelog/2011_05_18/thread_1_seq_364825.4013.751421997 restore not done; all files readonly, offline, or already restored
What is a way to copy a file to ASM in a normal file system? In ASM commands I do not copy:
controls:
--------
CD
of the
To find
Help
LS
LSCT
LSDG
mkalias
mkdir
pwd
RM
rmalias
Thank you.RMAN > copy spfile '+ DGDATA_DB/spfilemydb.ora' to ' / tmp/afile "
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found "spfile": waiting for an of: ' archivelog, backup, control, controlfilecopy, current datafile, datafilecopy, Dungeon, (, nochecksum, nokeep, reuse, tag.
You can restore, RMAN,
You can create pfile/spfile of ASM to no - ASM pfile/spfile
example of
SQL > create spfile='/tmp/spfile.ora' of pfile;or
RMAN > backup spfile to '
'; -
RMAN to the ASM and network file system
Hi all
I use Oracle RAC 11 g R2 + ASM.
I am new to RMAN, but I am trying to build daily tasks to do below:
1. backup of my database to the FRA located on ASM diskgroup + FRA.
2. at the same time I want to save my database for Network File System (NFS) to be taken by system administrators to an archive location that I can't access. Since according to my knowledge can't copy files to ASM for outside... so for this I'm planing to use the command format of the NFS mount point.
3. on daily basis in the NFS file will be taken by a work (that I am not responsible for) to the Archive, and then it will be purged from this location.
4. I am planing to have my windows of 15 days retention strategy.
5. on every day, I am planing to cross check my backup and then delete the expired so that taken from NFS in the journal of the archives is deleted.
The RMAN I am planing to run it on a daily basis are:
Now my questions:backup incremental level 0 cumulative device type disk tag 'FULL_DB_INCR_LV0' database; -- this will be to the default location (+FRA) backup incremental level 0 cumulative device type disk tag 'FULL_DB_INCR_LV0' database format 'NFS/oracle/backup%U';--another copy to be taken to the archive location crosscheck backupset; delete expired backupset; -- this will delete the backups taken to the Archive location
1 what good solutions? take account of the fact that I need backup on the file system of the operating system so that the jobs of system administrators take the backup of their archives.
2. If a backup is needed, I use CATALOGUE START WITH to recover and then recover.
3. because my retention period is 15 days, and the backup in NFS files will be deleted on a daily basis, so this retention will apply for backups in ASM, is this a problem?Hello
Easy way is to use the tag. Find the number of backupset is a difficult task.
Create a template for your tag with a date.
How to use the Substitution Variables of orders RMAN [427229.1 ID]
How to use the tag name of RMAN with different attributes or variables. [580283.1 ID]
You can check which backup doesn't have a copy on NFS using the query below:
SELECT BS.RECID BSKEY, BP.RECID KEY, BP.RECID RECID, BS.PIECES PIECECOUNT, BP.HANDLE FILENAME, BP.TAG TAG, BP.COPY# COPYNUMBER, BP.STATUS STATUS, BP.PIECE# PIECENUMBER FROM V$BACKUP_PIECE BP, V$BACKUP_SET BS WHERE (BP.SET_COUNT = BS.SET_COUNT AND BP.SET_STAMP = BS.SET_STAMP) order by bskey,copynumber
-
RMAN restore until THE SNA in DATA GUARD environment
Hello
OS = RHL5
DB = 11.2.0.3 primary and 1 physical database paused.
I have a huge request changes tomorrow and its possible that I have an obligation to RESTORE the database 5 hours back because the application.
I think to be adopted following the method of the official documentation of the Oracle (untilClause):
MOUNT FORCE OF START
RUN
{
UNTIL THE SNA 1418901. # The necessary number SNA will be used here.
RESTORE THE DATABASE;
RECOVER THE DATABASE;
}
ALTER DATABASE OPEN RESETLOGS;
I will of course take Level0 backup tonight and LEVEL1 backup before the start of the work.
My humble question is that: If this is the good method I adopt? and if so, then what about physical databases eve? Is that something to restore/recovery too? It is not required or waiting for database necessary to create again (which I'm afraid of)?
Flash back is not enabled.
Pack of thank you for the suggestion.
Best regards
You can enable FLASHBACK DATABASE on major sites and relief and set a RESTORE POINT before the migration of the applications.
If you stop to redo expedition to the France, the waking state is the last SNA that was applied (i.e. 1001). If you need to return the primary SNA 1011 and then resume the delivery of roll forward, Eve can continue to 1002 from totally ignorant. If you flashback primary to a SNA lower, say, 998, you would have to flashback the night before as well (997 or 998) until you can resume redo expedition to the France.
See the Oracle support Note: how Flashback the primary database in standby Configuration (Doc ID 728374.1)
Hemant K Collette
-
RMAN or duplicate RMAN restore
Hello
I have a node of RAC 3 11 GR 2 ASM on Windows 2008 and want to migrate on linux with a case only, no cars, but also with the ASM.
It was my idea, remove a node from the cluster and install Oracle Linux, then 11.2.0.3 software.
But I need to get the database on this new linux server, and I thought to restore the most recent backup CARS db
on the linux server, then turn on the DG and synchronize the linux server.
Once synchronization is complete, disconect DG and continue testing.
But I've heard maybe use rman duplicate would be better.
What are your comments, what would you choose to achieve this migration?
Thank you
You can have a physical standby database set up on top of the linux machine and back it. In this way, you can perform the migration with minimal downtime.
Also try to see what how to migrate has huge ASM database of Windows 64 bit for Linux 64-bit with low minimum time? (Doc ID 1371759.1)
HTH
-Jonathan Rolland
-
Hi all
I have files of RMAN backup. If I don't have the source database to connect, what do I do to restore these files RMAN with a new database. My system is Oracle RAC 10g with 2 nodes ASM, Windows Server 2003.
Thanks in advance.Hello
Yes to the first question...
Second question... You will need to use RMAN to restore and recover, but you will not need to use the command "set newname", cause of the database files will be stored on ASM too.
Kind regards
Rodrigo Mufalani
http://mufalani.blogspot.com -
Hi all
11.2.0.1
Windows 2003
We have 2 bases PROD (same dbname) that are installed on different servers (Server1 and Server2) Win2003.
These two 2 databases have different applications installed.
I do the two databases RMAN backup.
Then, disaster strikes on Server1 (because of hardware crash and malfunction).
How to restore the PROD on Server1 to Server2 db that has existing running the database of the same name PROD?
Thank you very much
zxy
N °
ORACLE_SID is an environment variable that is associated with your user name for the OS (windows). Db_name is something you set to your settings file.
You will need to create a new user for DB1 on server 2, and then set the ORACLE_SID DB1 on this new user. Then start instance and to restore.
2 DB on server 2 should remain unchanged.
DB 1 on server 2 will have the same DB_NAME like DB 2 but different 'instance identifier"(SID)
Maybe you are looking for
-
I lost the icon charge and all the legends with icons. Help.
I installed an update of Mozy, rebooted and found that firefox had lost the legends with the icons, the icon charge completely. Customize the box covers almost the entire page and doesn't include as much as he used to. My Autofill is over. And he has
-
Tecra HDD crash - how to retrieve some important data?
It is a follow-up question to my last question answered successfully.My Tecra 60 GB HDD has stopped working and I would like to get a few days of emails etc if possible.The Tecra default Mode options without failure, once launched, returns via a BSOD
-
WIN7 crashed after installing free version WIN10. Boot files were missing, simple RECOVER was not possible. Had to hire someone who knew the WIN10 questions. Is not like everyone will be listening or solutions, or even care. Free WIN10, beware if you
-
Hello I Keep getting this blue screen under bug death check I found that the issue was csrss.exe. I uninstalled the video drivers intel, but the machine is still crushing. https://onedrive.live.com/redir?RESID=BE2C45CEFD325C95! 162 & authkey =! AKZFq
-
Cannot make a picture in a page correctly at run time jspx
I work in jdev 11.1.2.3.0.I create a page of jspx like this:..-af: panelStrtchLayout--f: facet - Center-af: panelTabbed-af: showDetailItem - card router-af: panelGroupLayout - scrolling-af: image-#{resource ['images: home.jpg']} I can see filling hom