ORA-12703 all-in-restore RMAN
Hello worldI'm with RMAN for backup / restore.
The source is an Oracle 10g on a dedicated win2003 x 86, while the target is Oracle 10 g on a virtual win2003 x 64.
I used binaries for the x 64 installation and installed without creating a starter database. I created an instance and a listener and both started well.
When I try to restore a backup of database on my server target I encounter an error concerning the conversion of character sets.
ICH checked the registry on both systems and both show NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252.
No matter the registry setting I also tried to put the NLS_LANG environment explicitly, that has not changed anything.
I can restore and recover the backup on a third system allright (wind 2003 x 86, dedicated server) and has never encountered problems.
That's what I do:
environment parameter on the command line:
Set oracle_home=D:\oracle\product\10.2.0\db_1
Set oracle_sid = myorasid
Set NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252
with RMAN I send these commands, all of which have done allright:
the value of dbid 3635071591;
startup nomount;
SPFile to restore backup automatic db_recovery_file_dest='D:\oracle\product\10.2.0\flash_recovery_area' db_name = "mydbname";
stop immediately;
startup nomount;
Restore automatic backup controlfile;
change the editing of the database;
The next step would be the restore process that unfortunately ends in ORA-12703:
RMAN > restore database;
From restoration to February 23, 12
From backup duplication implicit 23 February 12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISK
Cut 6 objects
Backup of implicit overlap finished at 23 February 12
Starting copy of implicit intersection to 23 February 12
using channel ORA_DISK_1
Copy of implicit cross ended up at 23 February 12
the search for all files in the recovery area
cataloging files...
cataloging done
List of cataloged files
=======================
File name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\AUTOBACKUP\2012_02_22\O1_MF_S_775949888_7NBNKKBF_. BKP
File name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\BACKUPSET\2010_12_16\O1_MF_NNND1_TAG20101216T210045_6JNVZHCM_. BKP
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\SYSTEM01. DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\UNDOTBS01. DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\SYSAUX01. DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\USERS01. DBF
restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\TBS01. DBF
restoring datafile 00006 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\TBS02. DBF
channel ORA_DISK_1: backup D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\BACKUPSET\2012_02_22\O1_MF_NNND1_TAG20120222T210028_7NBLBXBF_ piece reading. BKP
channel ORA_DISK_1: restored the backup part 1
room handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\BACKUPSET\2012_02_22\O1_MF_NNND1_TAG20120222T210028_7NBLBXBF_. Tag BKP = TAG20120222T210028
channel ORA_DISK_1: restore complete, duration: 00:32:56
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 23/02/2012 12:34:01
ORA-12703: this character set conversion is not supported
RMAN >
When I interrogate the NLS_LANG parameter I get the same result on both systems (without "_AMERICA. WE8MSWIN1252 "- is this true?)
SQL > show parameter NLS_LANG
VALUE OF TYPE NAME
****************************************
nls_language string of AMERICA
SQL >
Can someone point me in the right direction so that I can solve this problem?
Thanks in advance!
Dave
Published by: user11136049 on 23.02.2012 04:53
Hello
In the original post, you wrote:
When I try to restore a backup of database on my server target I encounter an error concerning the conversion of character sets.
ICH checked the registry on both systems and both show NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252.
No matter the registry setting I also tried to put the NLS_LANG environment explicitly, that has not changed anything.
setting environment on commandline: set oracle_home=D:\oracle\product\10.2.0\db_1 set oracle_sid=myorasid set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
Have you tried to use the character set AL32UTF8? (IE NLS_LANG = AMERICAN_AMERICA. AL32UTF8)
Tags: Database
Similar Questions
-
ORA-12703: this character set conversion is not supported
Hello
STH wrong here, can someone please advice what should I do?
You can see the details below,
Thank you
RMAN > RUN
2 > {}
3 > SET until TIME ' to_date (May 24, 2010 18:00 ',' DD-MM-YYYY HH24:MI:SS') ";
4 > RESTORE database;
5 > RECOVER DATABASE;
{6 >}
executing command: SET until clause
From restoration to May 25, 10
using channel ORA_DISK_1
creation of data fno = 6 name file = D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAGING_01_
REOR_REORG0. DBF
creating file data fno = 14 name = D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAGING_02
Comprehensive REORG0. DBF
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01. DBF
restoring datafile 00002 to D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01. DBF
restoring datafile 00003 to D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01. DBF
restoring datafile 00004 to D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01. DBF
restoring datafile 00005 to D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01. DBF
restoring datafile 00007 to D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIMENSIONS_0
1 DBF
restoring datafile 00008 to D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACTS_01_REO
RG0_REORG0. DBF
restoring datafile 00009 to D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDEXES_01.D
BF
restoring datafile 00011 to D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIMENSIONS_0
1 DBF
restoring datafile 00012 to D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACTS_01_REO
RG0_REORG0. DBF
restoring datafile 00013 at D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDEXES_01.D
BF
restoring datafile 00015 to D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAGING_01_R
EORG0. DBF
channel ORA_DISK_1: backup D:\TESTBI_BACKUP\32LEG5CR_1_1 piece reading
channel ORA_DISK_1: restored the backup part 1
piece handle = D:\TESTBI_BACKUP\32LEG5CR_1_1 tag = BACKUP_BISE1DB_000_052410030823
channel ORA_DISK_1: restore complete, duration: 00:41:37
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 25/05/2010 16:32:18
ORA-12703: this character set conversion is not supportedTry following
SET NLS_LANG = AMERICAN_AMERICA. AR8MSWIN1256
NLS_DATE_FORMAT value = HH24:MI:SS: DD-MM-YYYYRMAN > RUN
2 > {}
3 > SET until TIME ' to_date (May 24, 2010 18:00 ',' DD-MM-YYYY HH24:MI:SS') ";
4 > RESTORE DATABASE;
5 > RECOVER DATABASE;
{6 >}for example:
C:\Documents and Settings\Administrateur > SET NLS_LANG = AMERICAN_AMERICA. AR8MSWIN12
56C:\Documents and Settings\Administrateur > value NLS_DATE_FORMAT = HH24:MI:S DD-MM-YYYY
SC:\Documents and Settings\Administrateur > rman target /.
Recovery Manager: Release 10.2.0.1.0 - Production on Tue may 25 20:30:51 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: T (DBID = 608834747)
RMAN > run
2 > {}
3 > SET until TIME ' to_date (May 25, 2010 20:29 ',' DD-MM-YYYY HH24:MI:SS') ";
4 > RESTORE DATABASE;
5 > RECOVER DATABASE;
{6 >}executing command: SET until clause
using the control file of the target instead of recovery catalog databaseFrom restoration to 2010-05-25 20:32:33
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 159 devtype = DISKchannel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSTEM01. DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\UNDOTBS01. DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSAUX01. DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\USERS01. DBF
channel ORA_DISK_1: backup D:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
OVERY_AREA\T\BACKUPSET\2010_05_25\O1_MF_NNNDF_TAG20100525T202245_5ZQTT62X_. BKP
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 2010-05-25 20:32:37
ORA-19870: error reading backup total D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AR
EA\T\BACKUPSET\2010_05_25\O1_MF_NNNDF_TAG20100525T202245_5ZQTT62X_. BKP
ORA-19573: failed to get exclusive enqueue for datafile 1RMAN > shutdown immediate;
database closed
dismounted database
Instance Oracle to closeRMAN > startup mount;
connected to the database target (not started)
Oracle instance started
mounted databaseTotal System Global Area 125829120 bytes
Bytes of size 1247660 fixed
67110484 variable size bytes
54525952 of database buffers bytes
Redo buffers 2945024 bytesRMAN > run
2 > {}
3 > SET until TIME ' to_date (May 25, 2010 20:29 ',' DD-MM-YYYY HH24:MI:SS') ";
4 > RESTORE DATABASE;
5 > RECOVER DATABASE;
{6 >}executing command: SET until clause
From restoration to 25/05/2010 20:34:25
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISKchannel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSTEM01. DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\UNDOTBS01. DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\SYSAUX01. DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\T\USERS01. DBF
channel ORA_DISK_1: backup D:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
OVERY_AREA\T\BACKUPSET\2010_05_25\O1_MF_NNNDF_TAG20100525T202245_5ZQTT62X_. BKP
channel ORA_DISK_1: restored the backup part 1
room handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\BACKUPSET\2010_05_25
\O1_MF_NNNDF_TAG20100525T202245_5ZQTT62X_. Tag BKP = TAG20100525T202245
channel ORA_DISK_1: restore complete, duration: 00:00:35
Restoration finished in 2010-05-25 20:35:03Starting recover at 2010-05-25 20:35:03
using channel ORA_DISK_1starting media recovery
archive log thread 1 sequence 3 is already on the disk that the file D:\ORACLE\PRODUCT\10.
2.0\FLASH_RECOVERY_AREA\T\ARCHIVELOG\2010_05_25\O1_MF_1_3_5ZQTYVPY_. ARC
archive log thread 1 sequence 4 is already on the disk that the file D:\ORACLE\PRODUCT\10.
2.0\FLASH_RECOVERY_AREA\T\ARCHIVELOG\2010_05_25\O1_MF_1_4_5ZQTZC1Y_. ARC
archive log thread 1 sequence 5 is already on the disk that the file D:\ORACLE\PRODUCT\10.
2.0\FLASH_RECOVERY_AREA\T\ARCHIVELOG\2010_05_25\O1_MF_1_5_5ZQV6SRW_. ARC
archive log filename=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\ARCHIVELOG\2
010_05_25\O1_MF_1_3_5ZQTYVPY_. Wire ARC = 1 = 3 sequence
archive log filename=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\T\ARCHIVELOG\2
010_05_25\O1_MF_1_4_5ZQTZC1Y_. Wire ARC = 1 sequence = 4
media recovery complete, duration: 00:00:02
Finished recover at 2010-05-25 20:35:07RMAN > alter database open resetlogs;
open database
RMAN >
Published by: admin on May 25, 2010 08:37
-
Help! ORA-12703 without the use of convert
Hello!
First of all. I m not crazy. I swear.
It s a very strange error.
I have a form.
This form has a trigger that calls a function inside a package [form_var: = my_pkg.my_func (x);]
It's summer for the years of work.
I've added another feature in this package.
This new feature is not served in my forms. Not at all. No other function inside the package calls the new function.
It s a new isolated function. No object, he still uses. I'll use the latter, but nothing is use it to know. Claire?
But now when I run my form, I get the error ORA-12703 when calling my_pkg.my_func (the older function).
(new: my_func does not call the new function).
If I comment the new function of package specifications (no need to comment in the package body), it works again.
If I run outside the shape (sqlplus) it works (the old function and the new function: two works).
Nowhere in my code there are conversion or anything that may require a translation of charset.
There was no change in the server. Or in the client and the form designer. Or in windows.
Does anyone know why a unused function causes this error?
Forms [32-bit] versão 6.0.8.11.3 (being Produção)
Oracle Database 10g Release 10.2.0.3.0 - 64 bit ProductionForms 6.0.8.11.3 is not supported for database 10.2.0.3.0. So, if I were you, I would upgrade first to a later version of forms (6.0.8.26, fixes 17 game I think).
-
lost all the restore points after the reinstatement of windows
Original title: have just re-recorded windows software, now Ifind I lost all the restore points. How can I get the old one back?
Windows has been registered online. Checked restore points after recording and found that the only listed restore point was created when the software has been registered. How can I find the previous restore points?
If you reformatted and reinstalled windows, you will lose any restore points. Theyre gone
-
Remove all AVAILABLE by RMAN command valid RMAN backup
Hello
We take RMAN full backup to disk every day. But for now, we don't have enough space on the RMAN backup media. If we want to delete all AVAILABLE by RMAN command valid RMAN backup.
Please guide to remove all AVAILABLE by RMAN command valid RMAN backup.
-Thank you
Published by: Fazlul Kabir Mahfuz on May 13, 2013 11:06If you haven't tried:
DELETE THE BACKUP
?I suggest that you run also
BACKUP DUPLICATION
which will list the safeguards that are supposed to be present on the drive, but not found. You can then delete those with
DELETE EXPIRED BACKUPHemant K Collette
-
RMAN-03009: ORA-17628: all duplicate Active
OS - Linux 64
Oracle 11.2.0.2.0
Database duplication "ssdev' to 'dupli' on the same server...
connected to target database: SSDEV (DBID = 2209227163)
connected to the auxiliary database: DUPLI (unassembled)
RMAN > database duplicated dupli nofilenamecheck of the active database.
From 1st March 11 Db double
using the control file of the target instead of recovery catalog database
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID = 134 type device = DISK
content of Script memory:
{
clone of SQL "create spfile from memory";
.....
...
...
then I get these...
From 1st March 11 backup
using channel ORA_DISK_1
channel ORA_DISK_1: from data file copy
Enter a number of file datafile = 00005 name=/u01/app/oracle/oradata/ssdev/apex01.dbf
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 01/03/2011 15:58:47
ORA-17628: error Oracle 19505 returned by remote Oracle Server
continue other job steps, not a not working will not re-run
channel ORA_DISK_1: from data file copy
Enter a number of file datafile = name=/u01/app/oracle/oradata/ssdev/users01.dbf 00004
Ssdev trace file
------
minact-SNA-status of master: Greek-gmin scn:0 x 0000.00000000 - scn:0 x 0000.00000000 gcalc - scn:0 x 0000.00000000
2011-03-01 15:01:46.068
minact-SNA-status of master: Greek-gmin scn:0 x 0003 .83c1a2c2 - 0003 .83c1a2c2 gcalc - 0003 .83c1a2c2 x scn:0 x scn:0
2011-03-01 15:06:47.200
minact-SNA-status of master: Greek-gmin scn:0 x 0003 .83c1a3e3 - 0003 .83c1a3e3 gcalc - 0003 .83c1a3e3 x scn:0 x scn:0
minact-SNA-status of master: Greek-gmin scn:0 x 0003 .83c1a4e7 - 0003 .83c1a4e7 gcalc - 0003 .83c1a4e7 x scn:0 x scn:0
-------
Nothing in the alert log...db_file_name_convert = (' / u01/app/oracle/oradata/ssdev '.' / u01/app/oracle/oradata/dupli ')
Is it a '. '. (DOT) or a ',' (COMMA) between the two railways?
Hemant K Collette
-
Restore rman 10g with different data file name.
Hi all.
I am successful restoration sauvegardΘ (Veritas Netbackup) one 10.2.0.5 database.
The original database was a 2 node Rac 10.2.0.5 on asm without OMF.
I'm trying to restore on another host with the same version 10.2.0.5 and even platform (Sparc Solaris), but single instance database.
RMAN complete successfully, the restore, but the names of the data files are different from what is written in the controlfiles so
the database can go up but not open.
It is not only a question of path, the look of database for a file of data like this:
System.261.622119076 (the right way of the asm source environment)
but instead, rman restore this data as a file
o1_mf_system_2ixfh90q_.dbf
This seems a name OMF.
I don't understand the reason.
Can I use the command set newname for each data file?
Thanks in advance.
I restored the database successfully.
In init.ora I don't use the setting as a CONVERT.
I don't know why but I had to restore archived log first. something like
DESTINATION ARCHIVELOG TO GAME ' / u01/app/oracle/oradata/PDM/arch;
RESTORE ARCHIVELOG ALL;
then:
RMAN > RUN
{
SBT ALLOCATE CHANNEL t1 TYPE of AIRCRAFT;
Restore controlfile;
}
After this:
editing of database startup
and I extracted the list of data files:
+ DATA /...
+ FLASH...
then
change the editing of the database;
RUN {}
SBT ALLOCATE CHANNEL t1 TYPE of AIRCRAFT;
SBT ALLOCATE CHANNEL t2 TYPE of AIRCRAFT;
SBT ALLOCATE CHANNEL t3 TYPE of AIRCRAFT;
SBT ALLOCATE CHANNEL t4 TYPE of AIRCRAFT;
the value of newname for datafile 1 to ' / u01/app/oracle/oradata/PDM/system.261.622119067';
St newname for datafile 2 to ' / u01/app/oracle/oradata/PDM/undotbs1.262.783621567';
the value of newname for datafile 3 to ' / u01/app/oracle/oradata/PDM/sysaux.263.622119149';
the value of newname for datafile 4 to ' / u01/app/oracle/oradata/PDM/undotbs2.265.622119189';
the value of newname for datafile 5 to ' / u01/app/oracle/oradata/PDM/users.266.622119281';
the value of newname for datafile 6 to ' / u01/app/oracle/oradata/PDM/gcs_data.272.622547291';
the value of newname for datafile 7 to ' / u01/app/oracle/oradata/PDM/gcs_indx.275.622548237';
the value of newname for datafile 8 to ' / u01/app/oracle/oradata/PDM/gcs_lob.276.622548403';
the value of newname for datafile 9 to ' / u01/app/oracle/oradata/PDM/pdm_data.273.622547535';
the value of newname for datafile 10 to ' / u01/app/oracle/oradata/PDM/pdm_indx.274.622547861';
the value of newname for datafile 11 to ' / u01/app/oracle/oradata/PDM/tbs_htmldb.277.623757195';
the value of newname for datafile 12 to ' / u01/app/oracle/oradata/PDM/w3docdb_data.278.623757345';
the value of newname for datafile 13 to ' / u01/app/oracle/oradata/PDM/w3docdb_index.279.623757371';
the value of newname for datafile 14 for ' / u01/app/oracle/oradata/PDM/w3docdb_lob.280.623757407';
the value of newname for datafile 15 to ' / u01/app/oracle/oradata/PDM/aspect_data.295.636897363';
the value of newname for datafile 16 t to ' / u01/app/oracle/oradata/PDM/pdmct.319.650450905';
the value of newname for datafile 17 to ' / u01/app/oracle/oradata/PDM/pdmct.320.650451825';
the value of newname for datafile 18 to ' / u01/app/oracle/oradata/PDM/pdmpm.321.660676573';
the value of newname for datafile 19 to ' / u01/app/oracle/oradata/PDM/undotbs3.327.783526691';
the value of newname for datafile 20 to ' / u01/app/oracle/oradata/PDM/pdmed_data.330.787137071';
the value of newname for datafile 21 to ' / u01/app/oracle/oradata/PDM/pdmed_idx.329.787137111';
until ' to_date ('2015 - 12 - 02:13:00:00 ',' yyyy-mm - dd:hh24:mi:ss');
RESTORE THE DATABASE;
switch datafile;
recover the database;
}
at database startup has tried to recreate the DATA + redolog in and + FLASH as well
I've deleted all the possible redolog except the redolog that have been verified as CURRENT or ACTIVE
(I don't understand why in montage mode I have active and current redolog).
SELECT GROUP #, ARCHIVED, STATUS FROM V$ LOG;
ALTER database drop logfile group x.
For the rest of the redolog I used:
change the database file rename '+ DATA/pdm/onlinelog/group_1.257.622119063' to ' / u01/app/oracle/oradata/PDM/group_1a ";
change the database file rename '+ FLASH/pdm/onlinelog/group_1.257.622119065' to ' / u01/app/oracle/oradata/PDM/group_1b ";
change the database file rename '+ DATA/pdm/onlinelog/group_5.259.622119065' to ' / u01/app/oracle/oradata/PDM/group_5a ";
change the database file rename '+ FLASH/pdm/onlinelog/group_5.259.622119065' to ' / u01/app/oracle/oradata/PDM/group_5b ";
change the database file rename '+ DATA/pdm/onlinelog/group_7.269.622123949' to ' / u01/app/oracle/oradata/PDM/group_7a ";
change the database file rename '+ FLASH/pdm/onlinelog/group_7.263.622123951' to ' / u01/app/oracle/oradata/PDM/group_7b ";
change the database file rename '+ DATA/pdm/onlinelog/group_8.270.622123951' to ' / u01/app/oracle/oradata/PDM/group_8a ";
change the database file rename '+ FLASH/pdm/onlinelog/group_8.264.622123951' to ' / u01/app/oracle/oradata/PDM/group_8b ";
alter database disable change tracking block;
change the database open.
-
Hello
I tried to include works of RMAN Oracle 12 c
If I use the following command, I should have the backuppiece and the archivelog saved in a folder:
RMAN > BACKUP database DATA PLUS ARCHIVELOG;
If I ran this command in 4 different days, which I ended up having 4 folders with different inside files
I guess that, in these files, I have the data files and the archivelogs
Now I move these folders to tape, re-cutting the backups and delete expired
Say that in a month, I need one of these backups if I put a band records and I added start with 'c:\path_of _restored_folder _L', so I added all files in the folder that I restored from tape
Now, if I try to restore the basis of all is well but when I run the recover, it is missing some archiving logs it says
If I put all the files for 4 days then he finds the archivelog she needs and pick up without problem
on this basis I understand that in the folder containing a backuppiece of a specific day there is the newspaper of archive that I needed to recover from the DB, is that true? How can I know if the backups folder I need to replace in order to have all the required log archiving?
At the moment my DB retrieves only if I handed out the Ribbon last backup folder, if I handed out the previous, it restores, but is not recover
Also I have this configuration of the oracle recovery 3 days window maintains backups in order to be able to restore and recover the last 3 days and he simply deletes all obsolete if the FRA is full
I tried earlier to set up the window of 3 days as a test recovery
I ran a few backups and after that I ran the 5th FRA leak out of space and the backup fails
I expect rman to remove the old backup and make way for a new that I have 5 backuppiece and the FRA is full, why he not do?
Thank you
The default behavior of RECOVER is to make a full recovery - right until the transactions today. So it must all archivelogs.
If you want to restore and recover to a point in time, use the SET clause to THAT specify a sequence of the newspaper or time or SNA. Oracle will then not get beyond that point in time - that is to say he will not seek further archiving logs.
(Ideally, when you restore an old backup, I also begins to restore the old controlfile, then using this controlfile).
If you use the FRA in this way
a. set db_recovery_file_dest_size and db_recovery_file_dest
b. * not * used a FORMAT clause in the BACKUP command
Oracle will recognize all backups in the FRA (you can check by querying V$ FLASH_RECOVERY_AREA_USAGE before and after the backup).
In this case, Oracle can and will automatically purge outdated backups - that is to say any backup older than the retention period, provided that there is at least a L0 or backup complete closest to the retention period. You should see messages to this effect in the alert of the instance database log file.
Hemant K Collette
-
Restore Rman hotback in a different machine with a different database name
Hi all
I have 11.2.0.3.0 of oracle in 64-bit version of Windows 2003 R2 server, I have my database of production 'Proddb' in archivelog mode, I took the backup hot RMAN at 09:00 and I want to restore this RMAN backup in a new Machine with the new name of the comic "Testdb" at 13:00, between 09:00 to 13:00 many transactions that happened many archivelogs generated...
Can someone tell me how to restore the RMAN backup in a different machine with the new name of the data base and how to apply these logs archiving that generated between 09:00 to 13:00.
Thank you and best regards,
John of VikashRMAN will go for it, that's the beauty of RMAN that does not require the intervention of the DBA to power each archivelogs per turn. Just to start the recovery and the next is your controlfile which contain information about your archivelogs sequence. The mechanisim of the application of the archivelogs see this link for details
http://oraware.blogspot.com.au/2009/10/how-much-recovery-required.html
Khurram
-
Restore RMAN backups on another server
Version: 11gRel 2
Platform: AIX
We have been provided to the cold RMAN backup of a DB and was invited to recreate in a new server. After installing the binary files in the new server, that's what I'll do
Step 1. Create a pfile file (I created it manually, because I do not know what backup piece has spfile and we have no control file autobkp.) I know the name of DB)
Step 2. Mount the DB using this file with RMAN pfile
I have a question on step 3 and step 4
Step 3.
The above command for step 3 is a variation of an order that I readRMAN> RESTORE CONTROLFILE from 'rman_backup_piecename' to '/rsadat2/prod/config/my_newcontrolfile_name';
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/recov004.htm#CFABADJC
Will this work?
Step 4.
We want to restore the data files to one different location other than the source. Oracle Doc, I found the command to do so below
All data files go to a location in the target databaseSET NEWNAME FOR DATAFILE '/olddisk/users01.dbf' TO '/new_path/file.dbf';
But it has more than 400 files in the source of the DB, which were located on 4 different file systems. So, in a TEXT Editor, I can't do not a SEARCH and REPLACE for all 400 lines in one./rsadat1/prod/oradata/dbname/
Is there a single command by which I could know the new location RMAN to restore?If you want to restore traditional as you explained, then Yes, step 3 is correct and should work.
With respect to see what backup piece contains your control file, then it is actually easy to identify, because the control file and the settings file usually contained in a separate backup element and this backup piece is the smallest in size (around several MB). So just browse by size, you could easily point the backupset containing controlfile. Also, you can use the time stamp of the backup as the controlfile items and spfile are saved at the end. -
How to restore Rman backups on a different when the structured directory node
Dear all,
Have no doubt the concept of backup RMAN restore on another node, I practice one to restore an RMAN backup, I'm following Oracle Metalink ID: 419137.1
I'm totally confused when I went through the step 9 in this document
It is:
9) rename the Redologfiles, so that they can be created in the new locations of the opening of the database is open in resetlogs
SQL > alter database file rename ' / * node1/database/prod/redo01.log*' to ' / * node2/database/prod/redo01.log*';
My doubt is: I restore it in a new empty database, already have redo logs and other files in the folder oradata, above mentioned document said to rename!
I need to rename, how to rename, according to the above statement SQL node1 is a non-existent node, we only saw his backup tracks only. If I rename as the statement above, this I have to give the old location where the redo log was before, or I can give the name, (yes I know it is a logical representation not a physics).
Someone explain how to represent this log redo my new database.
Thank you and best regards,
HAMEEDHi Hall;
"" Its best to move your problem to the Forum home ' database ' Database - general part forum
Respect of
HELIOS -
Hello
I restore 20 Apr 11 backup but it give the error below mention. Please notify
rman bash-3 target. $ 00 /.
THE VALUE OF DBID 3166051926
RUN {}
startup nomount
allocate channel c1 type disk;
allocate channel c2 type disk;
Recovery Manager: Release 10.2.0.4.0 - Production Fri Apr 29 23:55:09 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
allocated channel c3 type disk;
CONTROLFILE AUTOBACKUP FORMAT SET
FOR DEVICE TYPE DISK TO ' / oranfsbkup/lmsdb/backup/20APR11/%F';
RESTORE AUTOMATIC BACKUP CONTROLFILE;
change the editing of the database;
restore the database;
recover the database;
output channel c1;
output channel c2.
output channel c3.
ALTER database open resetlogs;
} connected to the database target (not started)
RMAN >
executing command: SET DBID
RMAN >
Oracle instance started
Total System Global Area 3221225472 bytes
Bytes of size 2105952 fixed
209718688 variable size bytes
3003121664 of database buffers bytes
Redo buffers 6279168 bytes
using the control file of the target instead of recovery catalog database
allocated channel: c1
channel c1: sid = 153 devtype = DISK
allocated channel: c2
channel c2: sid = 152 devtype = DISK
allocated channel: c3
channel c3: sid = 150 devtype = DISK
executing command: SET CONTROLFILE AUTOBACKUP FORMAT
From restoration to the 29 April 11
channel c1: looking for autobackup day: 20110429
channel c1: looking for autobackup day: 20110428
channel c1: looking for autobackup day: 20110427
channel c1: looking for autobackup day: 20110426
channel c1: looking for autobackup day: 20110425
channel c1: looking for autobackup day: 20110424
channel c1: looking for autobackup day: 20110423
channel c1: found no autobackup in 7 days
channel c2: looking for autobackup day: 20110429
channel c2: looking for autobackup day: 20110428
channel c2: looking for autobackup day: 20110427
channel c2: looking for autobackup day: 20110426
channel c2: looking for autobackup day: 20110425
channel c2: looking for autobackup day: 20110424
channel c2: looking for autobackup day: 20110423
channel c2: found no autobackup in 7 days
channel c3: looking for autobackup day: 20110429
channel c3: looking for autobackup day: 20110428
channel c3: looking for autobackup day: 20110427
channel c3: looking for autobackup day: 20110426
channel c3: looking for autobackup day: 20110425
channel c3: looking for autobackup day: 20110424
channel c3: looking for autobackup day: 20110423
channel c3: found no autobackup in 7 days
output channel: c1
output channel: c2
output channel: c3
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 29/04/2011 23:55:22
RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01006: error scored during the analysis
RMAN-02003: unrecognized character:
RMAN > show all.
RMAN configuration parameters are:
CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP # by default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
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 MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
Thank you
MerriSee the example which has the command
"RESTORE CONTROLFILE AUTOBACKUP MAXSEQ 100;to
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta055.htm#sthref875The MAXSEQ 100 in this example is to instruct the Oracle to go as far as 100 days looking to save.
(the value by default, as you have discovered, is 7 days).Hemant K Collette
-
Problem restoring RMAN datafile
Hello
I have restored a data file using rman cold backup and then remove this data file retored to the level of the o/s using the rm command just for test on our UAT approx.
Now again I am trying to restore this removed using the same backup datafile and it says
==============================
DataFile 2 already restored to the file ' / Test_Database/undotbs01.dbf ';
don't restore not done, all files read-only offline or already restored
==============================
Please help on this to restore this file
Thank you
Published by: Gerard on June 23, 2010 22:39Oracle has noticed the absence of the file data and taken offline? Query V$ DATAFILE. Or do an ALTER DATABASE CHECKPOINT or ALTER TABLESPACE OFFLINE, ONLINE.
RESTORATION has a keyword 'FORCE' that you can use to override the Oracle.
RESTORE the DATA file n FORCE.
Hemant K Collette
http://hemantoracledba.blogspot.com -
executing command: SET DESTINATION ARCHIVELOGRMAN> run 2> { 3> allocate channel c1 type 'SBT_TAPE'; 4> allocate channel c2 type 'SBT_TAPE'; 5> allocate channel c3 type 'SBT_TAPE'; 6> SEND 'NB_ORA_SERV=192.168.0.1, NB_ORA_CLIENT=192.168.0.67'; 7> set archivelog destination to '/medt/oradata/u02/arch'; 8> restore ARCHIVELOG FROM TIME "to_date('17/03/10 09:00:00', 'dd/mm/yy hh24:mi:ss') UNTIL TIME to_date('17/03/10 11:30:00', 'dd/mm/yy hh24:mi:ss')"; 9> release channel c1; 10> release channel c2; 11> release channel c3; 12> }
From restoration to 1 April 10
output channel: c1
output channel: c2
output channel: c3
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 01/04/2010 08:30:54
ORA-00907: lack of right parenthesis
Any idea?
Kai
Published by: KaiS April 1, 2010 12:37 AMRestore TIME ARCHIVELOG ' to_date (17 March 10 09:00 ',' dd/mm/yy hh24:mi:ss') until TIME to_date (March 17, 10 11:30 ',' mm/dd/yy hh24:mi:ss') ";
should be
restore ARCHIVELOG FROM TIME "to_date('17/03/10 09:00:00', 'dd/mm/yy hh24:mi:ss')" UNTIL TIME "to_date('17/03/10 11:30:00', 'dd/mm/yy hh24:mi:ss')";
Hemant K Collette
-
block corruptioin after restore rman
Thank you for taking my question!
Oracle Enterprise Edition 11.1.0.7 on Windows 2008. Online backups using Rman TABLET.
Can someone give me some ideas on why SYSAUX data block should be damaged after a rman recovery?
Here is my script. Am I missing something? Should I be physically removing it again? All ideas welcome?
Thank you!
Kathie
RMAN > restore to the seq = 123
recover up to seq = 123
ALTER database open resetlogs;
Background:
I had to do a cover of rman the other day to restore our database on the eve. After recovery, the sysaux table has become logically corrupt. I tried to solve the corruption of data with rman, but he said he just couldn't after reading through 6 days of backups. I ended up remove the database, re-create the database and restore from a previous export of a few hours takien.
I now have a database to test the rman recovery. Database has been to the top and rman backups (compressed) running for several days. I tried to recover after day and SYSAUX again a logical corruption. I tried to use Rman to recover damaged data, but it failed.
I deleted the database and recreated. Has taken several backups rman (this time not compressed) online. 3rd was taken over this time a few hours back. This time everything worked - no block sysaux corruption but why? The only difference is the recovery uncompressed backups and recovery was a shorter time. Why?On metalink (or My Oracle Support), there is a note on a similar problem:
RMAN Duplicate Database causes Corruption Datafile SYSAUX
DOC - ID: 794705.1Interesting, because the note the problem only occurs when the backups are compressed.
Werner
Maybe you are looking for
-
Satellite A300-202 - external display turned a strange color
Hello I have a Satellite A300-202 with an ATI Mobility Radeon HD 3650 card and after upgrading vista to windows 7, my external screen turned a strange color, seems to lose the color red. Never see white color, which should show the white color of the
-
Impossible to find all the windows of my contacts messenger on kinect
I don't see all my windows live contacts on kinect
-
Ive tried everything I can think of. is this because my other computer is newer?
-
Windows XP Professional update problems
I recently bought a used computer that already had installed Windows XP Professional. However, I have problems update even if I have the product ID number but no product key. Is there another way to update this OS?
-
For Windows 7 student discount
I am trying to buy Windows 7 online via the promotion $39.99 student page. When I enter all my billing and credit card information and clicked on continue that just, it belongs to me to the same page. Anyone know what is happening? Thank you