Restore and backup RMAN recovery in a new server
Version: 11.2Platform: Solaris
I did several restorations of RMAN backups to new hosts. Whenever I do a full recovery of a cold backup, when I run the
RECOVER DATABASE
I used to getarchive log filename=/u04/mvf/data/dbase/arch/arch.log1_235_678649266.dbf thread=1 sequence=235
unable to find archive log
archive log thread=1 sequence=236
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 12/04/2011 14:33:18
RMAN-06054: media recovery requesting unknown log: thread 1 seq 236 lowscn 11290198
I considered this as being 'Normal' and always used to causealter database open resetlogs
But I read the below mentioned informative post yesterday.Question on create Redo log after restoring files and recover
According to the guidelines of this post, I shouldn't use
alter database open resetlogs
for a full recovery.So, what should I do
a.
Should I use
ALTER DATABASE OPEN ; -- I think I got some error with this command when i issued it after RMAN-06054 error . Can't recall what error
ORb.
Should I use
recover database until sequence 236;
Here is how I could use a combination of RMAN (for RESTORATION) and SQL (for the OPEN RESETLOGS):
$ rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Wed Nov 16 05:40:51 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount
Oracle instance started
Total System Global Area 419430400 bytes
Fixed Size 1261164 bytes
Variable Size 113246612 bytes
Database Buffers 297795584 bytes
Redo Buffers 7127040 bytes
RMAN> restore controlfile from autobackup;
Starting restore at 16-NOV-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
recovery area destination: /usr/oracle/flash_recovery_area
database name (or database unique name) used for search: MYNDB
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp
channel ORA_DISK_1: control file restore from autobackup complete
output filename=/usr/oracle/oradata/MYNDB/control01.ctl
output filename=/usr/oracle/oradata/MYNDB/control02.ctl
Finished restore at 16-NOV-11
RMAN> sql 'alter database mount';
sql statement: alter database mount
released channel: ORA_DISK_1
RMAN>
RMAN> restore database;
Starting restore at 16-NOV-11
Starting implicit crosscheck backup at 16-NOV-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=155 devtype=DISK
Crosschecked 16 objects
Crosschecked 3 objects
Finished implicit crosscheck backup at 16-NOV-11
Starting implicit crosscheck copy at 16-NOV-11
using channel ORA_DISK_1
using channel ORA_DISK_2
Finished implicit crosscheck copy at 16-NOV-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp
using channel ORA_DISK_1
using channel ORA_DISK_2
channel ORA_DISK_2: starting datafile backupset restore
channel ORA_DISK_2: specifying datafile(s) to restore from backup set
restoring datafile 00003 to /usr/oracle/oradata/MYNDB/sysaux01.dbf
restoring datafile 00004 to /usr/oracle/oradata/MYNDB/users01.dbf
restoring datafile 00005 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_example_7c4qzn5k_.dbf
restoring datafile 00006 to /usr/oracle/oradata/MYNDB/undotbs.dbf
channel ORA_DISK_2: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /usr/oracle/oradata/MYNDB/system01.dbf
restoring datafile 00002 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_hemant_7c4qzn0o_.dbf
restoring datafile 00007 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_assm_tbs_7c4qzn0q_.dbf
restoring datafile 00008 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_mssm_tbs_7c4qzn0x_.dbf
channel ORA_DISK_1: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp
channel ORA_DISK_1: restored backup piece 1
piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp tag=TAG20111116T052209
channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
channel ORA_DISK_2: restored backup piece 1
piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp tag=TAG20111116T052209
channel ORA_DISK_2: restore complete, elapsed time: 00:00:35
Finished restore at 16-NOV-11
RMAN>
RMAN> exit
Recovery Manager complete.
$ sqlplus '/ as sysdba'
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Nov 16 05:42:52 2011
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
Database altered.
SQL>
Note This error message 1589 is:
$ oerr ora 1589
01589, 00000, "must use RESETLOGS or NORESETLOGS option for database open"
// *Cause: Either incomplete or backup control file recovery has been
// performed. After these types of recovery you must specify either
// the RESETLOGS option or the NORESETLOGS option to open your
// database.
// *Action: Specify the appropriate option.
$
Hemant K Collette
Tags: Database
Similar Questions
-
Restoring a backup RMAN to a new instance of the database
Hi guys,.
I have a problem with restoring a backup RMAN I have with me a new instance of the database. I have with me are:
1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)
2. backup of the control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)
3. the full backup (O1_MF_NNSNF_FULLPROD_BU_92DVGW9H_. BKP)
I received these files to a client environment and I need to restore these to a new instance of the database on a local computer. I gave an attempt as follows (in Oracle 10 g):
1, creates a new instance of the (Test75) database using the Oracle Database Configuration Assistant
2 SET ORACLE_SID = Test75
3 connection to this instance with RMAN
4 tried to restore the SPFILE from the BKP file received.
I make mistakes and cannot continue. I don't know if I will carry out the correct steps. Please help me telling me how I should achieve this goal.
Thank you.
1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)
2 backup of control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)
The first backuppiece resembles a ControlFile and the other looks like a SPFILE'
> I get error and cannot continue
What is the error? (I assume that you have tried to restore the O1_MF_NNSNF_SPFILE_BU_92DVGW9H_ SPFILE. BKP
Note that you must also SET the DBID before restoring the controlfile
Hemant K Collette
-
How can I restore and recover the database to a different server using RMAN?
Hello Friend:
How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.
That's the two servers. different stored different on each server and a single link, a table library where backup set.
I can only restore and recover the database of the Rman command. Could you give me a demo?
Thank youHow can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.
That's the two servers. different stored different on each server and a single link, a table library where backup set.
I can only restore and recover the database of the Rman command. Could you give me a demo?
Check this box
* How to restore Rman backups on a different node when the Directory Structures are different [ID 419137.1] *. -
Original title: upgrade question.
I currently have a PC running XP in a system with an IDE drive. The system has many applications that the company has moved the installation discs, so I need to move the contents of the entire disk to a new system. I was about to do the following:
System backup with a recovery boot disk, in this case a USB.
Restore the entire operating system to a new system that will have a SATA drive in it. The new system will have a COST for Windows 7.
Start the XP and upgrade to Windows 7.
My question is, will it work or the absence of the COA of XP on the new system will prevent me to install?
Any help would be appreciated.
Thank you
The fShort answer, "no, this will not work."
It is unclear what you mean by 'backup' and 'restore', but it seems that if you are referring to the creation of a disk image or a clone of disk on an external drive and then either restore the image or cloning to the new computer. Assuming that both of these computers was provided with Windows pre-installed, this process will almost certainly result in a facility that cannot be 'activated '. In addition, unless the software you use has something like Acronis Universal Restore, restore the image from your old computer to a player in a new computer with a different hardware simply will not work.
In addition, the lack of an XP license is not the issue. There are several problems with the process you describe, but basically, an "upgrade" from XP to Win 7 requires a "custom installation" which means that applications should be re-installed.
-
Hi guys,.
I have a backup in oracle 11.2.0.2, and tried to restore this backup in oracle 11.2.0.4. I'm working on windows server 2008.
I think that I did a few steps well until that stage;
ALTER database open resetlogs upgraded;
then I could access the database normally, but when I try to do an export (EXP) tradicionally command line says:
ORA-39710: only connect AS SYSDBA is allowed when it is OPENED in UPGRADE mode
How can I open database in normal mode?
Has what measures he forgotten?
Best regards.
Hey, guys, sorry...
Thank you for your response.
I did following:
upgrade of start-up;
@?/rdbms/admin/catupgrd.sql
Take a few minutes and finish.
Then
sqlplus / as sysdba
startup
And worked hard.
Then:
@?/rdbms/admin/utlrp.sql
Thank you.
-
Can I restore a backup of Vista on a new computer from Wndows 8?
I bought a new computer with windows 8 is already installed on it.
My old computer has vista.
I backed up my data on the old computer on an external drive.
The external drive is connected to the computer again, but I can't find any information on how to restore backups?
I searched on the net without success. He must have a way to do this.
Thank you.
If you are referring to a backup and restore, Yes, you should be able to. see the following topics:
http://notebooks.com/2011/02/25/how-to-restore-a-backup-from-an-external-hard-drive-in-Windows-7/
Press the Windows key + W
Type: Windows 7 File Recovery
Press enter
-
Recover + restore and backup CARS
Hello
I tried in the last days RAC RMAN backups on disks!
I have two node RAC - Systems Version 11.2.0.2 on Linux Redhat 5.4 X 86 - 64.
+ Node names stb, dwh
+ Name of the database: RAC
+-The instance name 1: RAC1 on stb
+ Name of instance 2: RAC2 on dwh
+ Database catalog CATDB on stb
+ ASM-Volumm groups of DATA, FLASH
RAC database has been configured with RMAN in CATDB:
RMAN > set DBID 2329313036
executing command: SET DBID
his name is 'CARS' and DBID is 2329313036
RMAN > show all.
Database with RMAN db_unique_name configuration parameters are:
CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
CONFIGURE BACKUP OPTIMIZATION
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
SET UP THE DEVICE TYPE DISK PARALLELISM 2 TYPE OF BACKUP BACKUPSET.
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE CHANNEL DEVICE TYPE DISK CONNECT 1 ' * sys/psw@RAC1*';
CHANNEL to CONFIGURE 2 DEVICE TYPE DISK CONNECT ' * sys/psw@RAC2*';
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
RMAN > DATABASE INCREMENTAL LEVEL 0 BACKUP;
RMAN > list backup;
List of backup sets
===================
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
Incr 156 0 M DISK 00:01:10 408,46 January 26, 11
BP key: 161 status: AVAILABLE Tablet: NO Tag: TAG20110126T151554
Part name: +FLASH/rac/backupset/2011_01_26/nnndn0_tag20110126t151554_0.267.741453361
List of defined backup data files 156
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
2 0 1164421 +DATA/rac/datafile/sysaux.257.741330851 incr 26 January 11
3 0 incr 1164421 +DATA/rac/datafile/undotbs1.258.741330851 26 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
Incr 157 0 M DISK 00:01:17 668,51 26 January 11
BP key: 162 situation: AVAILABLE Tablet: NO Tag: TAG20110126T151554
Part name: +FLASH/rac/backupset/2011_01_26/nnndn0_tag20110126t151554_0.266.741453357
List of defined backup data files 157
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 0 incr 1164414 +DATA/rac/datafile/system.256.741330849 26 January 11
4 0 incr 1164414 +DATA/rac/datafile/users.259.741330851 26 January 11
5 0 incr 1164414 +DATA/rac/datafile/example.264.741331067 26 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
158 full 17.70 M DISK 00:00:09 26 January 11
BP key: 163 situation: AVAILABLE Tablet: NO Tag: TAG20110126T151723
Part name: +FLASH/rac/autobackup/2011_01_26/s_741453443.268.741453451
SPFILE included: Modification Date: January 26, 11
SPFILE db_unique_name: CARS
Control file included: cash SNA: 1164584 cash time: 26 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
159 full 17,70 M DISC 10:00:00 January 27, 11
BP key: 164 Situation: AVAILABLE Tablet: NO Tag: TAG20110127T170842
Part name: +FLASH/rac/autobackup/2011_01_27/s_741546522.260.741546531
SPFILE included: Date modified: 27 January 11
SPFILE db_unique_name: CARS
Control file included: cash SNA: 1249721 cash time: 27 January 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
160 full 17.70 M DISK 00:00:10 January 28, 11
BP key: 165 situation: AVAILABLE Tablet: NO Tag: TAG20110128T161437
Part name: +FLASH/rac/autobackup/2011_01_28/s_741629677.282.741629687
SPFILE included: Modification Date: 28 January 11
SPFILE db_unique_name: CARS
Control file included: cash SNA: 1325174 cash time: January 28, 11
RMAN >
The backup worked and looked good.
After that, I removed all the subdirectories + DATA/PAP/in ASM with ASMCMD and I tried to rebuild the CARS database.
SPFile restore failed with:
RMAN > restore spfile to tag TAG20110128T161437;
From restoration to February 20, 11
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 20/02/2011 13:44:57
RMAN-12001: could not open the channel ORA_DISK_1
RMAN-10008: could not create context channel
RMAN-10003: unable to connect to the target database
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
RMAN > quit
Ist of reason:
/ Home/grid > lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on February 20, 2011 14:40:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start date February 20, 2011 10:16:52
Uptime 0 days 4 h 23 min 57 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/11.2.0.2/grid/network/admin/listener.ora file
The listener log file /U01/app/grid/diag/tnslsnr/STB/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.5) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.2.15) (PORT = 1521)))
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
'CARS' service has 1 instance (s).
Instance "RAC1", BLOCKED status, a 1 operation for this service...
Service "STRM" has 1 instance (s).
Instance "STRM1" READY State, has 1 operation for this service...
Service 'STRMXDB' has 1 instance (s).
Instance "STRM1" READY State, has 1 operation for this service...
Service 'TESTDB' is 1 instance (s).
Instance "TESTDB", State LOAN, has 1 operation for this service...
Service 'TESTDBXDB' has 1 instance (s).
Instance "TESTDB", State LOAN, has 1 operation for this service...
Service 'catdb' has 1 instance (s).
Instance "catdb' READY State, has 1 operation for this service...
Service 'catdbXDB' has 1 instance (s).
Instance "catdb' READY State, has 1 operation for this service...
The command completed successfully
RAC1 ist now blocked.
TNSNAMES. ORA:
/U01/app/Oracle/product/11.2.0.2/Db_1/network/admin > discovers tnsnames.ora
tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0.2/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
RAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC)
)
)
STRM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = STRM)
)
)
OLAP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLAP)
)
)
RAC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC)
)
)
RAC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RAC)
)
)
CATDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = stb) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = catdb)
)
)
REPORT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = REPORT)
)
)
LISTENERS_SCAN =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.11)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.12)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.13)(PORT = 1521))
)
OLTP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = scan.cluster.it.de) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLTP)
)
)
What have I done wrong? Can any Expert help me find a solution?
Thanks and greetings
hqt200475Hello
Please when post msg/log/error/scripts using '{code}' formatting options described in the FAQ.
http://forums.Oracle.com/forums/help.jspa
+ Node names stb, dwh
+ Name of the database: RAC
+-The instance name 1: RAC1 on stb
+ Name of instance 2: RAC2 on dwh
+ Database catalog CATDB on stb
+ ASM-Volumm groups of DATA, FLASHRAC database has been configured with RMAN in CATDB:
RMAN> set DBID 2329313036 executing command: SET DBID database name is "RAC" and DBID is 2329313036
RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE; RMAN> list backup; List of Backup Sets =================== BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 158 Full 17.70M DISK 00:00:09 26-JAN-11 BP Key: 163 Status: AVAILABLE Compressed: NO Tag: TAG20110126T151723 Piece Name: +FLASH/rac/autobackup/2011_01_26/s_741453443.268.741453451 SPFILE Included: Modification time: 26-JAN-11 SPFILE db_unique_name: RAC Control File Included: Ckp SCN: 1164584 Ckp time: 26-JAN-11 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 159 Full 17.70M DISK 00:00:10 27-JAN-11 BP Key: 164 Status: AVAILABLE Compressed: NO Tag: TAG20110127T170842 Piece Name: +FLASH/rac/autobackup/2011_01_27/s_741546522.260.741546531 SPFILE Included: Modification time: 27-JAN-11 SPFILE db_unique_name: RAC Control File Included: Ckp SCN: 1249721 Ckp time: 27-JAN-11 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 160 Full 17.70M DISK 00:00:10 28-JAN-11 BP Key: 165 Status: AVAILABLE Compressed: NO Tag: TAG20110128T161437 Piece Name: +FLASH/rac/autobackup/2011_01_28/s_741629677.282.741629687 SPFILE Included: Modification time: 28-JAN-11 SPFILE db_unique_name: RAC Control File Included: Ckp SCN: 1325174 Ckp time: 28-JAN-11 RMAN>
The backup worked and looked good.
After that, I removed all the subdirectories + DATA/PAP/in ASM with ASMCMD and I tried to rebuild the CARS database.
SPFile restore failed with:
RMAN> restore spfile from tag TAG20110128T161437; Starting restore at 20-FEB-11 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 02/20/2011 13:44:57 RMAN-12001: could not open channel ORA_DISK_1 RMAN-10008: could not create channel context RMAN-10003: unable to connect to target database ORA-12514: TNS:listener does not currently know of service requested in connect descriptor RMAN> quit
What have I done wrong? Can any Expert help me find a solution?
Everything you need is available as because you are restoring on site. That is, rman target / catalog xxx@xxxx
Follow these steps:
START a dummy Instance to run restore SPFILE with RMAN. This is necessary because rman are not running restore without instance.
for example
cd $ORACLE_HOME/dbs Just make a backup of current INIT. cp initRAC1.ora initRAC1.ora_curr
export ORACLE_SID=RAC1 rman target / catalog xxxx@xxxx/xxxx RMAN> set DBID 2329313036; # This identifies in the catalog which database is used. # Now startup a dummy instance and perfom you restore. RMAN > run{ startup nomount; # Use one of the three options: restore spfile from tag "TAG20110128T161437"; # or restore spfile from autobackup; # or restore spfile from '+FLASH/rac/autobackup/2011_01_28/s_741629677.282.741629687'; shutdown immediate; startup nomount; restore controlfile from autobackup; startup mount; restore database; recover database; alter database open resetlogs; }
Your spfile will be restored to $ORACLE_HOME/dbs, you should move it to before ASM.
Kind regards
Levi Pereira -
I downloaded the latest version of iTunes to restore the backup of my new iPhone 7. When I plug my computer into iPhone 7, I get the message that I need to update iTunes. It is to show that I have updated the latest version, so I now do not know what to do. Need help!
In iTunes, go to the ' about iTunes' topic. What version do you currently use?
What version of OS are you using on your computer?
Your new phone should you use iTunes 12.5.1 requiring 10.9.5 OSX or higher.
-
Cannot auto close down and move the service profile to new server
When the blade material is fail service profile will move to the new server in the server pool. but before the service profile move to the new server, the administrator must approve by clicking link to downgrade in the configuration of server pool. If I tested it by click decommissioning in Server Maintennance Menu work fine but tested by disassemble Blade Server, unmount HARD drive, start button / stop does not work the service profile do not move to the new server.
I need auto service decommission and how I config it?
When a service profile move again if material blade server fails?
Unfortunately, the UCSM has no Automation like that today.
Thank you
Michael
-
restore old backup rman (obsolete)
Hello
How can restore us an old backup of rman?
in the backup from the list, I don't see this backup, but we have restored the rman backup folder in our recovery flash (from tsm system file backup)?
do you know if it's possible?
Best regardsfirst added this file in RMAN, for example.
Catalog recovery area;
and accept only the new files or catalog only the directory selected.Then, try to restore in the test test env. (of course ;-)) using backup controlfile format " option.
I think it's possible.
-
How to restore and backup on Windows XP?
How can I find backup and restore on XP Professional?
Original title: How can I make a backup and restore on XP Professional? Thank you * address email is removed from the privacy *.
Hi StephenGayeske,
Thanks for posting in the Microsoft Community.
You want to know how to perform a backup and restore of Windows XP.
We will work together as a team and try to help you with the problem.
Please answer the question-
Are you referring to the backup and restore of the files on the computer?
Method-
I wish that return you the item for assistance-
How to use Backup to protect data and restore files and folders on your computer in Windows XP and Windows Vista
http://support.Microsoft.com/kb/309340#top
We know if you need help. We will be happy to help you.
Thank you.
-
restore the backup - RMAN optimization
Hello
Please help me define "restoring backup optimization on ' RMAN?
Version 10G / 11G
Kind regards
Mathew.He didn't need any special settings. Its default behavior.
http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/glossary.htm#CHDJBHIDHTH
Aman... -
iPhone is disabled and ask for password for restore and backup
my iphone screen is showing that the iphone is disabled and asking the password for restore
I tried several times but each time the process, says need to access code for iphone restore
pls advise.
-
Device error Code: i/o Device (08007045D) error Code... trying to make a backup of normal file that goes all the way and then produces this error code.
Hey Rodney,To resolve this issue, follow these steps:
1. Click Start, type cmd in the start search box, right-click cmd.exe in the list programs and then click Run as administrator.
If you are prompted for an administrator password or for confirmation, type your password, or click on continue.
2. at a command prompt, type the following command and press ENTER: Chkdsk/r X:
Note: In this command, x is a placeholder that represents the drive letter of the volume you want to check.
3. press y when you are prompted to check the drive the next time the system restarts.
4. close all applications and restart the computer.
Note: When you restart, Windows checks the drive for errors, and then Windows starts.
5. after the computer restarts, repeat steps 1 through 4 for the other volume and try the backup operation again.For more information, see this article: http://support.microsoft.com/kb/952272I hope this helps.Kind regards
Syed
Answers from Microsoft supports the engineer. -
Restore the backup from primary to the DR Server online
Hello
I'm on Oracle 10.2 and restore an online backup of the main server on server of DR. Online backup has been taken: 30.11.2015 21:00 and ends at 01.12.2015 01:23:16.
The first redo log when the backup began 60588 and the last roll forward log is 60596 when the backup is complete according to the backup log.
However, it is beyond ask 60596 when you are recovering:
SQL > restore database to sleep by using backup controlfile until cancel;
ORA-00279: change 952123702 generated at 01/12/2015 04:50:25 needed for thread
1
ORA-00289: suggestion: L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60598_0681431456.001
ORA-00280: change 952123702 thread 1 is in sequence #60598
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
ORA-00279: change 952134239 generated at 01/12/2015 05:50:32 needed for thread
1
ORA-00289: suggestion: L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60599_0681431456.001
ORA-00280: change 952134239 thread 1 is in sequence #60599
ORA-00278: save the file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60598_0681431456.001' not
longer needed for recovery
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
ORA-00279: change 952145796 generated at 01/12/2015 06:51:06 needed for thread
1
ORA-00289: suggestion: L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60600_0681431456.001
ORA-00280: change 952145796 thread 1 is in sequence #60600
ORA-00278: save the file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60599_0681431456.001' not
longer needed for recovery
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
ORA-00279: change 952155617 generated at 01/12/2015 07:51:51 needed for thread
1
ORA-00289: suggestion: L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60601_0681431456.001
ORA-00280: change 952155617 thread 1 is in sequence #60601
ORA-00278: save the file 'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60600_0681431456.001' not
longer needed for recovery
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60601_0681431456.001 '.
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' Z:\ORACLE\A30\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'
SQL > ALTER DATABASE ENABLE PENDING DATA base;
ALTER DATABASE ACTIVATE STANDBY DATABASE
*
ERROR on line 1:
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' Z:\ORACLE\A30\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'
I noticed after I applied 60598, he said:
ORA-00278: log "L:\ORACLE\A30\ORAARCH\A30ARCH\ARC60598_0681431456.001" file is no longer needed for recovery
This means 60598 is really not necessary for recovery?
No idea why she asked newspaper after 60596?
How can I check which is the last log to roll forward to complete recovery?
V$ RECOVERY_LOG shows nothing.
Thank you.
Hello
If you try to enable the database, please make sure the SNA aligns with... In your case, controlfile raised YVERT YVERT/bass.
If you try to re-create the controlfile.
After you re-create the controlfile, you can run a fake recovery and open in resetlogs.
After you re-create the controlfile
SQL > restore database using backup controlfile until cancel;
SQL > alter database open resetlogs;
Thank you
Maybe you are looking for
-
sleep of the iMac, don't eject backup drive does not correctly
I get a message that my backup drive is not ejected properly, what concerns me greatly. I get this message when my iMac wakes up after sleeping, and the player has not been removed or disconnected or anything. It's an old USB 2.0 Seagate GoFlex drive
-
12.4 composer view breaks track #1 albums.
I finally found the sight of the composer... To see only the first track of some albums was severed in a unique tack album of it own. The tracks weren't like that before 12.4. It occurs under several composers. Suggestions for a way around this?
-
A small window with the error message appears whenever I want to open Firefox or if Firefox wants to open a window. I have to click the OK button and then open Firefox. It's embarrassing.
-
So I bought a few games this summer sale of steam, including Skyrim, Fallout 3 and Fallout New Vegas, and the funny thing is that all of these games have a problem with my laptop, which is an intense flickering while the game is in full screen mode.
-
Where can I find a full OS for my Acer A500
I have an Acer A500 tablet. It freezes on the LOGO. I tried a factory reset and it freezes again. Any other type of reset results in little android n his back with a RED Triangle on her belly I would like to install a new/updated OS update for my