RMAN restore/recovery

Is it possible to restore a RMAN full backup on a different/db machine?

I have a DB of Prod (800 f) running 10.2.0.4 and launch the RMAN backup strategy. I am to perform full backups on tape and need to prove that the backups are viable for the restoration. The problem I have is that I can't do any test on the Prod db. My original plan was to create a tablespace and a data file - get the rman backup, delete the data file and restore from the backup. I'm not allowed to do this simple test, while he was susggested we use RMAN to recover from Prod backup set to a different database on another server. Is it still possible? I proved functionaly RMAN can restore in a test environment, but management wants to prove we can restore/recovery of data from production wo affecting primary production of db.

Thank you!!!

Hello.
If you have access to metalink take a look at the Doc.
388431.1 (creation database duplicated on a new host). RMAN
* T

Tags: Database

Similar Questions

  • urgent server won't boot up, how rman restore/recovery?

    Hello

    Reboot server SA will not start server.

    s/n cannot access server.

    the worst case:

    If SA want to rebuild a new server, reinstall the oracle database, is there docs to show me how to restore/recovery of database using rman of rman backup files in the old server records.

    (we do not catalog rman, just the control file)

    Thank you very much!

    If SA want to rebuild a new server, reinstall the oracle database, is there docs to show me how to restore/recovery of database using rman of rman backup files in the old server records.

    Yes - there are a LOT of docs on the web. Just use your favorite search engine and the search for them. They are EASY to find.

    But the SMARTEST thing would be to find the problem with the original database and fix it.

  • Question of ditch RMAN restore/recovery

    Hi all, so here's my situation.

    I have two database servers, both running 10.2.0.1 SE on RHEL 4. One is the primary database, and the second is a standby mode. Since it's SE and given there guard is not available, the primary database has archive_lag_target value 30 minutes. The standby database is in a mounted State, and a cron job runs every 30 minutes which catalogues the primary archivelogs and does a recovery of the database to apply the archivelogs. This means that the database pending is to to more than 30 minutes behind the primary.

    The other night, the primary database server hung and restarted on its own to almost 450 h, and the last filled archivelog reached about 441 h, (sequence #52113). When the principal server has increased once again, we have tried to launch database errors, but recovered, ora-600/7445 database corruption, so we decided to wait. The last archivelog seq # 52113, has been applied on the eve and passed on the eve of the operations.

    The day before is now last up to 441 hours. As the primary database server is stopped at 450 pm, is there a way to always retrieve the changes between 441 pm and 450 MP? If I do a restore/recovery using the backup, the database that results would not be recovered at the same time/scn as data watches, namely the #52113 seq?

    Any help would be appreciated.

    Yes you can.

    But be careful you've got errors ora-600/7445, so contacts with the support of oracle first.

    Concerning
    Asif Kabir

  • 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 and recovery

    Hello

    If I have two full backups in my FRA (say 7 to 14 days)

    Q1. I assume that if I run it.

    RMAN > restore database;

    It will go to the last backup (7 days ago)?

    Q2. How to restore the backup of ago 14 days instead?

    Q3. If I restore the database of 14 days but then question

    RMAN > recover database until < 3 days >

    RMAN would simply apply the recovery logs archived for 14 days to the point of recovery or it would be smart enough to realize, there a backup to restore all first 7 days ago, then apply 7 days recovery logs, to the point of recovery?

    Q4. Can you do an online backup as a copy of the Image instead of a backup set or you can offline backups when you use a copy of the Image?

    All wisdom, greatly appreciated

    Jim

    (1) switching is not required for recovery. You have just enough do to standardize the data files. It doesn't matter if the switch is produced or not.

    (2) "extra small set of archivelogs" can be enormous if the backup is long-term with many DML during backup.

    You need a sufficiently archivelogs, regardless of the copy backupset or image, to make the data files in compliance.

    (3) hot RMAN copy backup data files, while they are updated, but in order to avoid a block inconsistent read to avoid corruption. The data files are not frozen, as with the hot user managed backup.

  • RMAN restore error - recovery of media asking unknown journal: thread 1 seq 7

    IM using RMAN to copy a database to another server. The new server is IDENTICAL to the former. By identical I mean she has the same break the name, ip address, operating system, directory structure and the Oracle version.

    The new server has already created instance, (same name as the old server example, paths etc.)

    The backup files have been restored manually on the new server, the same places that they were on the old. (RMAN makes a backup controlfile automatic and also the archivelogs on the old server).

    Ive restored the control file to the new server from the elements of RMAN backup.

    Ive cataloged items of RMAN backup on the new server.

    I know that the last available in the backup of the archivelogs sequence running on the new server:

    backup from the list of the archivelog all;

    List of backup sets
    ===================

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    14,43 5 M DISK 00:00:03 11 MAY 11
    BP key: 9 situation: AVAILABLE Tablet: NO Tag: TAG20110511T163502
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
    011_05_11\O1_MF_ANNNN_TAG20110511T163502_6WOC5833_. BKP

    List of newspapers archived on backup the value 5
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 2 550217 10 MAY 11 556559 11 MAY 11
    1 3 556559 11 MAY 11 559776 11 MAY 11
    1 4 559776 11 MAY 11 560093 11 MAY 11
    1 5 560093 11 MAY 11 560794 11 MAY 11

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    RECORD OF 15.50 K 7 00:00:01 11 MAY 11
    BP key: 10 location: AVAILABLE Tablet: NO Tag: TAG20110511T163653
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
    011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. BKP

    List of newspapers archived in backup set 7
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 6 560794 11 MAY 11 560851 11 MAY 11


    So far its all perfectly fine.

    Now I want to restore the data files and recover. So I ran:

    RMAN run {restore database; recover database; alter database open resetlogs ;}}

    This gave me the result below is going very well, but I get a final error, I think that the error is because its search for an archive log that is not in the backup set, but it should be. However, I think 560851 SNA is for a journal that had not yet been created on the old server when the backup was run?

    I address, how to fix the error? Its interesting to note the journal, "archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG".
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. ARCH-recid = 10 = 750881741 "stamp is not on the old server or which explains why this isn't in the backup set.

    I can do an alter database open reset connects but Id prefer to know why its failure.


    Any help would be appreciated.

    ........................................................


    RMAN > run {restore database, recover databases; alter database open resetlogs ;}}

    From restoration to 11 May 11
    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 C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSTEM01. DBF
    restoring datafile 00002 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\UNDOTBS01. DBF
    restoring datafile 00003 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSAUX01. DBF
    restoring datafile 00004 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\USERS01. DBF
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_. BKP

    channel ORA_DISK_1: restored the backup part 1
    room handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
    11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_. Tag BKP = TAG20110511T163507
    channel ORA_DISK_1: restore complete, duration: 00:00:55
    Restoration finished in 11 May 11


    From back to 11 May 11
    using channel ORA_DISK_1

    starting media recovery

    channel ORA_DISK_1: from the archives to default destination log restore
    channel ORA_DISK_1: restore the newspaper archive
    archive log thread = 1 sequence = 6
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. BKP

    channel ORA_DISK_1: restored the backup part 1
    room handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
    11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. Tag BKP = TAG20110511T163653
    channel ORA_DISK_1: restore complete, duration: 00:00:01
    archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. Wire ARC = 1 sequence = 6
    default channel: delete records or newspapers
    archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. ARCH-recid = stamp 10 = 750881741
    Cannot find the log archiving
    archive log thread = 1 sequence = 7
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 11/05/2011 18:15:42
    RMAN-06054: recovery of media asking unknown journal: thread 1 seq 7 lowscn 560851

    RMAN >

    Published by: user12173666 on May 11, 2011 10:28

    He asked all of the available archives, whenever you give the database recovery, he keeps searching for the next archives, actually these archives are not yet generated, then you can ignore.

    Now just connect to SQL and give

    SQL > alter database open resetlogs;

    It should work.

  • RMAN restore to a new server

    Server has: 11.2.0.4.0 on Windows Server 2008

    Server B: 11.2.0.4.0 on Windows Server 2008

    I use RMAN full backup on server A (suppose it's the PROD server) every night. It's the backup script

    RUN
    {
    SQL "alter session set nls_date_format = 'MON-DD-YYYY HH24:MI:SS' ';"
    overlap archivelog all;
    cross-checking of backup;
    # physical file exist, repository knows it; but the retention policy does not need it.
    #delete noprompt expired backup;
    #delete noprompt expired archivelog all;
    # physical file does not not exist while the repository knows.
    SQL 'alter system archive log current';
    SQL 'alter system archive log current';
    backup
    (database FORMAT '-bkupsvr\dbbackup\srcsvr\FULLBKUP_%d.DBID%I.%T.%s.%p.rman "")
    more archivelog delete the input FORMAT '-bkupsvr\dbbackup\srcsvr\ARCHLOGBKUP_%d.%e.DBID%I.%T.%s.%p.rman';
    window recovery obsolete 1-day report;
    Remove window recovery obsolete noprompt 1 days;
    SPFile backup FORMAT '-bkupsvr\dbbackup\srcsvr\SPFILE_BKUP_%d.DBID%I.%T.%s.%p.rman';
    backup current controlfile FORMAT '-bkupsvr\dbbackup\srcsvr\CTLFILE_BKUP_%d.DBID%I.%T.%s.%p.rman';
    SQL ' alter database backup controlfile to trace as "------bkupsvr\dbbackup\srcsvr\ctlfileTEST.txt 'REUSE ';
    SQL "' create pfile ="-bkupsvr\dbbackup\srcsvr\initORCL9.ora "of spfile"; "

    }

    Scenario of

    A server is completely destroyed in a fire of data center; but bkupsvr is in another building. Therefore, backups are safe.

    Given this scenario, how can I restore?

    Possible solutions?

    Group server running server B. I have installed Oracle and created a blank database. The DBID is different. Should I treat this as a restoration or should I treat it as a replica from a backup?

    I guess I need advice on the restoration plan.

    Thank you!

    He now works within the server itself and other servers.

    The problem with the desktop connection remains.

    Are you sure that you connect the same way? If the error you get is "ORA-01017: invalid username / password; connection refused"it looks like a case sensitivity issue: to check that, try the setting sec_case_sensitive_logon false.

  • RMAN, restoration of ASM no - asm environment!

    Dear friends,

    WE are running Oracle 11 GR 2 CARS as our PRODUCTION server. also, we have a single instance, DATAGUARD, where production data are replicated.

    On the end DATAGUARD, we take a weekly full backup RMAN. My db_name is 'isldb '.

    Now I want to restore the backup, RMAN COMPLETE the DATAGUARD server to a new server NO - ASM using file system normal... For this reason, I have to follow the procedure below:

    (1) take RMAN full backup of DATAGUARD END as a stage to mount and store it on ' / rmanback' file.  I use the below taken backup script:

    Run {}

    allocate channels d1 device type disk format ' / rmanback/isl/$TODAY/df_%U_%T';

    allocate channel device type d2 disc format ' / rmanback/isl/$TODAY/df_%U_%T';

    backup database effective additional 0 CHECK the LOGIC AS BACKUPSET COMPRESS;

    backup format ' / rmanback/isl/$TODAY/controlfile.ctlbk' (current controlfile);

    backup format ' / rmanback/isl/$TODAY/spfile.spbak' (spfile);

    ARCHIVELOG backup all;

    output channel d1;

    output channel d2;

    }

    (2) the transfer of the rman backup complete on a remote server on the same ' / rmanback' file.

    (3) in the new server, I take the scene nomount database using a spfile (spfile has a single entry: 'DB_NAME = isldb')

    (4) then I restore the controlfile successfully:

    [oracle@PRIM ~] target rman $ /.

    Recovery Manager: release 11.2.0.3.0 - Production Wed Aug 20 16:01:21 2014

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

    connected to target database: ISLDB (unassembled)

    RMAN > restore controlfile to ' / rmanback/isl/20140810_181405/controlfile.ctlbk';

    From restoration to 20 August 14

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

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 332 type device = DISK

    channel ORA_DISK_1: restore the control file

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

    output file name=/u01/app/oracle/oradata/isldg/control01.ctl

    output file name=/u01/app/oracle/oradata/isldg/control02.ctl

    Finished restore at August 20, 14

    (5) to restore the data successfully file using the command below:

    run

    {

    the value of newname for datafile '+ DATA/isldg/datafile/system.298.849413815' to ' / u01/app/oracle/oradata/isldb/system1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/sysaux.295.849413813' to ' / u01/app/oracle/oradata/isldb/sysaux1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/undotbs1.296.849413813' to ' / u01/app/oracle/oradata/isldb/undotbs1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/undotbs2.297.849413815' to ' / u01/app/oracle/oradata/isldb/undotbs2.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/users.299.849413849' to ' / u01/app/oracle/oradata/isldb/users1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/bu_system_tbs.291.849413617' to ' / u01/app/oracle/oradata/isldb/bu_system_tbs1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/bu_his_log_tbs.292.849413617' to ' / u01/app/oracle/oradata/isldb/bu_his_log_tbs1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/bu_index_tbs.293.849413617' to ' / u01/app/oracle/oradata/isldb/bu_index_tbs1.dbf';

    the value of newname for datafile '+ DATA/isldg/datafile/bu_image_tbs.294.849413619' to ' / u01/app/oracle/oradata/isldb/bu_image_tbs1.dbf';

    the value of newname for tempfile 1 to ' / u01/app/oracle/oradata/isldb/temp1.dbf';

    restore the database;

    }

    RESTORATION came with success, and all data files store in the folder specified with success.

    (6) now when I recover the database, then I found the below error:

    > SQL > alter database open resetlogs;

    ALTER database open resetlogs

    ERROR on line 1:

    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file

    ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.

    > SQL > restore database;

    ORA-00283: cool cancelled due to errors

    ORA-01610: recovery using BACKUP CONTROLFILE option must be

    > SQL > restore database until cancel using backup controlfile;

    ORA-00283: cool cancelled due to errors

    ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.

    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file

    ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.

    Could someone help me please, how can I recover as open my database?

    Your archivelog was not "missing."  He seems to have a different file name format.

    No one can touch «_allow_resetlogs_corruption» action  You are now on your own.

    Hemant K Collette

  • Restore/recovery of database HRCS90 question: psimage2.dbf

    People,

    Hello. On December 2, 2013, I backed up my instance of database with RMAN with Oracle Linux 5 HRCS90. the backup of the database to run correctly. 2 files 'full_0doqhbqc_13_1' and 'full_0eoqhce9_14_1' are saved in the /backup_database_instance_HRCS90 directory.


    Because my HRCS90 database has been damaged, I need to restore the database to HRCS90 until the time 02-Dec_13 when it is saved.

    First, do not use SET up to THAT. I have run the commands below:

    RMAN > CONNECT TARGET;

    RMAN > RESTORE database;

    The system is in place the error message as below:

    RMAN-06956: create the data file failed; Retry after the withdrawal of the /u01/oradata/HRCS90/psimage2.dbf of the OS.


    So, I delete the /u01/oradata/HRCS90/psimage2.dbf file and do not have a copy of it.

    I run RESTORE DATABASE and the psimage2.dbf file is re-created.

    The output from the RESTORE DATABASE command is:

    Restoration complete, duration: 00:15:54

    Finished restore at February 1, 14.

    Then I run the following command:

    RMAN > RECOVER DATABASE;
    Its release: WARNING: media recovery until all SNA 1947113. Finished recover at February 3, 14.

    Second time, because I need the database prior to 12/02/2013 when she has been saved, I run the command below:

    RMAN > RUN {SET until TIME ' to_date (February 12, 2013: 00:04:56 ',' DD-MM-YYYY: HH24:MI:SS') ";} RESTORE THE DATABASE ;}

    The commands run correctly and restore complete above.


    Then I run the command below:

    SQL > ALTER DATABASE OPEN RESETLOGS;

    His output: failure to change the db command. File 121 was created in the future of incomplete recovery. Data file 121: u01/oradata/HRCS90/psimage2.dbf.

    RMAN > RECOVER NOREDO of DATABASE;

    Its release: recover command failed. Data file 121 must be restored.


    121 data file is the u01/oradata/HRCS90/psimage2.dbf file. I have made sure the directory/u01/oradata/HRCS90/has rwx for all users and groups permissions.


    RESTORE DATABASE SET up THAT do not recreate the file psimage2.dbf RESTORE DATABASE while recreate the file psimage2.dbf.

    I deleted the psimage2.dbf file and cannot resume. I can't find the ORA-1248 by DBPITR article using a current controlfile (Doc ID 1558515.1).

    My question is:

    Any folk can tell me how to RESTORE/RECOVERY of database HRCS90 with the VALUE up to THAT in other way for example using the file command?

    or how to fix psimage2.dbf file that has been deleted by me?

    Thanks in advance.


    Congratulations! Your database is open so not required recovery (recovery database noredo).

    I'm glad that it worked for you. Since you open this database with reset logs, it is recommended that you take a Level0 backup costs.

    HTH
    Anuj

  • Restore/recovery of database HRCS90 how?

    People,

    Hello. On December 2, 2013, I backed up my instance of database with RMAN with Oracle Linux 5 HRCS90 as below:

    SQL > bootable media. (HRCS database is mounted but is not open.)

    SQL > "exit";

    [user@linux bin] $. / rman

    RMAN > Connect target;

    RMAN > configure channel device type disk format ' / backup_database_instance_HRCS90/full_%0_%s_%p'; (backup_database_instance_HRCS90 is the directory to store the backup files)

    RMAN > configure retention policy to recovery of 360 days window;

    RMAN > set up automatic backup of control file;

    RMAN > show all.

    RMAN > backup database;

    Then database backup is running properly. The 2 files 'full_0doqhbqc_13_1' and

    "full_0eoqhce9_14_1" are saved in the /backup_database_instance_HRCS90 directory.

    Because my HRCS90 database has been damaged, I need to restore the database to HRCS90 until the time 02-Dec_13. My questions are:

    First of all, I have to delete my current instance of the database HRCS90 which is corrupt?

    Secondly, I just do the follwing 2 commands one by one to restore the database:

    RMAN > restore database;

    RMAN > restore database;

    Thirdly, the commands above 2 restore database HRCS90 in the 2 files automatically in the directory /backup_database_instance_HRCS90 on December 2, 2013?

    Finally, if the above 2 commands are not correct, how do I restore the database correctly on December 2, 2013?

    Thanks in advance.

    Hello

    The control used when retrieving file contains references to files created after CAMILLE.

    It is possible to make a DBPITR using a current copy of the control file or a copy that contains files created after the DBPITR.  However, some additional steps are necessary to avoid the ORA-1248.

    Following article will help you.

    ORA-1248 by DBPITR using a current controlfile (Doc ID 1558515.1)

    Thank you

    Renu

  • RMAN restore for now

    Hi all

    I am trying to restore the database to the point in time. But during this operation, I get following error.

    But backups are available. Could you please help me...

    [oracle@localhost ~] target rman $ /.

    Recovery Manager: release 11.2.0.1.0 - Production on Wed Feb 13 11:54:41 2013

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

    connected to target database: ORCL (DBID = 1314445644, is not open)

    RMAN > run
    2 > {}
    3 > until ' to_date (December 2, 2013 20:03 ',' DD-MM-YYYY HH24:MI:SS') ";
    4 > restore database;
    5 > restore database;
    {6 >}

    executing command: SET until clause

    From restoration to February 13, 13
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 10 type of device = DISK

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command to the 13/02/2013 11:58:02
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore

    RMAN >

    Hello

    Now, only yesterday I took the full backup of the database (February 12, 2013). Now I want to restore back to 2 days (February 11, 2013---> my time target).

    Unfortunately, you cannot restore to February 11, 2013 by using the backup set February 12, 2013.
    CAMILLE, you must restore a previous backup before the time runs out.

    Kind regards

  • RMAN restore issues

    Hi all

    I perform a Production to a Dev Server refresh. I made a full backup of the production and trying to restore in the dev Setup...

    I delivered the backup of the production to dev box... I created a database and put it in nomount mode...

    So I'm trying to restore the controlfile, but I am gettign the error below:


    RMAN > restore controlfile to ' / orabackup/bkp_030113/controlprod.ctl';

    From restoration to January 4, 13
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 198 type device = DISK

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at the 17:50:35 04/01/2013
    RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece


    Please suggest.

    Kind regards
    Aalami

    RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece

    Can you check the backup file permissions after you have moved production to the development area?

    $ls ltr - /orabackup/bkp_030113/controlprod.ctl

    And make sure you set DBID of production database.

    BTW, FRA is configured?
    Work around you can try to disable and after successful restoration, again, you can activate FRA.

  • How to validate a rman restore?

    Hi gurus,

    IM using 11.2.0.3 database oracle under redhat 5.3.

    I do every Monday and Thursday prod of a restore/recovery with a full backup of database to test the database (in a different server).

    I think I can use a view or a table to check if the restore was successful or not with this script:

    Select end_time, status, input_type
    v $ rman_backup_job_details
    where input_type <>'ARCHIVELOG;

    For example, I did a restore 12 and 15 this week, but it is appear:
    END_TIME  STATUS                  INPUT_TYPE
    --------- ----------------------- -------------
    10-NOV-12 COMPLETED               DB FULL
    11-NOV-12 COMPLETED               DB FULL
    12-NOV-12 COMPLETED               DB FULL
    13-NOV-12 COMPLETED               DB FULL
    14-NOV-12 COMPLETED               DB FULL
    15-NOV-12 COMPLETED               DB FULL
    Why does appear other days if I omitted 'ARCHIVELOGS', is there another way to query only the result of rman backup restore/recovery?

    You can filter the output, something like this:

    select OUTPUT,
      case
        when upper(output) like '%RESTORE COMPLETE%' then 'completed'
        when UPPER(OUTPUT) LIKE '%FINISHED RESTORE%' then 'completed'
        else 'error'
      end
    from v$rman_output
    where
         upper(output) like '%RESTORE COMPLETE%' OR
         UPPER(OUTPUT) LIKE '%FINISHED RESTORE%'
     OR (
    -- to avoid the controled erros you are having:
                                       SUBSTR(upper(output),1,5) = 'RMAN-'  AND
                                       SUBSTR(UPPER(OUTPUT),6,5) <> '00571' AND
                                        SUBSTR(UPPER(OUTPUT),6,5) <> '00569' AND
                                        SUBSTR(UPPER(OUTPUT),6,5) <> '03002' AND
                                        SUBSTR(UPPER(OUTPUT),6,5) <> '06054'
         );
    
  • RMAN restore level 0, 1 incremental level and ARCHIVELOGs

    I can't understand it and I read through the documentation and the web.

    On linux 64-bit in 11.2.0.3, I do weekly backups of level 0 and increments of 1 level every night. During the day, I also do ARCHIVELOG backups.

    I know I need to restore the LEVEL 0 database files (which I can do it), then later increments of 1 LEVEL of restoration (which I just can't), then apply ARCHIVELOGs (what I do).

    My problem is HOW to apply files of database LEVEL 1 of the above LEVEL 0 incremental backups restored?

    Thanks in advance!

    default channel: deletion of Journal archives

    And I haven't used the command "recover archivelog deletion of database; I used "recover the database.

    This isn't a problem. At the time of recovery, it is common that you see these messages.

    During restore, RMAN restores the archives at the local site, and finally when the recovery is complete, it deletes the temporarily stored archives.

    rewh2oman
         
    Handle: rewh2oman
    Status level: Beginner
    Join date: January 9, 2007
    Messages total: 87
    Total Questions: 6 (4 pending)
    Name russ

    If you feel that your questions have been answered, then please provide appropriate points and consider the son of closing. Please clean the forum!

  • RMAN restore controlfile error

    I get this error below during the restoration of the control file. my auto backup controlfile is on and its still news

    RMAN > restore controlfile to ' / TIFD/dumps/TIFD/backupset/c-916530472-20120830-01';

    From restoration to 03-SEP-12
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 12 type of device = DISK

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 03/09/2012 04:42:50
    RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece


    Thank you

    If you try to restore automatic backup, use
    Restore automatic backup controlfile;

    and the element of particular backup.
    Restore controlfile to ' / backup_dir/piece_name ";

Maybe you are looking for