restore the rman tablespace

Hello world.

IM using a 11.0.6.0 database running on RHEL 5.

I have a complete backup every Saturday and every day a backup of the archivelogs.
I could restore a 2 days with rman tablespace or I can only restore from last Saturday? How?
If I had 2 full save, how to choose where an I want to restore the storage space?

Thanks in advance

Published by: user13748341 on June 14, 2011 06:52

I have a complete backup every Saturday and every day a backup of the archivelogs.
I could restore a 2 days with rman tablespace or I can only restore from last Saturday? How?

If you restore the tablespace, it will render since the last FULL backup.

If you want to restore to the other the last backup and then mention the backup piece.

Tags: Database

Similar Questions

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

  • 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

  • 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

  • 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

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

  • 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

  • issue in restoring with RMAN

    Hello

    Although I m capable of TABLESPACE RESTORE with RMAN, it seems that the Tablespace does not shows replaced and still the same status.

    Below is the command that I used to restore the Tablespace.

    run
    {allocate channel t1 type 'sbt_tape' parms
    "ENV = (TDPO_OPTFILE = C:\Program Files\Tivoli\TSM\AgentOBA64\tdpo.opt
    DSMI_ORC_CONFIG = C:\Program Files\Tivoli\TSM\AgentOBA64\dsm.opt)';
    SQL 'ALTER TABLESPACE TESTDTAT TEMPORARY OFFLINE. "
    set the destination archivelog to 'C:\ora\temp\arcl_restore ';
    RESTORE THE TESTDTAT TABLESPACE;
    RECOVER TABLESPACE TESTDTAT;
    SQL 'ALTER TABLESPACE TESTDTAT ONLINE;
    output channel t1;
    }

    You make a full recovery - c. - d. Re-sync tablespace "TESTDTAT" at the time current . All changes in TESTDTAT can be read in HIM.

  • Restore backup Rman last week

    Hi guys

    I need to restore the rman backup last week of... We do not catalog database.

    I need to restore it on the same machine with a different mount point of...

    I know that I can use the option tag especially last restore backup week, but its restoration of production so thought if someone can give me a list of the steps I have to follow... anyone who has done this before.

    do I have to fire at the end as his incomplete recovery resetlogs... I need backup last Saturday... don't want to backup Monday on top of it.

    Please help me in this.

    Concerning

    No logseq isn't the tag number. It's the redo log sequence number.

    You can get the sequence of logs by using the following query:
    Select SEQUENCE #, FIRST_CHANGE #, to_char (first_time, 'dd-MON-yyy hh24:mi:ss') of v$ log_history;

    This will give you the name & time log has been generated. So, you will be able to find the newspapers at the time up to which you want to restore.

  • I use TDE tablespace encriptación and backup is performed (no encriptación rman). I get the error message when you try to restore the database

    I use TDE tablespace encriptación and backup is performed (no encriptación rman). I deleted the database and try to restore the backup. I get the error when you try to restore the database with rman restore database.

    ORA-19870: error when restoring backup piece + FRA_DG, oratst, backupset, 2015_03_2

    ORA-19913: could not decrypt the backup

    ORA-28365: portfolio is not open

    About what I know, you should be able to RESTORE the data, but no RECOVERY without portfolio being opened.

    Check the value of the variable environment - ORACLE_UNQNAME

    It has everything first a correct value and try to open the wallet.

    HTH,

    Pradeep

  • How to restore the tablespaces only 4 while cloning with RMAN?

    Hello
    How to restore the tablespaces only 4 not all areas of storage in one database to the new database of cloned all cloning with RMAN?

    I don't think it's possible to restore only 4 storage space for the database 'auxiliary '. Instead, you can use the "SKIP TABLESPACE" cloning while clause.

    You can exclude the tablespaces that you don't want the database duplicate with the SKIP TABLESPACE clause. You can exclude any tablespace except the SYSTEM tablespace or tablespaces containing rollback or undo segments.

    Refer to this http://docs.oracle.com/cd/B14117_01/server.101/b10770/rcmsynta28.htm

  • RMAN Tablespace restoration

    Hi guys,.

    I tried to restore the tablespace using RMAN full backup.

    I couldn't restore tablespace,

    I've added DB and DB auxiliary also

    C:\Windows\System32 > rman target sys@test catalog rman@catdb auxiliary sys@dup

    Recovery Manager: release 11.1.0.6.0 - Production on Tue Apr 1 16:14:03 2014

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

    target password database:

    connected to target database: TEST (DBID = 2141887982)

    Catalog database recovery password:

    connected to the recovery catalog database

    database Assistant password:

    connected to the auxiliary database: DUP (DBID = 214554882)

    RMAN > recover tablespace test until time ' to_date (April 1, 2014 13:54 ',' DD - MON).

    (-'AAAA HH24:MI:SS) ' DESTINATION AUXILIARY = a: \testDB\clone';

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00558: error occurred during parsing of order entry

    RMAN-01009: syntax error: found 'test': expected an a: 'double-quoted-string,

    identifier, single-quoted-string ".

    RMAN-01007: in the file column 20 line 1: entry standard

    Thanks in advance

    > I have demolished tablespace at 17:54

    Do you mean you deleted the data file?  Or you deleted the tablespace?  A tablespace coward belongs more to the database.

    Hemant K Collette

Maybe you are looking for