Backup RMAN restore through different versions
Operating system: Solaris 10I have a RDBMS only 11.2.0.3 Installing software in a server-> server B
I have my source DB running on another server, which is the version 11.2.0.1.0-> server A
Is it possible to RMAN backup the source DB version 11.2.0.1.0 and use it create a DB of 11.2.0.3.0 to Server B?
Is the same as 10.2.0.1.0 to 11.2.0.3.0?
Hello again;
11.2.0.1 doesn't have a higher House. It needs to be updated.
Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]
Best regards
mseberg
Tags: Database
Similar Questions
-
RMAN restore to different host
Hello
What do restore via rman, (not dual)
If I startup nomount another instance with the name of the different database.
can I perform rman full restore to a different database? (I bring controlfile first and data files, I'll also put the rman backups in the same location)
or
Is it necessary to have same db and the instance name?Right. Because the Controlfile name must match the name of the database.
-
Cannot reinstall Dell backup and restore support center
Hello
A new Inspiron 3521. Upgrade to 8.1 Windows before you create backup discs. Now when I try to create the backup, get the message:
Reinstall Dell backup and restore
To use Dell backup and restore with this version of Windows, you must reinstall it from the original installation media or download files. If you are unable to locate the files or media, contact Dell, the manufacturer of Dell backup and restoration for more information.
Cannot access it from support center - only lists updated, pilots not original (I already installed). When I try to do a scan for drivers, it never ends (leave it on for hours).
Can anyone help? Thank you.
Hi Debsdell
Sorry for the late reply. Please follow the steps mentioned below for the resolution of the problems.
Has) Uninstall Dell Backup and recovery program
- Enter in the right edge of the screen and then click on search.
(If you use a mouse, point to the upper right of the screen, move the pointer of the mouse down and then click Find.) - Enter the control panel in the search box, and then tap or click Control Panel.
- Under notice of:, choose large icons and then tap or click programs and features.
- Press or click the program and then tap or click on uninstall.
- Follow the instructions on the screen.
- Restart the system.
B) Install Dell backup and restore from the link below
http://www.dellbackupandrecovery.com/en-us/index.html
Click on the download that is located on the right and follow the instructions on the screen
Please let me know if it helps.
- Enter in the right edge of the screen and then click on search.
-
RMAN can back up/restore different versions of OS without worrying about Oracle databases
Hello
I am to evaluate Recovery Manager to back up and restore Oracle databases.
I save/restore the Oracle data base diferents versions, these databases are running in different operating systems (AIX, LINUX, Windows)
For example:
Database Oracle 9 in AIX 5.3 system
Database Oracle 10 system Lunix
Database Oracle 9 in Windows system
I want to have a single server RMAN for backup/restore all my databases Oracle, is it possible?
A single RMAN server can backup/restore different versions of databases Oracle regardless of the operating system?
If the answer is Yes, do I need to have an operting specif system in my RMAN Server? (AIX, Linux, Windows, etc.).
Thanks for your help;On the new server, install the rman recovery catalog and save all databases.
Then you can back up these databases independent of the platform and version by using the recovery catalog.
However, some of the features that you backup cannot be used based on the version of database. For example, backup compression is available on 10g but not in 9i.
HTH.
Nirmal
-
Restore from different database Rman backup RMAN
Hello world
I'm practicing Rman, so I request that the way to restore the rman backup in a different database.
For example:
1. I have backup Rman of DB1 to level 0 and level 1 cumulative data base more archievelog
2. I need to import or restore the backup Rman of DB1 to a different database DB2.
What is the procedure to make the queries above. Please anyone one help out me.
I use oracle 10g r2 running in windows server 2003.
Thanks in advance.flanged wrote:
Hello worldI'm practicing Rman, so I request that the way to restore the rman backup in a different database.
For example:
1. I have backup Rman of DB1 to level 0 and level 1 cumulative data base more archievelog
2. I need to import or restore the backup Rman of DB1 to a different database DB2.
What is the procedure to make the queries above. Please anyone one help out me.
I use oracle 10g r2 running in windows server 2003.
Thanks in advance.
If you want to restore the database from one node to the node of dfiferent, you can follow below url
http://mohamedazar.WordPress.com/2011/03/13/disaster-recoveryrestore-database-from-one-server-to-another-server-when-different-location/
but you couldnot able to restore the database backup entire rman in another database instance struture.
-
How to restore the different mount point rman backup
Hi all
I have my RMAN bkp on my production under mount point/d01/rmanbkp server. I need to restore rman on TEST server. I don't have /d01 of mount point on my test server, so I need to restore to the point of different Assembly called /oraapps. I finished copying all my backup RMAN on TEST server, but when I try to restore it. He seeks his path of moose that is/d01/rmanbkp. Suggestions, how can I do.
Concerning
MusaddaqHi Musaddaq,
When you perform a restore on the test server after having mounted the controlfile enables control of catalog catalog of the backup pieces in the new directory structure.CATALOGUE START WITH ' / oraapps';
Kind regards
Tycho -
Restore backup RMAN TAPE not through RMAN
Hello
We directly support our production (8.1.7.4) tape
If I can RESTORE by doing this
1 - the admin Tape COPY (and not via RMAN) backup on a server items
2. so I added elements of this backup and restore then
or do I have to use RMAN to play the tape and restore this backup of pieces?
Thanks for all the contributionsuser9145417 wrote:
Hello
We directly support our production (8.1.7.4) tape
If I can RESTORE by doing this1 - the admin Tape COPY (and not via RMAN) backup on a server items
2. so I added elements of this backup and restore thenor do I have to use RMAN to play the tape and restore this backup of pieces?
Thanks for all the contributions
Hi, if you can copy all the backupset on disk space then you can restore/recover your database.
1 copy all backupsets (backups) at the location on the local drive.
2 restore controlfile, catalogue, restoration/recovery and open the database.rman target / startup nomount; restore spfile from 'localdisklocation';/*which you backups copied there*/ shutdown immediate; startup mount; restore controlfile from 'localdisklocation'; alter database mount; catalog start with 'localdisklocation'; restore database; recover database; alter database open;
-
Backup and restore of the different States of a database
Hello
In a development and test system, we want to save and restore the different States of the entire database.
This means, we start with a full (TAG 1) backup of the database.
On a day team has done in the database, after that we take a full backup (TAG 2).
The next day, do us a restoration of the TAG 1 and the B team some works, after that, we take a full backup (tag 3).
Then, we want to continue: restore from TAG 2, TAG 4 backup, restore TAG 3,...
I tried follwing RMAN procedures:
Backup (backup consistent cold)
RMAN nocatalog target.
SHUTDOWN IMMEDIATE;
FORCE START S/N;
SHUTDOWN IMMEDIATE;
BOOTABLE MEDIA;
backup as BACKUPSET COMPRESS database ' TEST1' tag include current controlfile;
ALTER database open;
Restore (database in time recovery DBPITR point)
# get RCS with tag backup rman list «...» »
# add - one for the RCS, use it in the script for NNNN
RMAN nocatalog target.
stop immediately;
bootable media;
restore the database to the SNA NNNN;
recover the database unitl Yvert NNNN;
ALTER database open resetlogs;
Problem is: when we try to go back to an older version, we get a
RMAN-20208: until this CHANGE THAT either before RESETLOGS change
No idea how to switch between the different States of the database?
Environment: Oracle 11g Enterprise Edition, ASM, Flash Recovery Area, no turning back.
Kind regards
JoachimI think you are looking for incarnations. (I know you said 11g, the doc here is 10 g, I love the research/layout better than the 11g docs).
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/flashptr006.htm#sthref660
7.6.6 point-in-time recovery for an Incarnation of the ancestor
If you use VM, it would be a way to go as well. Restore a snapshot.
-
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.
-
Restore and backup RMAN recovery in a new server
Version: 11.2
Platform: 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
I used to getRECOVER DATABASE
I considered this as being 'Normal' and always used to causearchive 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
But I read the below mentioned informative post yesterday.alter database open resetlogs
Question on create Redo log after restoring files and recover
According to the guidelines of this post, I shouldn't use
for a full recovery.alter database open resetlogs
So, what should I do
a.
Should I use
ORALTER DATABASE OPEN ; -- I think I got some error with this command when i issued it after RMAN-06054 error . Can't recall what error
b.
Should I userecover 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
-
I have an Acer Aspire One 532 H Netbook. I could do a system backup/restore through the eRecovery without any extra utility of Windows 7 to Acer recovery? If I have such software, how can I get it? Because my netbook not came with any utility recovery/program when I bought it. Need to respond as soon as POSSIBLE, my netbook is dying with the longer startup time and more.
Nice day
You must back up your data to an external HARD disk, etc. To reload your factory machine, click Start, all programs, acer erecovery management, restoration and completely restore the factory settings.
Kind regards
FReeZA
-
Problem with the archive log when you use RMAN for backup and restore (11g 2)
Hello world
Please help me solve this problem.
I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
-First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}
D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:run{
allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
crosscheck archivelog all;
crosscheck backup;
delete noprompt obsolete;
release channel bkp;
}Repeat 7 times (Monday-> Saturday). And I got these files:
[oracle@rac ~]$ ls -l /u01/backup/
total 400280
-rw-r----- 1 oracle oinstall 10158080 Jan 20 07:23 c-1428943247-20160120-01
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:04 c-1428943247-20160120-02
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:05 c-1428943247-20160120-03
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:06 c-1428943247-20160120-04
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-05
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:08 c-1428943247-20160120-06
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:09 c-1428943247-20160120-07
-rw-r----- 1 oracle oinstall 10158080 Jan 20 08:32 c-1428943247-20160120-08
-rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
-rw-r----- 1 oracle oinstall 2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
-rw-r----- 1 oracle oinstall 4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
-rw-r----- 1 oracle oinstall 11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
-rw-r----- 1 oracle oinstall 146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
-rw-r----- 1 oracle oinstall 884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
-rw-r----- 1 oracle oinstall 82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
-rw-r----- 1 oracle oinstall 294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
-rw-r----- 1 oracle oinstall 18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
-rw-r----- 1 oracle oinstall 155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
-rw-r----- 1 oracle oinstall 131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
-rw-r----- 1 oracle oinstall 647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
-rw-r----- 1 oracle oinstall 8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
-rw-r----- 1 oracle oinstall 2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
-rw-r----- 1 oracle oinstall 1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
-rw-r----- 1 oracle oinstall 1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
-rw-r----- 1 oracle oinstall 327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1And
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
80 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
81 B 0 A DISK 20-JAN-16 1 1 YES DB_FULL
82 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
83 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
84 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_FULL
85 B F A DISK 20-JAN-16 1 1 NO TAG20160120T072332
86 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
87 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
88 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
89 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080440
90 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
91 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
92 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
93 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080545
94 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
95 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
96 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
97 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080657
98 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
99 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
100 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
101 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080801
102 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
103 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
104 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INC
105 B F A DISK 20-JAN-16 1 1 NO TAG20160120T080844
106 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
107 B 1 A DISK 20-JAN-16 1 1 YES DB_INC
108 B A A DISK 20-JAN-16 1 1 YES ARCL_BKP_INCMy configuration of rman:
RMAN> show all;
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/backup/backup_df%t_s%s_s%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default- Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
Starting restore at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=20 device type=DISK
channel ORA_DISK_2: skipped, AUTOBACKUP already found
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
output file name=/u01/app/oracle/oradata/orcl/control01.ctl
output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
Finished restore at 20-JAN-16
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
released channel: ORA_DISK_2
RMAN> restore database;
Starting restore at 20-JAN-16
Starting implicit crosscheck backup at 20-JAN-16
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=18 device type=DISK
Crosschecked 29 objects
Finished implicit crosscheck backup at 20-JAN-16
Starting implicit crosscheck copy at 20-JAN-16
using channel ORA_DISK_1
using channel ORA_DISK_2
Finished implicit crosscheck copy at 20-JAN-16
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
using channel ORA_DISK_2
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
Finished restore at 20-JAN-16-Fourth, the problem here, I got the database;
.. .every oky until this line...starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=15
channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/20/2016 08:50:22RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841
The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)RMAN> list backup of archivelog all;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
82 2.16M DISK 00:00:00 20-JAN-16
BP Key: 82 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1
List of Archived Logs in backup set 82
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1154833 20-JAN-16 1177422 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
83 3.88M DISK 00:00:00 20-JAN-16
BP Key: 83 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1
List of Archived Logs in backup set 83
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 1 1162729 20-JAN-16 1188784 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
84 10.68M DISK 00:00:01 20-JAN-16
BP Key: 84 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_FULL
Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1
List of Archived Logs in backup set 84
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 2 1177422 20-JAN-16 1201833 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
88 1.81M DISK 00:00:01 20-JAN-16
BP Key: 88 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1
List of Archived Logs in backup set 88
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 3 1201833 20-JAN-16 1204844 20-JAN-16
1 4 1204844 20-JAN-16 1204893 20-JAN-16
1 5 1204893 20-JAN-16 1204958 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
92 143.00K DISK 00:00:00 20-JAN-16
BP Key: 92 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1
List of Archived Logs in backup set 92
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 6 1204958 20-JAN-16 1205034 20-JAN-16
1 7 1205034 20-JAN-16 1205253 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
96 80.00K DISK 00:00:00 20-JAN-16
BP Key: 96 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1
List of Archived Logs in backup set 96
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 8 1205253 20-JAN-16 1205354 20-JAN-16
1 9 1205354 20-JAN-16 1205433 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
100 18.00K DISK 00:00:00 20-JAN-16
BP Key: 100 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1
List of Archived Logs in backup set 100
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 10 1205433 20-JAN-16 1205519 20-JAN-16
1 11 1205519 20-JAN-16 1205559 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
104 128.00K DISK 00:00:00 20-JAN-16
BP Key: 104 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1
List of Archived Logs in backup set 104
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 12 1205559 20-JAN-16 1205624 20-JAN-16
1 13 1205624 20-JAN-16 1205739 20-JAN-16
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
108 8.00K DISK 00:00:00 20-JAN-16
BP Key: 108 Status: AVAILABLE Compressed: YES Tag: ARCL_BKP_INC
Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1
List of Archived Logs in backup set 108
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 14 1205739 20-JAN-16 1205796 20-JAN-16
1 15 1205796 20-JAN-16 1205840 20-JAN-16
If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.Sorry for a long post.
> 1 and from the 1205841 SNA sequence
The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).
The message
channel ORA_DISK_1: restoring archives Journal
Archives journal thread = 1 sequence = 15
channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading
channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC
indicates that he has restored the sequence up to 15
You can check the log file alert database instance for messages on the fact of recovery.
He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.
Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve. An uncomitted transaction is cancelled.
Hemant K Collette
-
How to use backups RMAN to restore a RAC database to single instance on another host?
How to use backups Rman to restore a RAC database to single instance on another host?
I tried to copy these inline for you:
------------
Backups RMAN disk HowTo restore database RAC to single Instance on another node (Doc ID 415579.1)
Down
-
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
-
RMAN restore different localization files
Hello
In backups rman, I kept it 3 /disk1,/disk2,sbt.now backup location I want to restore the datafile file or archive of the only place/disk2. How can I do this. I don't want to give the backupset name or tag etc etc. I can do affect channel to disk2.when I'm pointing to/disk2, she sits still for /disk1.
Help, please
ConcerningYou can not order from catalogue on the RMAN command line. The command line you entered does not work because it is simply wrong.
Also regarding your request
Three methods
1 use a tag
2 set up to what SNA or something pointing to the RCS of the backup located on disk2
3 uncatalog all backups located on other drives
4 restore a controlfile with only information about the backups on disk2Chinar does not understand allocate channel only processes of backup destinations.
--------
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
After setting up voicemail on 5 new successfully, he stopped after only 1 day. I now have the message "set up voicemail" when I press the icon of the virtual machine. Nor, if I can change the password via the parameters, any ideas?
-
"HP 2000: enter the password administrator or power on password ' [New]
Hello Im getting the "password administrator or power on password: 99339585 error code when I start my laptop Hp.» It's so frustrating! Any help would be greatly appreciated. Thank you Paul
-
Question put in basic network for the cRIO
Hi all I am new to the use of controllers Labview and cRIO so please be understanding of what may be a silly question. I have a computer I want to be networked and four cRIO controllers. I have a router 4 ports and a switch 5 ports available to me. S
-
NVIDIA GeForce 8300 GS gives error 80070103 in Windows 7
I get an error message that NVIDIA does not work (in fact I think it is a NVIDIA customer use program of collection that has stop working). The continuous update window text box to tell me that I have to update the program. Windows Update will not up
-
HOW can I get the code for CORRECTION of ERROR 39?
IM really hoping that someone out there in PC-land can help! I have a problem with my CD/dvd-rom drive. the D of DVD LITE-ON LH-16D1P ATA device' installed when I bought my PC has the yellow triangle on him when I access my device manager. the driver