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

Tags: Database

Similar Questions

  • restore user managed with RMAN backup hot

    Is it possible to restore hot backup with RMAN user managed and recover the database?

    What is use of command RMAN CATALOG?

    Oracle doc said: [http://docs.oracle.com/cd/B14117_01/server.101/b10770/rcmsynta11.htm#79814]

    (1) order catalog added a copy of the data file information, archived redo log or copy of control in the repository files.
    (2) add metadata to a copy of the data file managed by users, copy of control files, archived log or backup piece to the RMAN Repository.

    After using the 'CATALOGUE' to add metadata to managed backup in the catalog of recovery and after having made "RESYNC CATALOG", I still don't see my backup listed in the output of

    RMAN > list backup

    Published by: Gaurav Mhatre on April 23, 2013 10:35

    Gaurav Mhatre says:
    After using the 'CATALOGUE' to add metadata to managed backup in the catalog of recovery and after having made "RESYNC CATALOG", I still don't see my backup listed in the output of

    RMAN > list backup

    backup of the list won't show you the results.your not done backup with rman directly taken by data copy.so file

    RMAN > list copy;

    above cmd will show that you have desired results check it out.

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

  • 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

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

  • 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

  • Restore with RMAN

    I had taken the backup backup1 say three times after a few backup2 transactions and a few backup3 with RMAN operations. RMAN without a catalog

    Now, we want to recover the database using backup1.

    provides the steps to recover the database using backup1

    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10643/rcmsynta009.htm#CHDEBBHI

    Aman...

  • How to make a backup of the database with RMAN Oracle Single Instance

    People,

    Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.

    I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
    I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.


    Cold backup is below:

    SQL > startup
    ORACLE instance started.

    Total System Global Area 538677248 bytes
    Bytes of size 2146024 fixed
    528482584 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 3854336 bytes
    Mounted database.
    Open database.


    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    RMAN > backup database;

    From backup 25 November 13
    using the control file of the target instead of recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
    RMAN-06171: not connected to the target database


    RMAN > backup HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 8 file: entry standard


    RMAN > backup database HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 17 file: entry standard

    While the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.

    My question is:

    Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?


    Thank you.

    Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.

    For example.

    If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.

    If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.

  • Retrieve a single table with RMAN

    Hello
    I'm working on a database of Oracle 11 g Release 11.1.0.6.0 - 64 bit Production With the Real Application Clusters option.

    I did a bad update on a table.
    I have a level 0 backup before the update
    Is it possible to recover the unique table in an instant before the update with RMAN?

    Thanks in advance.

    Samuel

    This is called a point in time recovery.

    Here you must create an auxiliary database from the backup.

    If you have space in your current server then you can create it here or otherwise in another server.

    1 restore the system, sysaux, cancellation and this tablespace that contains the deleted table.
    2 drop all the other tablespace in the auxiliary database in State of Mount
    3. recover the database to when the table was dropped or updated updated
    4. take the auxiliary database table export and import it into the original database

  • Backup and restore database, tablespace

    My oracle's 10g.
    I'm new to rman utility. When I tested the backup of database and a tablespace before making certain changes made to the data (e.g. Add folders to other tables or change or delete some records) and did surgery recovery and the restoration of the database and a tablespace after these changes. But I found that these changes have remained there.

    My directions of test:
    SQL > shutdown immediate;
    SQL > bootable media.
    RMAN > backup database;
    RMAN > backup all archivelog entry delete;
    SQL > alter database open;
    SQL > alter tablespace ABC offline immediate.
    RMAN > backup tablespace ABC include current controlfile;
    SQL > alter tablespace ABC Online.
    = SOME CHANGES TO THE DATABASE BY INSERTING/UPDATING / DELETING =.
    SQL > shutdown immediate;
    SQL > bootable media.
    RMAN > restore database;
    RMAN > restore database;
    SQL > alter database open;
    SQL > alter tablespace ABC offline immediate.
    RMAN > restore tablespace ABC;
    RMAN > recover tablespace ABC;
    SQL > alter tablespace ABC Online.
    = CHANGES OF DATA SHOULD BE LOST. BUT NOW THAT ILS IS REST. WHY? ====

    Also, what is the difference between the database backup/restore/recovery and backup/restore/recovery tablespace? Or when is the time to use them?

    More practical is if I made a backup of database, at 10.00 and 3 backups tablespace ABC at 10:00 12:00, 14:00.
    Today at 20:00, I have 2 tasks:
    1. restore tablespace ABC 12:00 the status and create a new tablespace DEF, which is the same in ABC 14:00;
    2 put all the data of the ABC from 10:00 tablespace to another oracle newly installed in a newly installed machine.

    Can someone tell me how I can finish these tasks? Thank you very much!

    Hello

    Sorry for not being clear enough.

    This means that I can only recover data to the tablespace recovery state?

    Restore/recovery tablespace controls may lead to a full recovery.

    but I want only to restore a space at the beginning everything while keeping others more recent. What do you suggest me?

    If you want to make a point in time recovery for a subset of tablespaces, you must run a TSPITR.
    To do this, follow the link in my previous post.

    What you said really works. These changes losts. But I encounter another problem when retried the delivery and received a msg "RMAN-20207: until THE MOMENT or.
    RECOVERY WINDOW is before the RESETLOGS time' to the command "restore." What should I do now?

    By the , you have created a new incarnation of the database.
    If you want to restore to a point in time of the resetlogs before you change the incarnation (check first with: INCARNATION of the rman LIST).
    To restore an incarnation previous use:
    < reset="" database="" to="" incarnation...;="">
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta050.htm#i85086

    Kind regards

    Tycho

  • Is it possible backup 11g r1 DB and Recover to12c r1 with RMAN?

    I'm trying to save the old server to the new.

    Is it compatible to migrate Database 11.1.0.6 to 12.1.0.2 with RMAN?

    RMAN restore and recover a previous version of backups. See the compatibility matrix RMAN to https://docs.oracle.com/database/121/RCMRF/compat.htm#RCMRF1949

    All output data base Oracle can restore backup sets and copies created by any prior release of Oracle Database.


    However, in order to open a database, the data must match the version of the Oracle binaries. If you restore and recover a previous version of the database, you will need to update database permission to open it.

    RMAN cannot upgrade and migrate a database, but you can use the wizard for DBUA do. I suggest that you only consider this document showing your upgrade options:

    http://www.Oracle.com/technetwork/database/upgrade/upgrading-Oracle-database-WP-12C-1896123.PDF

    Unfortunately, there is no way to upgrade direct 11.1.0.6 12.1 and you must upgrade the database to 11.1.0.7 first before restoring it. Other options, see the link above.

  • Is it possible backup backupset with rman sbt on disk

    Hello

    We backup data base of sbt with rman and nmda library (networker).

    We want to copy the disk sbt backupset. Is this possible?

    Kind regards

    William

    I remember that this is not possible. It was perhaps possible to redraw the rman backup and restore concepts, but there is probably no real business applications. Remember that a band or an sbt (series tape backup) is a streaming device. You can read from tape or write about a band, but you can't read and write in the same band at the same time. What syntax would you choose to perform an rman backup from tape to disk or tape to tape? Rman backup you can specify a peripheral channel of exit and entry for the use of the restore command. As far as I know, the rman backup source is the database control file and it reads no Ribbon.

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

  • ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely

    Hello

    I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.

    The catalog database is running in a Data Guard environment.

    During the double process database failover occurred because of a server restart.

    The restore of the data files was successful:

    RMAN-08023: channel t1: restored the backup part 1

    RMAN-08180: channel t1: restoration complete, duration: 00:01:15

    RMAN-03091: finished the restoration at 27.08.2014 09:27:10

    During execution of script memory:

    RMAN-08161: content of the Script from memory:

    {

    switch from clone datafile;

    }

    RMAN-08162: execution of Script memory

    I got this error:

    RMAN-08162: execution of Script memory

    RMAN-08031: output channel: t1

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call

    Dual boot time: 16:00

    Failover time: 18:00

    Error time: 09:00 the next day

    DB version: 11.2.0.4.0, not the RAC environment, single instances

    That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?

    Can someone explain it to me?

    Thank you!

    Hello

    The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.

    What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.

    Thank you

    Bigot

  • Problem creating physical standby with RMAN

    Hi guru

    Perhaps this impact that all face you when creating physical standby DB. I'm trying to create a physical standby database Using RMAN double order a server

    (pri machine) machine on standby.

    Here are the steps I followed to create the above:

    Step 1:-activate forced logging

    SQL > ALTER DATABASE FORCE LOGGING;

    Step 2:-set up a standby Redo Log

    SQL > ALTER DATABASE ADD STANDBY LOGFILE GROUP 10

    2 > ('/ oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500 M;

    Step 3:-set the parameters of primary database initialization

    SQL > create pfile='?/dbs/pfileorcl.ora' of spfile;

    Edit the pfile to add the sleep settings, shown here:

    db_unique_name = "orcl".

    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (ORCL, orcldr)'

    LOG_ARCHIVE_DEST_2 = "SERVICE = orcldr LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcldr'"

    * .fal_server = orcldr

    * .fal_client = orcl

    * .standby_file_management = auto

    Step 4:-activate archiving

    SQL > SHUTDOWN IMMEDIATE;

    SQL > STARTUP MOUNT;

    SQL > ALTER DATABASE ARCHIVELOG;

    SQL > ALTER DATABASE OPEN;

    Step 5:-tnsnames for eve of the configuration database

    This should be done on the primary database to edit tnsnames.ora or using the command NetCA and create by the name orcldr

    orcldr =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcldr)

    )

    )

    Step 6:-backup of database and copy it to standby mode

    This backup script must be run on primary and copied to sleep on the same mount point, run these scripts with RMAN, all files in /rman_backup need to be copied in /rman_backup on the standby server.

    $rman target.

    RMAN > run

    {

    allocate channel c1 type disk;

    allocate channel c2 type disk;

    backup of database format ' / rman_backup/%U';

    ARCHIVELOG backup all the format ' / rman_backup %U ';

    backup current controlfile to Eve format ' / rman_backup/%U';

    }

    Step 7:-availability of measures database

    Installation of Oracle software

    This should be the same version and patch group with exactly same ORACLE_HOME mount point.

    Commissioning of the listener

    Create and start a listener on the database of sleep by using NetCA, or create listener.ora in $ORACLE_HOME/network/admin

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    )

    Step 8:-set of backup database initialization parameters

    Copy the pfile file created in the database primary it renames in initorcldr.ora and change these settings:

    db_unique_name = "orcldr".

    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (orcldr, ORCL)'

    LOG_ARCHIVE_DEST_2 = "SERVICE = orcl LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcl'"

    * .fal_server = orcl

    * .fal_client = orcldr

    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.

    Step 9:-installation tnsnames for the primary database

    This should be done on the pending change tnsnames.ora or using the command NetCA database and create it in the name orcl

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = primary-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    )

    )

    Step 10:-copy a password file

    A password file must be created on the primary and copied to the standby site. The sys password must be the same on both sites. Copy orapworcl in $ORACLE_HOME/dbs and rename the file in orapworcldr

    Step 11:-create for Oracle mount points

    Mount point must be created on the standby server with the same convention used in primary education, which includes the location for controlfiles, redo logs, data files, destination of the newspaper Archives and alert logs.

    $ mkdir Pei/u01/app/oracle/oradata/orcl /.

    $ mkdir Pei/u01/app/oracle/flash_recovery_area /.

    $ mkdir Pei/u01/app/oracle/admin/orcl/adump

    $ mkdir Pei/u01/app/oracle/admin/orcl/bdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/cdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/udump

    Step 12:-use RMAN to restore the backup and standby configuration

    Connecting to RMAN and run the following command to create the database pending, this must be performed on the standby server after the backup copy and the tnsnames parameter.

    $ export ORACLE_SID = orcldr

    $ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr

    RMAN > target double standby database dorecover;

    Here, I'm getting problem such as:

    While he was trying to connect to databases traget and auxiliary, I noticed that when RMAN is connected across the two databases it shows

    ORCL (DBID xyz)

    ORCL (unmounted)

    Here, in my opinion the second database must be the name of the standby database or auxiiary db name is Eve db which is orcldr in my case

    After this issue, I am faced with the second issues such as:

    in command

    target double standby database dorecover;

    After you change the command to

    RMAN > duplicate target database "sleep."

    RMAN-05520 database name mismatch

    Can u please let me know where I can be wrong

    Finally I have the problem after all this googling and thinking the same thing.

    Thanks to you all

Maybe you are looking for

  • HP Notebook P1A99UA #ABL: the replacement hard drive

    Hello I need to replace the hard drive of my laptop HP Notebook P1A99UA # ABL What size and characteristics of the hard drive should I buy? Thank you very much.

  • Satellite L630 (PSK04E) - Fedora 14 don't bot

    Hello world I'm really getting ride of this3 days trying to install fedora 13 and 14I don't know what the problem with this I tried the same CD on CAREB and it works well so?  :| ================ When I put the cd I get the start menu and when I chos

  • Setting the size of the font of an array of strings programmatically

    I can't find the correct property to programmatically adjust the size of the font of an array of strings.  For a chain, it is quite easy with a property node and the text. FontSize property.  There must be a similar property to an array of strings, b

  • Problem of transfer function

    Hello I created this function to transfer in Labview. But I realized that a small entry value (in my case, I used 0.0014) will produce a different result to compare with that of Matlab. I couldn't understand what the problem is. Could you help me in

  • ProBook 6570b: bad software driver

    Hi all Recently, I installed Win7 64 bit on my laptop. Then I went through the tedious task of searching and install all the drivers I needed.  This led me to a few questions: 1. the unit will operate with the incorrect device driver? 2 devices have