Restore the Tablespace in RMAN

Hello

My 10 g 10.2.0.1 database and I want to recover my tablespace.

I tried to recover the tablespace in the database database and open mount but I couldn't retrieve tablespce.

I've already put the tablespace.

RMAN > RESTORE TABLESPACE TEST;

RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01005: 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

RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01005: syntax error: found ';': expected an a: "allocate, alter, beginline, blockrecover, catalog, change, backup, stupid."
RMAN-01007: in the file column 24 line 1: entry standard

Anand

Anand Vyas says:
Hello

My 10 g 10.2.0.1 database and I want to recover my tablespace.

I tried to recover the tablespace in the database database and open mount but I couldn't retrieve tablespce.

I've already put the tablespace.

RMAN > RESTORE TABLESPACE TEST;

Put double overall TEST as quotes
RMAN > RESTORE TABLESPACE 'TEST '.

Kind regards.

Tags: Database

Similar Questions

  • 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

  • Restore a tablespace with RMAN

    Hi all

    Please help me solve the problem below,

    It is a test case.

    I took a backup of L0 and L1 a backup.
    Then I created a table "TEST_TABLE" as well as certain values in tablespace 'USERS '.
    Yet once, I took an another backup L1.

    Now accidentally (for testing) I dropped the table 'Table_test '.

    Can we get back to the table.

    I tried the following:
    1 take the USERS tablespace offline
    2 manually deleted data files.
    3. restore the tablespace
    4 recover the tablespace
    5. the USERS tablespace online.

    Now when I asked at the 'Table_test' table, I couldn't have the transom.

    Is it possible to go back to my table.

    Kind regards
    Bikram

    Hello

    If you use 10g or 11g

    just

    Flashback table test_table before drop;

    hope this helps,
    Daniele

  • Restore the consistent backup RMAN

    Hi team,

    Please let me know how to restore only my consistent backup by RMAN?
    Example: Consistent Sunday incremental backup of level 0 keeping database state up and incremental backup of level 1 from Monday to Saturday.
    If my database a fall Tuesday, I want to restore only the consistent backup Sunday and open the database and I don't want to run the command for database recovery. (-> restore database alter database open). Please let me know how to do this in RMAN.

    Thank you
    RESTORE CONTROLFILE FROM 'backuppiece_containing_controlfilebackup';
    RESTORE DATABASE;
    RECOVER DATABASE NOREDO;
    ALTER DATABASE OPEN RESETLOGS;
    

    Hemant K Collette

  • error of Tivoli storage manager... not able to restore the file using rman

    Hi all

    I have one using AIX 64-bit os and oracle database 10g LF. I also use BR * tools and Tivoli Storage Manager for backup and storage. During the restore operation, I'm more error.file not restored to the Library Manager server...



    ERROR:
    Interface between BR * tools and Tivoli Storage Manager
    -Version 5, exit 4, change 0.1 for AIX 64-bit LF -.
    Version: 304B updated January 15, 2007
    (c) Copyright IBM Corporation, 1996, 2007, all rights reserved.

    BKI2027I: TSM-API version 5.4.0.0 using (compiled with 5.3.0.0).
    BKI2000I: Connected to the ProLE on port tdpr3ora64.
    BKI0005I: Start of the program at: Thu Dec 20 14:05:31 PAKST 2011.


    -Settings-
    Input file: / tmp/eaaBLimie
    Profile: /oracle/PEP/102_64/dbs/initPEP.utl
    File: /oracle/PEP/102_64/dbs/initPEP.bki
    Manual sorting file: disabled
    Trace file: disabled
    TraceFlags: disabled
    Parallel sessions: 2
    Multiplexing of files: disabled
    Compression of RL: disabled
    Output error: disabled
    LOT: disabled
    Buffer size: 131072
    Mode copy buffer: SIMPLE
    Redologcopies: disabled
    Release management: disabled
    Backup type: unknown
    Logs TSM server: disabled
    TSM server: 192.168.100.147:PPLTSMSRV with 2 sessions configured
    The TSM client node: PEPSRV01
    For the backup days: Mon Mar sea game Fri Sat Sun
    Backup mgmt class: MDB
    Class mgmt Archiv: MLOG1 MLOG2


    BKI5016I: Time: 20/12/11 14:05:42 new TSM session created: MGMNT CLASS:, TSM-Server: 192.168.100.147:PPLTSMSRV, type: SIMPLE
    BKI0027I: Time: 20/12/11 14:05:47 subject: 1 current 1: /oracle/PEP/sapbackup/behjszif.aff size: 67,991 KB, MGMNT-CLASS: MDB, TSM-server: 192.168.100.147:PPLTSMSRV.
    BKI0101I: Please enter 'c [have]' to continue or [high] "to cancel.
    s
    BKI0102I: Your answer: of '.
    BKI5010E: Error of Tivoli Storage Manager:
    ANS1314E (RC14) currently unavailable data file on the server
    * (RC = 14). *
    BKI1230E: The following file was not processed: oracle/PEP/sapbackup/behjszif.aff.

    #ERROR /oracle/PEP/sapbackup/behjszif.aff
    BKI1215I: Average transmission speed was 0.000 (0.000 MB/sec) GB/HR.
    BKI0020I: End of program: Thu Dec 20 14:07:27 PAKST 2011.
    BKI0021I: Duration: 01 min 56 sec.
    BKI0024I: Returns the code is: 2.
    BKI0024I: Returns the code is: 2.
    Press ENTER to continue...



    I am bit confused which... Why this error coming... for no matter what eror (RMAN) database... or due to an error of tivoli. Help, please...

    Published by: dbaforu on December 21, 2011 12:22

    Read the error message carefully
    especially the first line

    BKI5010E: Error of Tivoli Storage Manager:
    ANS1314E (RC14) currently unavailable data file on the server
    (rc = 14).
    BKI1230E: The following file was not processed: oracle/PEP/sapbackup/behjszif.aff.

    Not an Oracle error. IBM also has support forums.

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

  • 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

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

  • Refresh the production database to test the database with RMAN

    Hi experts,

    I want to refresh the production database to test the database with RMAN. You can help me please how to do this.

    I saw a lot of blog on the internet but not got a satisfactory answer.

    Reg,

    Thomas verrma

    Thomas

    Follow these steps

    1. on the server target

    a. Add entry in oratab

    b. create init.ora for target db copy of source

    c. If you use catalog

    connect to the RMAN catalog, you can use the double option to clone run below

    one.

    RMAN > Connect target sys /@trgt

    RMAN > Connect Catalog rman /@catalog

    b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile

    c. restore the controlfile

    RMAN > set DBID = xxxxxxxx (DBID of the source db)

    RMAN > run

    {

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    Restore controlfile from "/ c-DBID-xxxxxxxx-00';

    }

    Once the controlfile is restored, you can mount the db

    change the editing of the database;

    run

    {

    until ' TO_DATE (2014-SEPT-10 10:00 ', MY - DD - YYYY HH24 ') ";

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    restore the database;

    recover the database;

    }

    ALTER database open resetlogs;

    stop immediately;

    bootable media;

    nest target = / = dbname

    change the system db_name set = scope = spfile;

    stop immediately;

    Startup mount

    ALTER database open resetlogs;

  • Restore, retrieve only a subset of the tablespaces and open the DB

    RDBMS Version: 11.2.0.4

    Platfomrm: Oracle Linux 6.4

    I have the backup of a production of 2 TB DB in the Strip. For a quick drill to DR, I want to restore, recover this DB on a TEST server.

    But we do not have 2 TB of space of the TEST Server diskgroup. So, I want to jump restore all tablespaces business and just restore those minimal as SYSTEM, SYSAUX. If I jump of tablespaces, I'll be able to open the DB? I want to just give a try to restore.

    Hello

    Yes, you can ignore the unwanted (business tablespaces are by your terminology) storage during RMAN restore and recover and you will be able to open the database.

    RMAN > restore database skip tablespace, ,,;

    RMAN > recover database skip tablespace, ,,;

    How to skip unwanted tablespaces of restoration & recovery

    Kind regards
    Shivananda

  • Full restore of the database of RMAN cross-platform

    All the

    I have a database 10.2.0.3 on Solaris 10 OS.

    I did a full upward (level 0) this database using rman with auto save on. I'm trying to worl on a scenario where I could restore that backup on another linux machine. so I copied all the elements on the target linux server backup. go to a local installation of RDBMS (10.2.0.3) on the linux machine I'm trying to restore the database... but does not yet...

    When I deliver restore spfile or restore the control file a + < backup file name > +; the guest continues search in rear location that responded to the questionnaire didn't tell no piece found backup... Here are the encode stage, I'm...


    1. set up env on the linux server

    2 rman target /.

    (instance not started but rman to connect)

    3 set the DBID = + < ID DB data source running on Solaris > +.

    It run set dbid =

    4 startup nomount

    as the pfile/spfile file is not available in $ORACLE_HOME/dbs on a linux machine picks it up pfile by default however, but the instance stars no Assembly...

    5 restore spfile to ' / u01/app/oracle/product/10.2.0/rman_bkp/c-300009955'

    Here, he is not able to restore any thing.same is the case with the control file.

    Ideas please advice

    Sarat

    Sarat Chandra C wrote:
    Thanks for the referance. Now, I understand that I am not able to use the transportable database command to carry the entire db. However, there is a line in the 'Cross-Platform Database Transportable Restrictions' that says ++ 'main restricting cross-platform transportable database is that the platform of source and destination must share the same endian format. For example, while you can transport a database from Microsoft Windows to Linux for x 86 (the two little endian) or HP - UX, Aix (the two big endian), you may not carry a set of base HP_UX to Linux for x 86 using this feature. You can, however, create a new database on a destination manually, and necessary transport of tablespaces of the source database platform using cross-platform transportable tablespace as described in "Cross - Platform Tranportation Tablespace: CONVERT DATAFILE or TABLESPACE. » +

    I understand that if we are willing to carry each tablespace from Source to target individually, may then be able to replicate a transportable database. Fact the transportable tablespace have not all restrictions has obtained from the database of transport compared to the platform and Endian? Please specify.

    Also is there a matrix of support for thr transportable database and tablespaces which we could see?

    Kind regards!
    Sarat

    Sarat,

    The same restriction that is there for the transport of the whole base is quite real for the transportable tablespace as well if you go to the cross-platform. Endian must match across platforms that only you can do otherwise, as the database feature, you must convert the source file to the target-endian.

    If you look at the doc of reference order of unlocking Tablespace
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta063.htm#RCMRF1919

    This restriction is documented here in addition to the other restrictions
    ,
    >
    Restrictions and antonyms

    Limitations on the creation of tablespace portable games described in the Oracle database administrator's Guide apply to transport backup storage spaces, with the exception of accountability read-only storage.

    TRANSPORT TABLESPACE does not format endian conversion. If the target platform has a different endian format, you must use the CONVERT RMAN command to perform the separate step of conversion of data files endian format portable overall.
    >

    HTH
    Aman...

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

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

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

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

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

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

  • ORA-19870: you try to restore the database on a different host with rman...

    When I try to restore datafile 1 with this script

    RUN
    {
    SET up this THAT TIME = "to_date('2012-01-01:00:00:00','YYYY-MM-DD:HH24:MI:SS')";
    RESTORE THE FILE DATA 1;
    }


    ---------------------------
    ORA-19870: error reading backup total /mnt/hgfs/2012_01_01/o1_mf_nnndf_TAG20120101T050005_7hzm1qc4_.bkp
    ORA-19612: datafile 1 not restored because of missing or corrupted data
    switch to the previous backup

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

    RMAN > RESTORE DATAFILE 1 to this THAT TIME = "to_date('2012-01-01:00:00:00','YYYY-MM-DD:HH24:MI:SS')" Overview.

    From restoration to January 10, 12
    using channel ORA_DISK_1
    using the ORA_DISK_2 channel
    using the ORA_DISK_3 channel

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at the 13:11:19 10/01/2012
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 1 found to restore

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

    RMAN > LIST BACKUP OF THE DATA 1 Summary file;


    Backup list
    ===============
    S LV TY Device Type delay #Pieces compressed #Copies Tag key
    ------- -- -- - ----------- --------------- ------- ------- ---------- ---
    40969 A DISC 1 1 JANUARY 12 1 no TAG20120101T050005

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

    and when I write "backup list '; output is here where I can see datafile 1...


    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    40969 full 32,28 G DISC 02:07:15 1st January 12
    BP key: situation 28432: AVAILABLE Tablet: NO Tag: TAG20120101T050005
    Part name: /mnt/hgfs/2012_01_01/o1_mf_nnndf_TAG20120101T050005_7hzm1qc4_.bkp
    List of defined backup data files 40969
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- --------- ----
    25035430765 full 1 1 January 12 /oradata1/ISPRODDB11/datafile/o1_mf_system_331jc17w_.dbf
    2 full 25035430765 /oradata1/ISPRODDB11/datafile/o1_mf_undotbs1_331jc19r_.dbf 1 January 12
    4 integer 25035430765 /oradata1/ISPRODDB11/datafile/o1_mf_users_331jc1b2_.dbf 1 January 12
    35 full 25035430765 /oradata1/ISPRODDB11/datafile/sap.dbf 1 January 12
    56 full 25035430765 /oradata2/ISPRODDB11/datafile/TBS_UYS05.dbf 1 January 12

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

    and the incarnation of the list;

    RMAN > LIST INCARNATION;


    List of Incarnations of the database
    DB key Inc key STATE ID DB name DB reset reset time SNA
    ------- ------- -------- ---------------- --- ---------- ----------
    1 1 ISPRODDB 4210711725 PARENT 1 19 DECEMBER 06
    2 2 ISPRODDB 4210711725 RUNNING 564488 26 APRIL 07


    I m able to restore all data files but datafile 1 (system) and 3 (sysaux)... I don't know what to do...

    828193 wrote:
    When I put until 2012-01-01 12:00

    From back to January 10, 12
    using channel ORA_DISK_1
    using the ORA_DISK_2 channel
    using the ORA_DISK_3 channel
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at the 15:28:53 10/01/2012
    RMAN-06094: datafile 1 must be restored.

    so, if I want to restore a datafile to 2012-01-01 00:00 I need previous backupset? right?

    Fix.
    Has done restoration work when you set the until to 2012-01-01 12:00?

    Brgds
    Johan

  • 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

Maybe you are looking for