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';

Tags: Database

Similar Questions

  • Restore the RMAN backup on another server

    Hello

    ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to

    Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.

    My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.

    I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:

    Restore backup RMAN on another server

    This thread contains very good example for a restoration of database on the file system.

    I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.

    If I get a copy of the part 3 RMAN backup, how would I copy on FRA?

    OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?

    Please advise!

    Best regards

    You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';

    This thread will help

    Restore from a different location from the original location of RMAN backup

  • Restore the RMAN backup to another database server

    Hello
    I create the instance TEST for my database of Production (PROD). I have a model base (MODEL) that is running on a different host.

    I can restore the RMAN backup taken on the PROD database to the MODEL database.


    Thanks in advance
    Amith

    Amith r wrote:
    Hello
    I create the instance TEST for my database of Production (PROD). I have a model base (MODEL) that is running on a different host.

    I can restore the RMAN backup taken on the PROD database to the MODEL database.

    Thanks in advance
    Amith

    Tychos said, why not use command DUPLICATE RMAN DATABASE to create the clone of the database?

    Anyway, you can easily restore the database on the new host using the steps mentioned in this link:
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814

  • How to restore the rman backup file

    Hello world

    I have the rman backup file by cutting the rman full backup of a file week rman to orginal path to another disk because of disk space is low. I need to know how to restore this file to the database. Can someone help me please.

    Hi, try as

    RMAN target sys/pass
    Catalogue start with 'rent' (which you moved from backup files)
    restore the database;
    recover the database;
    ALTER database open;

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

  • How do I restore the rman backup copied location

    Hi all
    I take backup with RMAN D:\backup location so I copy this backup on new location f:\backup.then how to restore the backup to the new location.
    Please send the /script command.


    Concerning
    Sachin Agarwal
    Mob: 9871978246

    Mr.Sachine, I will remove, correct answer in a min otherwise, as I said before,.

    Concerning
    HAMEEd

  • Restore the Rman backup in a database to a different database

    I want to restore a machine (RMAN) backup to another machine with a different instance name. I want to keep the target database instance name.

    a machine has instance PROD, I take rman backup "PROD" A machine instance and to restore that backup to the machine B which has an instance 'UAT '. I want to restore the backup of "PROD" instance for instance 'UAT', the two are on a different node, please help me how can I achieve it.

    Why do you think there could be a conflict?

    In addition, the steps that I pointed out are rename restored PROD to UAT the last step.

    When you use RMAN to RESTORE and RECOVER a database, the DBID and DB_NAME should be the same as it was when the backup was performed. The Instance_Name (ORACLE_SID) may be different.
    The DB_NAME can be changed after the RECOVERY is complete.

    The DBNEWID Utility Oracle (program name 'nest' in $ORACLE_HOME/bin) should be used to change the DB_NAME of PROD to UAT on your UAT server, once the RESTORE is complete.

    Hemant K Collette

  • Post-installation SQL scripts when you restore the RMAN backup to a higher version

    Hello

    If I have a backupset from RMAN, say a 11.2.0.3.0 DB and I want to restore it to a DB 11.2.0.4.5, I know I have to open in upgrade mode, and run the SQL of the PSU OJVM components as well as the power supply of January 2015, once the recovery is complete.

    Is there something specific about the order of the catbundle, the utlrp, the utli112 and the OJVM postinstall scripts that must run after catproc?

    I guess it must be:

    catproc-> utli112-> OJVM PSU - > catbundle-> utlrp

    But the thought that I would check just in case there is something specific that I missed.

    Thank you

    Phil

    Well - to perform a test upgrade will help you perfect/tweak the process

  • How to restore the Rman incremental level 0 backup if the SID is different?

    Hi Experts,
    I had a little problem with restore rman backup of level 0. I have backup rman for oracle 11.2.0.1.0 - 64 bit and restore the server to Test 11.2.0.1.0 - 64 bit.

    Problem:
    Sid = prd production server
    Sid = prderp test server

    Operating system is Oracle linux 5 on both servers.

    How to restore Rman if the SID is different?

    Hello

    Refer to this http://shivanandarao.wordpress.com/2012/04/19/duplicating-primary-database-to-a-new-host-without-connecting-to-the-primary-database-in-oracle-10g11g/

    You need to restore it under the same name as you have in the production and later change the dbname using the NEST.

    If you don't want to go with this method, then I suggest you to go with the method of double RMAN.

    http://www.Oracle-base.com/articles/11g/duplicate-database-using-RMAN-11gr2.php
    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm

    rman target sys/@prod auxiliary sys/@tst
    RMAN>duplicate target database to 'prderp' nofilenamecheck;
    

    Please close this Re: how to restore the Rman backup if the SID is different? wire by marking as replied.

  • Pull on the RMAN backup archive logs?

    Environment:

    Oracle 11.2.0.3 EE on Solaris

    Physical standby

    I have a gap of journal archive at the moment.  The missing archive logs have been saved on the primary and have not yet been transferred to waiting due to some maintenance work performed on the standby server.

    The database will be able to recognize that the missing archivelog files are in the RMAN backup files, restore them and send them to the update server standby for application?

    If not, will it restore manually, copy them to the standby server and save them for their application?

    Thanks a lot for your help!

    -gary

    Were the archivelogs deleted on the primary once they have been saved? If they have been deleted on the primary, then you can:

    1 manually transfer the backup to forward files

    2 replace the archivelog destination configured on the eve

    3 restart the managed recovery on the standby process, and the computer should be able to detect and apply the missing archivelogs.

    If they have not been deleted on the primary and are always available in the archivelog directory configured, then the process of Data Guard should be able to detect and automatically fix the gap.

    If you have a long interval archivelogs missing and you use + ASM, you can also try to use an incremental backup to roll forward the database pending, this article provides a good step by step: the steps for Rolling forward a standby database using RMAN incremental backup. (Doc ID 836986.1)

    Kind regards
    Oscar

  • Purge the rman backup

    Hello, since the alert.log file find this error:

    Errors in the /u01/oratest/diag/rdbms/test/TEST1/trace/TEST1_arc3_25352.trc file:
    ORA-19809: limit exceeded for file recovery
    ORA-19804: cannot retrieve 12582912 bytes limit 59055800320 disk space
    ARC3: 19809 creation error archive log file ' DATA01'+.
    Sea 25 09:51:58 Jan 2012
    Errors in the /u01/oratest/diag/rdbms/test/TEST1/trace/TEST1_arc0_25306.trc file:
    ORA-19815: WARNING: 59055800320 bytes db_recovery_file_dest_size is 100.00% used and has 0 bytes remaining available.
    ************************************************************************
    You have choice to free up space in the recovery area:
    + 1. Consider changing the RMAN RETENTION POLICY. If you are using Data Guard +.
    then consider changing POLICY of DELETE ARCHIVELOG RMAN.
    + 2. Back up files on a tertiary device such as a tape using RMAN.
    SAFEGUARDING RECOVERY AREA command.
    + 3. Add disk space and increase the db_recovery_file_dest_size setting to +.
    reflect the new space.
    + 4. Delete unnecessary files by using the RMAN DELETE command. If operation +.
    the system control has been used to remove the files, and then use the RMAN DUPLICATION and
    Commands DELETE has EXPIRED.
    ************************************************************************
    Errors in the /u01/oratest/diag/rdbms/test/TEST1/trace/TEST1_arc0_25306.trc file:
    ORA-19809: limit exceeded for file recovery
    ORA-19804: cannot retrieve 12582912 bytes limit 59055800320 disk space
    ARC0: error creating 19809 archive log file ' DATA01'+.

    So I'm trying to purge the rman backup, but I have an error message:


    rman target = oratest@oraprdlnx1:~$ /+.
    Recovery Manager: release 11.2.0.1.0 - Production on sea Jan 25 09:47:30 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: TEST (DBID = 2044700519)

    + RMAN > show all; +.

    using the control file of the target instead of recovery catalog database
    RMAN settings for database with db_unique_name TEST are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/oratest/product/11.2.0/dbhome_1/dbs/snapcf_TEST1.f'; # by default

    + RMAN > allocate channel for maintenance of type; disc +.

    allocated channel: ORA_MAINT_DISK_1
    channel ORA_MAINT_DISK_1: SID = 237 instance = type of TEST1 = DISK

    + RMAN > crosscheck backup; +.

    "" element of verified backup: turned out to be "AVAILABLE"
    backup handle piece = RECID = 68 = 758320264 STAMP DATA01/test/autobackup/2011_08_04/s_758320263.794.758320265 +.
    Cut objects 1

    RMAN > delete obsolete; ** +

    RMAN retention policy apply to the order
    RMAN retention policy is set to 1 redundancy
    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    -------------------- ------ ------------------ --------------------
    Backup Set 25 July 4, 11
    Backup total 25 4 July 11 1omgk64v_1_1
    Backup Set 26 July 4, 11
    Backup total 26 July 4, 11 1pmgk650_1_1
    Backup Set 24 July 4, 11
    Total backup, 24 4 July 11 1qmgk650_1_1
    Backup Set 21 July 4, 11
    Backup total 21 4 July 11 1rmgk650_1_1
    Backup Set 28 July 4, 11
    28 1vmgk69v_1_1 July 4, 11 total backup
    Save game 29 July 4, 11
    Backup total 29 July 4, 11 20mgk6a0_1_1
    Backup Set 30 July 4, 11
    Backup total 30 4 July 11 21mgk6a0_1_1
    Save game 31 July 4, 11
    Backup total 31 July 4, 11 22mgk6a0_1_1
    Backup Set 34 4 July 11
    Backup total 34 4 July 11 c-2044700519-20110704-07
    Backup Set 35 July 4, 11
    Total backup, 35 26mgk8ib_1_1 4 July 11
    Backup Set 36 4 July 11
    Backup total 36 4 July 11 c-2044700519-20110704-08
    Backup Set 41 4 July 11
    Backup total 41 4 July 11 28mgk94i_1_1
    Backup Set 42 4 July 11
    Backup total 42 4 July 11 29mgk94j_1_1
    Backup Set 37 July 4, 11
    Backup total 37 4 July 11 2amgk94j_1_1
    Backup Set 40 July 4, 11
    Backup total 40 July 4, 11 2bmgk94j_1_1
    Backup Set 38 July 4, 11
    Backup total 38 4 July 11 2cmgk95c_1_1
    Backup Set 39 July 4, 11
    Backup total 39 4 July 11 2dmgk95k_1_1
    Backup Set 43 July 4, 11
    Backup total 43 July 4, 11 c-2044700519-20110704-09
    Backup Set 46 4 July 11
    Backup total 46 4 July 11 2fmgk99f_1_1
    Backup Set 47 July 4, 11
    Backup total 47 4 July 11 2gmgk99g_1_1
    Backup Set 44 4 July 11
    Backup total 44 4 July 11 2hmgk99g_1_1
    Backup Set 48 4 July 11
    Backup total 48 4 July 11 2imgk99g_1_1
    Backup Set 45 4 July 11
    Backup total 45 4 July 11 2jmgk9a9_1_1
    Backup Set 50 4 July 11
    Backup total 50 4 July 11 2kmgk9aq_1_1
    Backup Set 49 July 4, 11
    Backup total 49 4 July 11 2lmgk9aq_1_1
    Backup Set 51 4 July 11
    51 4 July total backup has 11 c-2044700519-20110704-0
    Backup Set 56 4 July 11
    Total backup 56 2rmgk9qb_1_1 July 4, 11
    Backup Set 55 July 4, 11
    Backup total 55 4 July 11 2smgk9qb_1_1
    Backup Set 58 4 July 11
    Backup total 58 4 July 11 b c-2044700519-20110704-0
    Backup Set 60 4 July 11
    Total backup 60 2umgk9tb_1_1 July 4, 11
    Backup Set 61 4 July 11
    Backup total 61 4 July 11 2vmgk9tc_1_1
    Backs up the entire 62 4 July 11
    Backup total 62 4 July 11 30mgk9tc_1_1
    Backup Set 66 4 July 11
    Backup total 66 4 July 11 34mgk9ua_1_1
    Backs up the entire 65 4 July 11
    Backup total 65 4 July 11 35mgk9ua_1_1
    Backup Set 67 4 July 11
    Total backup, July 4, 11 c-2044700519-20110704-0 67C
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the delete command to the 25/01/2012 09:48:42
    RMAN-06091: any string allocated for maintenance (of a suitable type)

    How can I purge the db dest file recovery?

    Thank you!!!

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the delete command to the 25/01/2012 09:48:42
    RMAN-06091: any string allocated for maintenance (of a suitable type)

    There is a metalink note that talks about this error.

    Met RMAN-03002 and RMAN-06091 when deleting obsolete backups [567555.1 ID]
    RMAN could not remove obsolete in right Backupsets change Sbt_tape to disk and again Server [ID 1287755.1]

    HTH

    Kind regards
    Nagendra Chillale

    Published by: NC on January 25, 2012 17:00

  • make it work how I want that he the rman backup-shared-disk fix - up

    Network of Oracle greetings!
    (Oracle 10g enterprise edition on windows server 2003 platform)

    http://www.DBA-Oracle.com/t_os_error_os5_access_denied.htm

    is a link where a fix on the location of the rman backups is suggested. It asks me to change logon oracleservicesid. my database is what runs a Web site. When I change the connection oracleservicesid the Web site is no longer functions.this is not desirable.
    How can I fix it?
    Even on my test server that hosts the databases, change the opening of session oracleservicesid to administrator, disable all connections made to the database on the local network using SQL developer. How to not let that happen?

    Help, please
    Thanks in advance
    cordially 946207

    Edited by: 946207 July 14, 2012 03:01

    10g is desupported for a long time.
    Your question is you backup to a network drive.
    The solution provided by Donald Burleson is correct.
    Why the site no longer works is not clear that you provide no error message, or whatever.
    Course, a simple solution would be to buy an extra drive to connect directly to the server.
    Your post is poorly understood why you plan to implement that.
    Also, your statement on the test server is far too vague. You did not yet provide no error message.

    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • You can restore the photos of the recently deleted items folder? I have an iCloud back for my iPad that I restored it that would have photos on them but then sync with my current iCloud files. Can I restore the last backup of iCloud?

    You can restore the photos of the recently deleted items folder? I have an iCloud back for my iPad that I restored it that would have photos on them but then sync with my current iCloud files. Can I restore the last backup of iCloud?

    The backup to iCloud for an iPad does not include items that are already in iCloud, your iCloud stream library and my photos are not included in the backup to iCloud.

  • It would be possible to save the workflow to continue the process on a new server?

    Example my workflow is running and not finished but I need to move the workflow to a new server now.


    is it possible my move of workflow to continue left not on a new server to continue the former carried out?

    Export the database and import it into the database that is used by the new server, that way he could keep step. In addition, makes sure to use the same GDS.

    Thank you

    Wasil

  • How knowledge/check if the RMAN backup was performed using a current control file or database catalog?

    Hello

    How knowledge/check if the RMAN backup was performed using a current control file or database catalog? I mean RMAN prompt or sqlplus is it possible to know.

    Thank you

    You're welcome my friend

    You can see them using two methods.

    as I mentioned above, you can see them connect to the catalog database and you can query using the view that I sent

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV89601

    the other method is the list command, you must use the list command after connecting using rman "rman target / catalog cat_user/cat_pass@catdbtns" command

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV8136

    Check the value of the control_file_record_keep_time parameter. The default value is 7 days. in the output of the list command, if you can see the old backups to the value, you must be sure that the backup information comes from the catalogue database

    SELECT * FROM parameter $ v where name = 'control_file_record_keep_time '.

    an example of command list

    the list of completed database before backup ' sysdate-10'.

    Concerning

Maybe you are looking for

  • Internal battery

    Hello everyone,A few days ago my laptop during the phase of start-up, began showing the following message in the black screen:HP battery alertThe system has detected the following battery storage capacity is very low. For optimal performance, this ba

  • Reset License monitoring ReadyNAS

    I have a ReadyNAS Ultra 4 Plus that I bought used. I was interested in the monitoring of a baby monitor software. Apparently, this unit has already expired the 30 day trial and I cannot understand how to enable a monitoring Home license (free license

  • IC install KB 951847

    I received the update by internet. It is install Microsoft.Net Framework 3.5 service pack 1 and update for Group framework 3.5 for versions of .net 2.0 to 3.5 x 86 (KB 951847) update 1 of 1. He tries to install but at the end of the process, I get th

  • PCI Express Firewire card

    I have a HP PAVILION CTO H8 - 1070T that has no firewire port.  I need to have this to connect my camcorder to the computer.  Where can I get one to adapt to this computer?  HP doesn't have one they sell to consumers.

  • When you try to load SQL Server 2005 (KB2463332) code 42A 2?

    In simple mode how to make around A 42, 2 Code trying to load SQL Server 2005 (KB2463332)?