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.

Tags: Database

Similar Questions

  • 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
    RECOVER DATABASE
    I used to get
    archive log filename=/u04/mvf/data/dbase/arch/arch.log1_235_678649266.dbf thread=1 sequence=235
    unable to find archive log
    archive log thread=1 sequence=236
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/04/2011 14:33:18
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 236 lowscn 11290198
    I considered this as being 'Normal' and always used to cause
    alter database open resetlogs
    But I read the below mentioned informative post yesterday.

    Question on create Redo log after restoring files and recover

    According to the guidelines of this post, I shouldn't use
    alter database open resetlogs
    for a full recovery.


    So, what should I do
    a.
    Should I use
    ALTER DATABASE OPEN ; -- I think I got some error with this command when i issued it after RMAN-06054 error . Can't recall what error
    OR

    b.
    Should I use
    recover database until sequence 236;

    Here is how I could use a combination of RMAN (for RESTORATION) and SQL (for the OPEN RESETLOGS):

    $ rman target /
    
    Recovery Manager: Release 10.2.0.2.0 - Production on Wed Nov 16 05:40:51 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database (not started)
    
    RMAN> startup nomount
    
    Oracle instance started
    
    Total System Global Area     419430400 bytes
    
    Fixed Size                     1261164 bytes
    Variable Size                113246612 bytes
    Database Buffers             297795584 bytes
    Redo Buffers                   7127040 bytes
    
    RMAN> restore controlfile from autobackup;
    
    Starting restore at 16-NOV-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    
    recovery area destination: /usr/oracle/flash_recovery_area
    database name (or database unique name) used for search: MYNDB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=/usr/oracle/oradata/MYNDB/control01.ctl
    output filename=/usr/oracle/oradata/MYNDB/control02.ctl
    Finished restore at 16-NOV-11
    
    RMAN> sql 'alter database mount';
    
    sql statement: alter database mount
    released channel: ORA_DISK_1
    
    RMAN>
    RMAN> restore database;
    
    Starting restore at 16-NOV-11
    Starting implicit crosscheck backup at 16-NOV-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=155 devtype=DISK
    Crosschecked 16 objects
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 16-NOV-11
    
    Starting implicit crosscheck copy at 16-NOV-11
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Finished implicit crosscheck copy at 16-NOV-11
    
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    
    List of Cataloged Files
    =======================
    File Name: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp
    
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    
    channel ORA_DISK_2: starting datafile backupset restore
    channel ORA_DISK_2: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to /usr/oracle/oradata/MYNDB/sysaux01.dbf
    restoring datafile 00004 to /usr/oracle/oradata/MYNDB/users01.dbf
    restoring datafile 00005 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_example_7c4qzn5k_.dbf
    restoring datafile 00006 to /usr/oracle/oradata/MYNDB/undotbs.dbf
    channel ORA_DISK_2: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /usr/oracle/oradata/MYNDB/system01.dbf
    restoring datafile 00002 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_hemant_7c4qzn0o_.dbf
    restoring datafile 00007 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_assm_tbs_7c4qzn0q_.dbf
    restoring datafile 00008 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_mssm_tbs_7c4qzn0x_.dbf
    channel ORA_DISK_1: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp tag=TAG20111116T052209
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
    channel ORA_DISK_2: restored backup piece 1
    piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp tag=TAG20111116T052209
    channel ORA_DISK_2: restore complete, elapsed time: 00:00:35
    Finished restore at 16-NOV-11
    
    RMAN>
    RMAN> exit
    
    Recovery Manager complete.
    $ sqlplus '/ as sysdba'
    
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Nov 16 05:42:52 2011
    
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> alter database open;
    alter database open
    *
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    

    Note This error message 1589 is:

    $ oerr ora 1589
    01589, 00000, "must use RESETLOGS or NORESETLOGS option for database open"
    // *Cause:  Either incomplete or backup control file recovery has been
    //          performed. After these types of recovery you must specify either
    //          the RESETLOGS option or the NORESETLOGS option to open your
    //          database.
    // *Action: Specify the appropriate option.
    $
    

    Hemant K Collette

  • Post controls after you restore the RMAN backup to a new server

    Hi all

    Sorry to ask this fundamental question. But I want to confirm that I did all the checks after restoration.

    Total number of patterns
    Number of objects in diagrams
    Invalid objects
    Control over data objects
    Jobs
    Status of datafiles
    Status of log files

    Please let me know if something that let him...

    TIA,

    An RMAN backup is a physical backup. So, on the restore + restore, it is wise to check the physical objects:
    a. Controlfiles, data files, redo logs (resetlogs would recreate/reset redo logs)
    b. block corruption (see backup/restore logs, controls v$ block_corruption, dbv on each of the data files)

    Users, Tables, Segments, storage spaces are all the logical objects that RMAN is not aware of (with the exception of the w.r.t. DataFiles Tablespaces).

  • Reselogs ORA-15005 ORA-00344 after RMAN restore to a different server

    After you perform a restore of a database to another server using rman, I issue Alter Database Open Resetlogs not creating the online newspaper.

    the following errors appear

    ORA-00344: unable to recreate the log line "+ LOG, windc, onlinelog, windcredo01a.

    ORA-17502: ksfdcre:4 could not create the file "+ LOG, windc, onlinelog, windcredo01a.

    ORA-15005: name '+ LOG, windc, onlinelog, windcredo01a' is already used by an existing alias

    I tried with 2 different backups of the source database.  between the attempts to restore, I deleted from the database, to remove all the files that don't get deleted and re-created the database asmcmd.

    If anyone knows what I can do to perform this restore?

    Restore the control of the source database file.

    First of all, I have restored the backup of the controlfile from the source database, and then restore

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

    RMAN

    connect target sys/xxxxxx@windc

    run

    {

    Allocate channel c1 device type disk;

    Current backup controlfile as ' / path/to/controlfile/backup ';

    Output channel c1;

    }

    change the database editing

    run

    {

    allocate channels c1

    up to the time "TO_DATE('10/16/2014:10:00','mm/dd/yyyy:hh24:mi')";

    restore the database;

    recover the database;

    output channel c1

    }

    ALTER database open resetlogs;

    ORA-00344: unable to recreate the log line "+ LOG, windc, onlinelog, windcredo01a.

    ORA-17502: ksfdcre:4 could not create the file "+ LOG, windc, onlinelog, windcredo01a.

    ORA-15005: name '+ LOG, windc, onlinelog, windcredo01a' is already used by an existing alias

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

    Thank you

    Who did.

    Thank you!

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

  • New Server virtual machines

    I'm building a new server for virtual computers, and I want to keep all databases. I think it's easy the database restores on the new server, but my problem seems to be with the leader of the CSA. Anyone has any ideas on this or I will just have to reinstall the agents?

    Until the new server has the same name of netbios and the IP address as one, then your CSA agents must connect fine.

  • RMAN RESTORE A NEW SERVER

    I have a full backup of the source server and I would like to restore it to the target server.
    Problem is that on my source server, I have full backup to disk 'E '.
    I'm just on my C and D drives target server.

    When I try to run the restore database command I get

    RMAN-06023: no backup or copy of datafile 1 found to restore

    for all data files as is the search for my backups on 'E' drive that does not exist on the server target.
    Is there a way I can guide RMAN to watch on the D: drive, during the restoration?

    Thank you

    Published by: user12180649 on May 16, 2012 08:07

    user12180649 wrote:
    I use the RESTORE DATABASE command.

    (1) have the controlfile in your NEW SERVER; - done
    (2) delete the mention RMAN backup control file; - done
    (3) add the reference backup RMAN for your controlfile; - done
    4-star restaurant on the NEW SERVER. - I used the COMMAND RESTORE of DATABASE, but as the Moose, data files were on disk 'E' on the server main RMAN trying to restore these on disk 'E' that do not exist on my target server.

    Hello
    Sorry, forget my first answer, you now have the problem with the oracle data file, you must use the option "set newname"!
    an example of this is:

    RUN
    {
    The VALUE of NEWNAME for DATAFILE 1 to 'D:\oracle\datafile1.dbf '; # Rename 1
    The VALUE of NEWNAME for DATAFILE 2 to D:\oracle\datafile1.dbf'; # Rename 2
    Restore the database;
    }

    You can find the number of name and the data file in your production system with:

    set linesize 130
    Col name format a50
    Select file #, name from v$ datafile by 1
    ;

    hope this helps

    Nunzio

  • restore the RMAN backup to new server

    Hello
    I took RMAN backup of a database with the control file autobackup on... I copied the backup

    to a new server restored the spfile from backup and changed the settings

    bdump, udump, control the file because the directory structure is different from the original

    machine. I have restored the control file and it has been restored correctly.

    Now I need to restore the data files in the new path so I used the set newname and switch

    but I get an error... I posted the error please look


    RMAN > run
    2 > {}
    3 > the value of newname for datafile 1 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF';
    4 > the value of newname for datafile 2 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF';
    5 > the value of newname for datafile 3 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSAUX01. DBF';
    6 > the value of newname for datafile 4 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\USERS01. DBF';
    7 > the value of newname for datafile 5 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF ';
    8 > the value of newname for datafile 6 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF';
    9 > the value of newname for datafile 7 to

    ' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_AUDIT01. DBF';
    10 > restore database;
    11 > switch datafile;
    12 > restore database;
    {13 >}

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to 11 November 10
    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 E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF
    restoring datafile 00002 to E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF
    restoring datafile 00005 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF
    restoring datafile 00006 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 11/11/2010 12:38:24
    ORA-19693: already included backup E:\RMAN\DB_0FLSLJH1_1_1 piece

    Try to clear and recataloguer backups will be used before the restore:

    rman target /
    
    crosscheck backup;
    
    delete expired backup;
    
    catalog start with 'path_to_your_backup';
    
  • 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.

  • 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

  • Create the backup of the database on the new server to RMAN

    I have a 1 - existing node RAC running 10gr 2 on Windows 2003. I am trying to create a backup of database on a new server running Windows 2008 and Oracle 10 g 2. Because the database uses ASM, I can't just copy data files. I did a full backup with RMAN and copy these files to the new server. I installed Oracle, but no database. I have put in place on the new box ASM.

    Can someone tell me how to use the RMAN backup to set up a backup of database on the new server? The production server is still in place and running, but we are trying to get a server backup and procedures for the use of a filler RMAN restore in the case of a scenario of recovery after disaster.

    PS. We use Standard edition, so Dataguard is out of the question. It would be nice, but the price is a little high.

    1 instance startup NOMOUNT.
    2 restore automatic backup SPFILE (assuming you have AUTOBACKUP CONTROLFILE set up on the main site)
    3 startup NOMOUNT with restored SPFILE
    4 restore automatic backup controlfile.
    5 MOUNT DATABASE
    6 catalogue copied backup files (CATALOGUE START WITH...)
    7 RESTORE THE DATABASE
    8 RETRIEVE THE DATABASE
    9 OPEN RESETLOGS

    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814

    Lukasz

  • Move to a new server of RMAN catalog

    Source server: RMAN v. 10.2.0.1.0, 6 databases saved with RMAN

    I would switch to the new server RMAN, v. 11.2.0.1.1. (target)

    Due to differences in version, the import of catalogue from source to target is not an option.

    Is it possible to do the following.  Unregister database of source database.  Save the rman target database break and then save the existing backup with the new catalog server?

    Yes, it is possible.  The backup and recovery of the User Guide addresses these cancellation of registration and registration.  When you save the database with the new catalogue, records backup control file will be synchronized with the catalog.

  • Restore the database on new server

    I have Oracle 10 g on AIX 5.3
    I perform the backup hot by script every week.
    A user makes me know that the accident he has deleted a table. Because I only use the standard version, I can use the flashback table to restore the lost data.
    Under the guidance of askTom for similar cases raised by others, Tom said that cloning the db to the new location and export that data to the old server are the only way can do.
    The data in the table of the deleted user not be updated frequently, so I only need to apply all the data files in the last backup, no need to apply the archivelog.

    My colleague helping me duplicate data files to the new location. The new server has installed Oracle and the configuration is the same as the old server.
    But can I know the steps what I can do to clone the database in the best way? (no need to apply archivelog)

    Thank you very much

    If I restore the database up to the 15/05 01:05, I do not know what newspapers of archiving backup must be copied to new servers (the new server has limited the size, I can't copy all the logs to archive on the server).

    Depends on if you are allowed to lose some data. In the case opposite and you all data just before that the data has been deleted, you need to recover up to 22/05 16:59 you need all the archives logs from 15/05 01:05 to 22/05 16:59.

    You can consult the archives of the information for journal of v$ archived_log view on the main database using next_time between the time of hot backup and 22/05 17:00.

    Anand

  • 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

  • Migration db to new server

    requirment to new server 9206 db, db size is 85 GB, have not any rman backup, it uses backup maintained by users that goes on the Strip.

    I intend to take his a rman backup to disk (fs), install this new server, create new instance on the new server and restore it there.

    Here are the steps that I have in mind make me right if I'm not.

    1. take rman backup like this
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / db01/df_%t_%s_%p';
    backup database;
    2 - Move these pieces on the new server on fs backup /db01
    3 - create and start the new instance, and set up there are rman configuration as above and run restore db.

    Hi DBA2008,

    I think this link is for your question:

    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814

    Turkel M.

Maybe you are looking for

  • Searchmenu custom wizard does not close

    half lower part of the screen displays: The custom wizard SearchMenu. I don't know it's there and I can't get rid of it.Can you help me, please

  • pilots and SCXI?

    Hello I have a SCXI-1000 chassis, with a 1100 unit, a unit of 1520 scxi and a 1600 scxi. Now when I connect, I get only a "USB not recognize unit." I installed 9.1 OR DAQmx and LabVIEW 9.01 32bits, need more? I have never tried to use before SCXI. I

  • Fuze won't turn.

    I was listening to my ROCKET while walking around the city, and I stopped only to resume again a few minutes later to find he had himself cut, one would not come back. IT didn't take a fall or come into contact with any liquid. I gave her a load when

  • Stop junk emails

    original title: the unwanted e-mails How do you get companies to stop sending me unwanted emails if the do not have a link to unsubscribe.

  • misalignment Officejet 6500

    OfficeJet 6500 has stopped printing black Get the alignment failure message have you tried the new black print cartridge clean the jets removed and cleaned the print heads align the printheads Reset printer - unplugged - and hold # and 3 keys all thr