RMAN restore in the State of the mount in Oracle 11 g DB

I have a question which can be very naïve, it is to confirm if the RMAN restore happens in the mount status of data or can it also happen when the DB is in open State?

I hope my question is clear what is the eligible state of the database in which the RMAN restore can happen.

Please get back with the answer to my query.


Concerning

addition of HemantKChitale response

If you must restore controlfile, restoration can be done with the database OPEN or MOUNT, it should be in NOMOUNT State.

Tags: Database

Similar Questions

  • RMAN restore until THE SNA in DATA GUARD environment

    Hello

    OS = RHL5

    DB = 11.2.0.3 primary and 1 physical database paused.

    I have a huge request changes tomorrow and its possible that I have an obligation to RESTORE the database 5 hours back because the application.

    I think to be adopted following the method of the official documentation of the Oracle (untilClause):

    MOUNT FORCE OF START

    RUN

    {

    UNTIL THE SNA 1418901.  # The necessary number SNA will be used here.

    RESTORE THE DATABASE;

    RECOVER THE DATABASE;

    }

    ALTER DATABASE OPEN RESETLOGS;

    I will of course take Level0 backup tonight and LEVEL1 backup before the start of the work.

    My humble question is that: If this is the good method I adopt? and if so, then what about physical databases eve? Is that something to restore/recovery too? It is not required or waiting for database necessary to create again (which I'm afraid of)?

    Flash back is not enabled.

    Pack of thank you for the suggestion.

    Best regards

    You can enable FLASHBACK DATABASE on major sites and relief and set a RESTORE POINT before the migration of the applications.

    If you stop to redo expedition to the France, the waking state is the last SNA that was applied (i.e. 1001). If you need to return the primary SNA 1011 and then resume the delivery of roll forward, Eve can continue to 1002 from totally ignorant.  If you flashback primary to a SNA lower, say, 998, you would have to flashback the night before as well (997 or 998) until you can resume redo expedition to the France.

    See the Oracle support Note: how Flashback the primary database in standby Configuration (Doc ID 728374.1)

    Hemant K Collette

  • RMAN restore % complete query

    version 10203
    I'm looking for a good query to find our age % RMAN restore/recovery

    I know that my db size is 160 GB and 50 GB has been restored by rman restore in the last 3 hours, so I guess... what happens if recovery end up with an error, I have to restore again and spent several hours again or I can just correct the rman error and just do recovery...?
    _______________________________________________________________________________________
    Here is the command that i began the restoration
    RUN
    {
    until the SNA 4475223426780.
    allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
    allocate channel t2 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
    allocate channel t3 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
    allocate channel t4 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt) ';
    CONFIGURE DEVICE TYPE 'sbt_tape' 4 of PARALLELISM;
    restore the database;
    recover the database;
    ALTER database open resetlogs;
    }

    Published by: DBA2008 on October 13, 2010 11:02

    RMAN the fact on its own that you mentioned is expected as shown - for backups, restorations of not only this setting.

    Published by: rui_catcuddler on October 13, 2010 11:18

  • RMAN restore: what is the DBID?

    Hello

    There were a few problems with plesk on our server and there is no way except the OS reload. Here is the log for each backup car of the day:

    XE Backup Journal

    Recovery Manager: release 11.2.0.2.0 - Production on Mon Oct 5 02:30:02 2015

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: XE (DBID = 2713545907)

    RMAN >

    echo on

    RMAN > configure redundancy 2 retention policy;

    using the control file of the target instead of recovery catalog database

    RMAN old configuration settings:

    CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;

    new RMAN configuration settings:

    CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;

    new RMAN configuration settings are stored successfully

    RMAN > configure controlfile autobackup format clear device type disk;

    RMAN configuration settings are reset to the default value

    RMAN > configure controlfile autobackup on;

    RMAN old configuration settings:

    CONFIGURE CONTROLFILE AUTOBACKUP

    new RMAN configuration settings:

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    new RMAN configuration settings are stored successfully

    RMAN > sql "create pfile =" / u01/app / . Oracle / Product/11.2.0/XE/DBS/ " spfile2init.ora" of spfile ";

    sql statement: create pfile = "/ u01/app / Oracle / Product/11.2.0/XE/DBS/ spfile2init.ora "of spfile

    RMAN > backup backupset device type disk database;

    From backup October 5, 15

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 114 type device = DISK

    channel ORA_DISK_1: from full data file backup set

    channel ORA_DISK_1: specifying datafile (s) in backup set

    file number of the input data file = 00001 = / var/oradata/XE/system name. DBF

    file number of the input data file = 00002 name = / var/oradata/XE/sysaux. DBF

    file number of the input data file = 00003 name = / var/oradata/XE/undotbs1. DBF

    Enter a number of file datafile = name=/var/oradata/XE/users.dbf 00004

    channel ORA_DISK_1: starting total, 1-5 October 15

    channel ORA_DISK_1: finished piece 1 at 5 October 15

    piece handle = / var/oracle_fra/XE / backupset/2015_10_05/o1_mf_ nnndf_TAG20151005T023003_ c149qwxk_.BKP tag = TAG20151005T023003 comment = NONE

    Channel ORA_DISK_1: backup complete set, time: 00:01:56

    Finish backup October 5, 15

    From control file and SPFILE Autobackup 5 October 15

    piece handle = / var/oracle_fra/XE / backup automatic/2015_10_05/o1_mf_s_ 892261919_c149vhn0_.BKP comment = NONE

    File control finished and Autobackup SPFILE to 5 October 15

    RMAN > configure controlfile autobackup.

    RMAN old configuration settings:

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    new RMAN configuration settings:

    CONFIGURE CONTROLFILE AUTOBACKUP

    new RMAN configuration settings are stored successfully

    RMAN > delete noprompt obsolete;

    RMAN retention policy apply to the order

    RMAN retention policy is set to 2 redundancy

    using channel ORA_DISK_1

    Radiation of the obsolete following backups and copies:

    Making key time filename/handle type

    -------------------- ------ ------------------ --------------------

    Backup Define 1265 3 October 15

    Backup piece 1265 3 October 15/var/oracle_fra/XE/backupset /2015_10_03/o1_mf_nnndf_TAG20151003T023003_c0z0zwm9_. BKP

    Log archiving 669 3 October 15/var/oracle_fra/XE/archivelog / 2015_10_03/o1_mf_1_730_ c0z13f0x_.arc

    Backup Define 1266 3 October 15

    Backup piece 1266 3 October 15/var/oracle_fra/XE/autobackup /2015_10_03/o1_mf_s_892089109_c0z1364t_.bkp

    deleted backup room

    backup piece handle = / var/oracle_fra/XE / backupset/2015_10_03/o1_mf_ nnndf_TAG20151003T023003_ c0z0zwm9_.BKP RECID = 1265 STAMP = 892089004

    Delete archived log

    name = archived log file / var/oracle_fra/XE / ARCHIVELOG/2015_10_03/o1_mf_1_ 730_c0z13f0x_.arc RECID = 669 STAMP = 892089118

    deleted backup room

    backup piece handle = / var/oracle_fra/XE / backup automatic/2015_10_03/o1_mf_s_ 892089109_c0z1364t_.BKP RECID = 1266 STAMP = 892089110

    3 items deleted

    RMAN >

    Complete recovery manager.

    Recovery Manager: release 11.2.0.2.0 - Production on Mon Oct 5 02:32:04 2015

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: XE (DBID = 2713545907)

    RMAN >

    using the control file of the target instead of recovery catalog database

    SQL statement: alter system archive log current

    RMAN >

    Complete recovery manager.

    The data files and RMAN backup files resides on the other HDD that are:

    / var/oradata/XE

    / var/oracle_fra

    I also copied the following files:

    init.ora

    spfile2init.ora

    spfileXE.ora

    Now the OS is reloaded, and I installed oracle from scratch:

    SQL > SELECT * FROM v version $;

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production

    PL/SQL Release 11.2.0.2.0 - Production

    CORE Production 11.2.0.2.0

    AMT for Linux: Version 11.2.0.2.0 - production

    ===================================

    ] # cat/etc/centos-release

    CentOS release 6.7 (Final)

    The following folders/files are on my slave drive:

    oradata/disk1 /.

    / Disk1/oradata/XE

    /Disk1/oradata/XE/control.dbf

    /Disk1/oradata/XE/redo10_01.dbf

    /Disk1/oradata/XE/redo11.dbf

    /Disk1/oradata/XE/redo12.dbf

    /Disk1/oradata/XE/redo13.dbf

    /Disk1/oradata/XE/redo14.dbf

    /Disk1/oradata/XE/redo15.dbf

    /Disk1/oradata/XE/SYSAUX.dbf

    /Disk1/oradata/XE/system.dbf

    /Disk1/oradata/XE/temp.dbf

    /Disk1/oradata/XE/undotbs1.dbf

    /Disk1/oradata/XE/users.dbf

    oracle_fra/disk1 /.

    / Disk1/oracle_fra/XE

    / Disk1/oracle_fra/XE/ARCHIVELOG

    / Disk1/oracle_fra/XE/Autobackup

    / Disk1/oracle_fra/XE/backupset

    / Disk1/oracle_fra/XE/onlinelog

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_09_29

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_09_30

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_01

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_02

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_03

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_04

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_05

    / Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_06

    /Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_04/o1_mf_1_731_c11ognk8_.arc

    /Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_05/o1_mf_1_732_c149vo3c_.arc

    /Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_05/o1_mf_1_733_c15dshcn_.arc

    /Disk1/oracle_fra/XE/ARCHIVELOG/2015_10_06/o1_mf_1_734_c18sw1q9_.arc

    / Disk1/oracle_fra/XE/Autobackup/2015_09_29

    / Disk1/oracle_fra/XE/Autobackup/2015_09_30

    / Disk1/oracle_fra/XE/Autobackup/2015_10_01

    / Disk1/oracle_fra/XE/Autobackup/2015_10_02

    / Disk1/oracle_fra/XE/Autobackup/2015_10_03

    / Disk1/oracle_fra/XE/Autobackup/2015_10_04

    / Disk1/oracle_fra/XE/Autobackup/2015_10_05

    /Disk1/oracle_fra/XE/autobackup/2015_10_04/o1_mf_s_892175488_c11ogk7m_.BKP

    /Disk1/oracle_fra/XE/autobackup/2015_10_05/o1_mf_s_892261919_c149vhn0_.BKP

    / Disk1/oracle_fra/XE/backupset/2015_09_29

    / Disk1/oracle_fra/XE/backupset/2015_09_30

    / Disk1/oracle_fra/XE/backupset/2015_10_01

    / Disk1/oracle_fra/XE/backupset/2015_10_02

    / Disk1/oracle_fra/XE/backupset/2015_10_03

    / Disk1/oracle_fra/XE/backupset/2015_10_04

    / Disk1/oracle_fra/XE/backupset/2015_10_05

    /Disk1/oracle_fra/XE/backupset/2015_10_04/o1_mf_nnndf_TAG20151004T023003_c11ocwg1_.BKP

    /Disk1/oracle_fra/XE/backupset/2015_10_05/o1_mf_nnndf_TAG20151005T023003_c149qwxk_.BKP

    /Disk1/oracle_fra/XE/onlinelog/o1_mf_1_9d4vrb2o_.log

    /Disk1/oracle_fra/XE/onlinelog/o1_mf_2_9d4vrcn4_.log

    /Disk1/oracle_fra/XE/onlinelog/o1_mf_3_9d4vrfbh_.log

    /Disk1/oracle_fra/XE/onlinelog/o1_mf_4_9d4vrgt3_.log

    /Disk1/oracle_fra/XE/onlinelog/o1_mf_6_9d4vr88o_.log

    Now I want to restore the last backup of the database:

    I googled and found this article: How do to restore database Oracle using RMAN (with examples) but do not know what is:

    RMAN > SET DBID 12345;

    Question-1: Which means the VALUE XE 1521 in my case?

    Question-2: Lbooking for a restore script


    It will be the first time in my career to restore the database

    Thank you in anticipation

    I guess that the following be useful: Oracle Database 11g: example of disaster recovery. When you restore a database from scratch, you need to know and define the DBID to identify the files required for the restoration, which must also match your target database, which is the database or the instance that you want to restore.

  • Cold DB RMAN backup & restore on the other server: best procedure?

    Hello

    A few days ago I did a cold backup of the GR 2 CARS DB 11 with the following commands:

    srvctl stop database d DBPOC

    RMAN target / < < EOF

    bootable media;

    run

    {

    assign the channel c1 type disc format ' / tmp/dump/coldBkp/%T_%d_DBID%I_s%s_p%p.bkp';

    backup of database TAG 'BKPCOLDDBPOCC' keep until 'sysdate + 1000';

    backup current controlfile TAG 'BKPCOLDDBPOC_CTL' keep until 'sysdate + 1000';

    backup spfile TAG 'BKPCOLDDBPOC_SPF' keep until 'sysdate + 1000';

    output channel c1;

    }

    SHUTDOWN IMMEDIATE;

    quit smoking;

    FO %

    srvctl start database-d DBPOC

    srvctl start service d DBPOC

    Then noticing that I need a copy of controlfile I also did:

    backup current controlfile copy format in ' / opt/dump/oracle/coldBkp/currentctlfile.ctl';

    He made a set of files in the file/tmp/dump/coldBkp system that I copied to another server, resembling:

    20130912_DBPOC_DBID23987234897_s371_p1.BKP... plus my currentctlfile.ctl.

    I copied everything on another machine in/tmp/rest, where the same structure of fs and ASM

    starts existed; then run the following commands to restore this DB on

    This new server:

    1 / set some env variables

    2 / cp initDBPOC.ora /opt/oracle/app/ora11g/product/11.2.0/db_1/dbs

    3 / sqlplus: Startup nomount pfile=/opt/oracle/app/ora11g/product/11.2.0/db_1/dbs/initDBPOC.ora

    4 / rman: restoring controlfile to ' / location/of/coldbackup/files/currentctlfile.ctl';

    5 / rman: sql 'alter database mount;

    6 / rman: catalogue start with "/ location/of/coldbackup/files";

    [Type here YES]

    7 / rman: restore the database;

    8 / sqlplus: recover database using backup controlfile until CANCEL;

    [immediately cancelled the first required archive log]

    9 / sqlplus: alter database open resetlogs;

    The procedure has worked.

    But I'm not happy with this, I thought I could have done with RMAN. However, I discovered

    e.g. a CONTROLFILE RECOVER with the HELP of BACKUP is not possible with RMAN etc etc.

    and I had to swith back to sqlplus, surprisingly.

    Am I missing orders RMAN should I used? Y at - it another way - more simple? -of

    perform this restore/recovery simple thanks to the RMAN utility only? Or is my error in backup

    the first place and I should have used other commands for backup?

    Thank you very much in advance for any advice you can give me...

    Kind regards

    Sébastien

    Hello

    You can use

    RMAN > RECOVER DATABASE;

    and for the time being, you can use

    Set until clause with TIME/SCN/restore point

    HTH

  • 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
    Joachim

    I 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.

  • Message Windows to restore in the minimized state bar panel.

    Are there messages that appear when a window is restored from the State, other than the 'Got Focus' message (for the recall of the main table)? I need to know when a group of experts has been restored to the State of minized (the user has clicked the button on the taskbar) and is used again. Other than the flag that set if a child window has a separate task bar button, it seems no signals or functions in that regard at all.

    It is currently not possible. However, this proposal has already been posted hereand you can add your own voice, in order to increase the probability that it gets implemented.

    Luis

  • Restore to factory state out of the box. Can I install all updates from Microsoft using Windows update or can I install antivirus first before to connect to internet?

    Restore to factory state out of the box. Can I install all updates from Microsoft using Windows update or can I install antivirus first before to connect to internet?

    Currently Windows Vista Home Premium SP1 x 86 (no patches since 2008). Currently, it has no AV and has not been connected to the internet yet. It will be behind a router.

    I had to redo the factory already reset after be connected to the net for 20 minutes and then a bunch of programs kept crashing saying Data Execution Prevention had to close the program StackHash and BEX error when executing update for HP drivers.

    Maybe I installed Kaspersky first next time?

    What should I do?

    Thank you!

    No problem. Install the updates. You can install the anti-virus later.

    Just don't start browsing the inet by updating.

  • RMAN to manage the restoration of table for batch run

    Hi all

    11.2.0.1

    Our batch process sometimes must be rerun or reprocess because of wrong process/product.

    The replay process, we import back 1 table affected since the last backup of the night.

    RMAN is able to restore a single table in the PROD database without affecting other tables?

    Or this can be done only through expdp and this is why we also need to save this table every day using this tool?

    Thank you very much

    zxy

    yxes2013 wrote:

    I am therefore justified I should use expdp as a way to save single table? Contrary to what they say that expdp cannot be used as a backup tool?

    Thank you

    Fran and many, many, many others have pointed out on many, many, many other threads, export cannot be considered a backup of the database because it cannot be used to restore a database.  You must have a live, healthy, functioning of data base upward and running in order to have something in which to import.

    Which is to say not that export is not put in a normal backup plan. Most DBA will include a regular periodic export as well as their backups rman.  Exactly the type of scenario you describe.  If you know going in what a batch can be cancelled, so it is perfectly legitimate to start this batch with one-step expdp to export tables that are involved.  However, If there is no other treatment had place between start this batch and the time you discover that you need to 'reset' and run it again, a recovery of the PIT of rman backup database, or blowback of base of data might be a preferable solution.

    As in all things, the answer is 'it depends', and only your organization can decide...

  • RMAN and 05500: the auxiliary database must not be mounted when using DUPLICATE

    Hello

    Oracle10g2
    RHEL4

    The artist DR configuration using RMAN backup.

    There are two db Server computers:

    1) mac1-> backend
    2) mac2-> backup server

    File structure of database as a backup on the server location is the same.

    Entry TNSNAME on both servers are perfect, verified using tnsping.


    Now, to create a backup database.

    I made the RMAN backup on mac1 (main server) then transferred backup (full backup directory) to mac2 (backup server)

    Then, on the standby server,

    -> took on the eve of the database in nomount mode
    --> connected to the target database (i.e. standby db) with RMAN
    -> database connected to auxiliary

    But the granting of "Duplicate" command results in the error, as shown below:

    RMAN > target database double standby nofilenamecheck dorecover;

    RMAN-05502: the target database must be mounted on the issue of a duplicate order

    and when I put the target database (standby db) in the editing mode, gives the error below:

    RMAN and 05500: the auxiliary database must not be mounted on the issue of a duplicate order

    where I did mistake? How to solve this problem?


    Concerning

    Hello

    There is nothing wrong

    target (in fact the Pb of the source) must be mounted
    auxiliary (actually the destination db) can not be mounted.

    These messages refers to the source and destination db. from 11 g, you can duplicate opensource db (a.k.a. target)

    P.

  • Problem with the restoration of the database

    Hello world

    I have a strange problem while restoring the database with rman. The problem is that the data are not restored at all.

    Let me show you what I do step by step:

    1. create the test table:

    $ sqlplus / as sysdba

    SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 22:51:58 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > create table test (ID);

    Table created.

    SQL > insert into values test (1);

    1 line of creation.

    SQL > commit;

    Validation complete.

    2. backup the current database:

    rman target $ /.

    Recovery Manager: release 11.2.0.1.0 - Production Fri Apr 17 22:56:44 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: ORACLE (DBID = 1672007929)

    RMAN > backup database;

    From 17 April 14 backup
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 6 type of device = DISK
    channel ORA_DISK_1: starting full datafile from backup set
    channel ORA_DISK_1: specifying datafile (s) in the backup set
    Enter a number of file datafile = 00001 name=/u01/app/oracle/oradata/oracle/system01.dbf
    Enter a number of file datafile = name=/u01/app/oracle/oradata/oracle/sysaux01.dbf 00002
    Enter a number of file datafile = name=/u01/app/oracle/oradata/oracle/undotbs01.dbf 00003
    Enter a number of file datafile = 00005 name=/u01/app/oracle/oradata/oracle/example01.dbf
    Enter a number of file datafile = name=/u01/app/oracle/oradata/oracle/users01.dbf 00004
    channel ORA_DISK_1: from room 1 to 17 April 14
    channel ORA_DISK_1: finished piece 1 to 17 April 14
    piece handle=/u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_nnndf_TAG20140417T230734_9o1j980f_.bkp tag = TAG20140417T230734 comment = NONE
    channel ORA_DISK_1: complete set of backups, time: 00:00:57
    channel ORA_DISK_1: starting full datafile from backup set
    channel ORA_DISK_1: specifying datafile (s) in the backup set
    including the current control in the backup set file
    including current SPFILE in the backup set
    channel ORA_DISK_1: from room 1 to 17 April 14
    channel ORA_DISK_1: finished piece 1 to 17 April 14
    piece handle=/u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_ncsnf_TAG20140417T230734_9o1jc09s_.bkp tag = TAG20140417T230734 comment = NONE
    channel ORA_DISK_1: complete set of backups, time: 00:00:01
    Backup finished on 17 April 14

    3. change the data in the test table

    $ sqlplus / as sysdba

    SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 23:10:16 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.


    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select * from test;

    ID
    ----------
    1

    SQL > update test set ID = 2;

    1 line update.

    SQL > commit;

    Validation complete.

    4. restore the database

    RMAN target /.

    Recovery Manager: release 11.2.0.1.0 - Production Fri Apr 17 23:11:15 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: ORACLE (DBID = 1672007929)

    RMAN > shutdown immediate;

    using the control file of the target instead of recovery catalog database

    database closed

    dismounted database

    Instance Oracle to close

    RMAN > bootable media.

    connected to the database target (not started)

    Oracle instance started

    mounted database

    Total System Global Area 835104768 bytes

    Bytes of size 2217952 fixed

    629147680 variable size bytes

    197132288 of database buffers bytes

    Redo buffers 6606848 bytes

    RMAN > restore database;

    From restoration to April 17, 14

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 156 type device = DISK

    channel ORA_DISK_1: from the restore backup set data file

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_DISK_1: restore datafile 00001 to /u01/app/oracle/oradata/oracle/system01.dbf

    channel ORA_DISK_1: restore datafile 00002 to /u01/app/oracle/oradata/oracle/sysaux01.dbf

    channel ORA_DISK_1: restore datafile 00003 to /u01/app/oracle/oradata/oracle/undotbs01.dbf

    channel ORA_DISK_1: restore datafile 00004 in /u01/app/oracle/oradata/oracle/users01.dbf

    channel ORA_DISK_1: restore datafile 00005 to /u01/app/oracle/oradata/oracle/example01.dbf

    channel ORA_DISK_1: backup /u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_nnndf_TAG20140417T230734_9o1j980f_.bkp piece reading

    channel ORA_DISK_1: room handle=/u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_nnndf_TAG20140417T230734_9o1j980f_.bkp tag = TAG20140417T230734

    channel ORA_DISK_1: restored the backup part 1

    channel ORA_DISK_1: restore complete, duration: 00:00:55

    Restoration finished in 17 April 14

    RMAN > restore database;

    To go back to April 17, 14

    using channel ORA_DISK_1

    starting media recovery

    media recovery complete, duration: 00:00:03

    Finished recover at April 17, 14

    RMAN > sql 'alter database open;

    SQL statement: alter database open

    5. check if the data has been restored

    sqlplus / as sysdba

    SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 23:14:39 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.


    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select * from test;

    ID
    ----------
    2

    Summary:

    Data has not changed. Provided the ID is 1, but after the success of data recovery is not restored (ID is always 2).

    Can someone help me? What I am doing wrong?

    Database is Oracle 11 g with archivelog active

    Ol6 2.6.39 Linux OS - 300.17.2.el6uek.x86_64

    RMAN > restore database;

    To go back to April 17, 14

    using channel ORA_DISK_1

    starting media recovery

    media recovery complete, duration: 00:00:03

    Finished recover at April 17, 14

    RMAN > sql 'alter database open;

    SQL statement: alter database open

    5. check if the data has been restored

    sqlplus / as sysdba

    SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 23:14:39 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select * from test;

    ID
    ----------
    2

    Summary:

    Data has not changed. Provided the ID is 1, but after the success of data recovery is not restored (ID is always 2).

    Can someone help me? What I am doing wrong?

    Database is Oracle 11 g with archivelog active

    the recovery was successful, but achieved your goal.

    There are several options to reach your goal to recover your database to a particular State that is point in time.

    1 restore the file of control as noted above. you restore the control file must not be aware of the generated once archivelog that you update your table. IE backup controlfile prior you updatedyour table.

    2. do not apply archivelog all during recovery. You can use SNA, SEQUENCE, RESTORE POINT option of the recover command. This option requires that you open your database with resetlog.

    read: scene of Flashback and the database Point-in - time recovery

    After a restore successful your database (before the recover command), you can "alter database open read-only" to check and confirm the values in the table.

    HTH

    Tobi

  • Consistent test 'copy' of RMAN backup outside the ASM (RAC)

    Hello!
    We create consistent backup RMAN in our CARS (ASM with FRA) environment.
    Safeguard measures looks like:
    alter system set cluster_database=false scope=spfile sid='HAC4';
    srvctl stop database -d HAC
    Then we begin the RMAN backup script as (database is closed to the ground before):
    run {
    startup mount;
    allocate channel t1 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    allocate channel t2 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/rman_backup/HAC/cold_backup/HAC_%F_ctl';
    backup as copy database include current controlfile;
    }
    After backup, we realize:
    alter system set cluster_database=true scope=spfile sid='HAC4';
    shutdown immediate;
    and later
    srvctl start database -d HAC
    This backup backup files are placed on the area of local disk accessed by noeud4, where HAC4 SID is on.
    We transfer the backup files to tape on an hourly basis...

    Now, we want to test this backup.
    Scenario:
    Because we have consistent backup, we think we can restore her (from files on this disc) and him ALONE!
    Our problem is that while restoration is the use of the DSO files, so we're not sure is our backup.

    So, how to prevent the RMAN restore/recovery process of using any ASM file - just to use our consistent backup data?

    Please a few example script for this...

    Our config:
    Oracle 10gR2.0.4 PS3 (NCPS, ASM database),
    Linux Rhel IA64 5.3 on 'raw devices' (no raw disks)

    THX
    Damir

    Hello

    What I realized is that you want to test the image copy backup you took earlier and test this to restore the database, as it is.

    Now, if I see your script, it shows that you have restored control file and then you tried to recover the database.

    But when you make the copy of the image of the database, and you want to restore, then you have to try to restore the database first. I don't see any "restore order" in your script.

    RMAN > restore database from tag = "";

    Firstly, this will restore the data files.

    Then, use

    RMAN > restore database;

    Then, open the database.

    Kind regards
    Vermorel

  • restore / recover the control file

    Hello
    in 10g, I lost all the files of ctl and I want to restore/recovery of backups RMAN.
    Oracle documentation:
    6.4.1.4 Restoring a Control File When Using a Recovery Catalog
    Restoring a lost control file from autobackup is easier when using a recovery catalog than when using only the control file to store the RMAN repository. The recovery catalog contains a complete record of your backups, including backups of the control file. Therefore, you do not have to specify your DBID or control file autobackup format.
    
    To restore the control file, connect RMAN to the target database and the recovery catalog, and bring the database to NOMOUNT state. Then issue the RESTORE CONTROLFILE command with no parameters, as in this example:
    
    % rman TARGET rman/rman CATALOG catdb/catdb
    RMAN> RESTORE CONTROLFILE;
    After that I should publish any statement to RECOVER or change the editing of the database and alter database open would be enough?

    Thank you.
    Is there a complete senario anywhere?

    The restoration is correct.

    Please see the following:

    http://www.SC.EHU.es/siwebso/KZCC/Oracle_10g_Documentacion/server.101/B10734/rcmrecov.htm#1006247

  • whenever I get the error message and I can not get the system restore or the automatic updates touch

    whenever I try to use the system restore I get the message that it was impossible to restore to dat what I ever try to restore any file were change

    more my automatic updates keep coming up it downloads according to the full upgrade, then the icon disappears, then comes back and he wants

    upgrading again any suggestions

    Hi chuckdutton,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    3. What is the reason for the execution of the system restore on the computer?

    4. do you have security software installed on the computer?

    5. you receive similar message appears when you try with different restore points?

    There are various reasons for the system restore fail on the computer.

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

    Also see the article below and check if it helps.

    Steps of troubleshooting for problems when you try to use the System Restore tool in Windows XP

    http://support.Microsoft.com/kb/302796

    Refer to the article below and try the steps mentioned, check if that fixes windows update icons that appear on the system tray.

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

    http://support.Microsoft.com/kb/910339

  • How to extract data from your laptop with crushed Windows Vista without restoring to the factory settings?

    I ran a few updates, but before you restart the computer, I deleted many files.

    The result is that my Vista does not start, and only offered solution is to restore to factory State, which is not acceptable for me because I need data from the HARD drive.
    Y at - it an easy way to recover data from the HARD drive, or should I contact? Thank you.

    Need help on MS Answers was my last option before calling a service.

    But, luckily, I found a way. I just change the settings in the BIOS for SATA, Vista started, I restored some of the deleted files, and voila - it worked. Another reboot, BIOS have been changed on the previous settings, and now it works perfectly.

Maybe you are looking for