Rman offline restores.

Dear All,
Here is the scenario. The test database we take offline backup on Monday and Thursday. We are keeping the redundancy to 2. so on Friday, we got the last backup of Monday and Thursday.
Now we like to restore the database to the monday (not the most current one:thursday). What will be the steps: is the older control file to be engaged for it.
Thanks for all the time and suggestions.

Hi ebain,
This won't work if the OP is in archivelog mode.It will work because the OP takes offline backups see the original post:
Here is the scenario. The test database we take offline backup on Monday and Thursday. Here some proof.....
SQL> select log_mode from v$database;
LOG_MODE
ARCHIVELOG
[u02/oradata/DB10G]$ ls
control01.ctl redo01.log sysaux01.dbf tools01.dbf
control02.ctl redo02.log system01.dbf tools02.dbf
control03.ctl redo03.log temp01.dbf undotbs01.dbf
[u02/oradata/DB10G]$ rm *
[u02/oradata/DB10G]$ cd
[u01/appl/ora102]$ rman
Recovery Manager: Release 10.2.0.4.0 - Production on Wed Aug 26 20:25:03 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN> connect target /;
connected to target database (not started)
RMAN> startup nomount;
Oracle instance started
Total System Global Area 486539264 bytes
Fixed Size 2139864 bytes
Variable Size 249387304 bytes
Database Buffers 230686720 bytes
Redo Buffers 4325376 bytes
RMAN> restore controlfile from '/u01/appl/ora102/product/10.2.0/dbs/0jknmbqp_1_1';
Starting restore at 26-AUG-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=163 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
output filename=/u02/oradata/DB10G/control01.ctl
output filename=/u02/oradata/DB10G/control02.ctl
output filename=/u02/oradata/DB10G/control03.ctl
Finished restore at 26-AUG-09
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
1 B F A DISK 11-AUG-09 1 1 NO TAG20090811T144156
2 B F A DISK 11-AUG-09 1 1 NO TAG20090811T144156
3 B F A DISK 11-AUG-09 1 1 NO TAG20090811T161422
4 B F A DISK 11-AUG-09 1 1 NO TAG20090811T161422
5 B F A DISK 12-AUG-09 1 1 NO TAG20090812T093810
6 B F A DISK 12-AUG-09 1 1 NO TAG20090812T093810
7 B F A DISK 12-AUG-09 1 1 NO TAG20090812T115026
8 B F A DISK 12-AUG-09 1 1 NO TAG20090812T115026
9 B F A DISK 14-AUG-09 1 1 NO TAG20090814T112045
10 B F A DISK 26-AUG-09 1 1 NO TAG20090826T150959
11 B F A DISK 26-AUG-09 1 1 NO TAG20090826T151753
12 B F A DISK 26-AUG-09 1 1 NO TAG20090826T202138
RMAN> restore database from tag TAG20090826T202138;
Starting restore at 26-AUG-09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=161 devtype=DISK
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u02/oradata/DB10G/system01.dbf
restoring datafile 00002 to /u02/oradata/DB10G/undotbs01.dbf
restoring datafile 00003 to /u02/oradata/DB10G/sysaux01.dbf
restoring datafile 00004 to /u02/oradata/DB10G/tools01.dbf
restoring datafile 00005 to /u02/oradata/DB10G/tools02.dbf
channel ORA_DISK_1: reading from backup piece /u01/appl/ora102/product/10.2.0/dbs/0iknmbqi_1_1
channel ORA_DISK_1: restored backup piece 1
piece handle=/u01/appl/ora102/product/10.2.0/dbs/0iknmbqi_1_1 tag=TAG20090826T202138
channel ORA_DISK_1: restore complete, elapsed time: 00:00:16
Finished restore at 26-AUG-09
RMAN> alter database open resetlogs;
database opened
RMAN> host;
$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Aug 26 20:29:47 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select log_mode from v$database;
LOG_MODE
ARCHIVELOG

Similar Messages

  • RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: [kccsbck_first], [2], [2349545192]" on DB startup

    Hi All,
    DB:11.2.0.3.0
    OS: Sun Solaris SPARC 64 bits
    I am facing an issue -  RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
    <p mcekeep="true">  $ sqlplus / as sysdba
    <p mcekeep="true">   SQL*Plus: Release 11.2.0.3.0   Production on Sun Oct 6 09:31:28 2013
    <p mcekeep="true">   Copyright (c) 1982, 2011,   Oracle.  All rights reserved.
    <p mcekeep="true">   Connected to an idle instance.
    <p mcekeep="true">  
    SQL> startup
    ORACLE instance started.
    Total System Global Area 4277059584 bytes
    Fixed Size                  2166160 bytes
    Variable Size            1493176944 bytes
    Database Buffers         2768240640 bytes
    Redo Buffers               13475840 bytes
    ORA-00600: internal error code, arguments: , , ,
    SQL> exit
    DB test2 database validated:
    RMAN> validate Database;
    No issues reported.
    Could anyone please let me the what's the cause of this error
    Thanks for your time
    Regards,
    user10088255

    HI,
    CASE : I
    C:\>set ORACLE_SID=xxxx
    C:\>sqlplus sys/XXXXX@rosen as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area   3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                   16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
    Solution:   AFTER GETTING  ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE  AND  THEN ALTER  DATABASE   TO OPEN STAGE .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                    16007168 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME      OPEN_MODE
    ROSEN     READ WRITE
    CASE :: II
    C:\>sqlplus sys/XXXX@royalton as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                  1979714112 bytes
    Database Buffers            1426063360 bytes
    Redo Buffers                  16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
    Solution :  As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool  component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    C:\>set ORACLE_SID= royalton
    C:\>sqlplus sys/xxxxxxxx@royalton  as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                     2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers            1325400064 bytes
    Redo Buffers                  16007168 bytes
    Database mounted.
    SQL> alter system flush shared_pool;
    SQL> alter database open
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME            OPEN_MODE
    ROYALTON        READ WRITE
    Conclusion : Though this is not the solution but a workaround to solve ORA-00600  which is having same argument as above, then you may follow the above steps.
    Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f…

  • RMAN redirected restore in windows.

    Hi All,
    My production database is getting backed up using rman/tivoli to tape.
    I need to do restoration in another machine using rman redirected restore.
    Does anyone has idea what files (tsm files) need to be modified to do redirected restore on windows.
    Thanks,
    Hal.

    One correction :
    Tivoli Data Protection (TDP) - I don't know which version - Guide for Oracle
    But normally RMAN should handle all the stuff. It's only necessary Tivoli server is able to access the new host.
    Werner

  • RMAN not restoring database

    I've been trying to restore a tablespace that I intentionally deleted a table from just to practice on restoring data in Oracle. Basically I did a full backup of the whole database the night before. The next morning I deleted a complete table from the TEST_DATA tablespace intentionally. I then ran the following commands:
    SQL> ALTER TABLESPACE TEST_DATA OFFLINE IMMEDIATE;
    RMAN> RESTORE TABLESPACE TEST_DATA;
    RMAN> RECOVER TABLESPACE TEST_DATA;
    SQL> ALTER TABLESPACE TEST_DATA ONLINE;
    All commands ran successfully with no error. It pulled the dbf file from the backup file and restored it (Or so it seemed). the RECOVER command did go pretty quick. It ran for about 1 second and completed. This was kind of odd. When I opened the tablespace I noticed that the table was not recovered.
    The tablespace data was recovered when I did a full database restore and recover though. I dont want to take down the whole database just to restore a tablespace.
    Am I doing it wrong? Your help is appreciated.

    Hello;
    I would expect something more like this :
    recover tablespace ABLOCK
    until time "to_date('10-JAN-2013 14:32:46','dd-mon-rrrr hh24:mi:ss')"
    AUXILIARY DESTINATION '/u01/app/oracle/oradata/CLONE';http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmtspit.htm
    See - Example 21-4 Performing TSPITR on Two Tablespaces
    Please consider closing some of your old questions.
    This is somewhat related to your question:
    http://gavinsoorma.com/2009/11/11g-release-2-tablespace-point-in-time-recovery-recover-from-dropped-tablespace/
    These are NOT related to your current question but you may find useful as you test down the line.
    http://www.pythian.com/library/papers_and_books/the_quick_and_easy_rman_restore/
    http://www.pythian.com/news/3653/howto-oracle-cross-platform-migration-with-minimal-downtime/
    http://www.pythian.com/news/28099/rman-duplicate-in-details/
    http://www.pythian.com/news/34715/migrating-your-10g-database-to-oda-with-minimal-downtime/
    Best Regards
    mseberg
    Edited by: mseberg on Jan 10, 2013 11:44 AM

  • Error with Oracle temp file after Offline restore

    Hi,
    I did a offline backup of my Oracle 9I database after shutting down the DB. After I restore the offline file system backup, I saw the following error in alter.log:
    "ORA-01186: file 255 failed verification tests
    ORA-01122: database file 255 failed verification check
    ORA-01110: data file 255: '/oracle/SED/sapdata1/temp_1/temp.data1'
    ORA-01205: not a data file - type number in header is 0
    File 255 not verified due to error ORA-01122"
    When I did a query I got the following error :
    "SQL> select * from dba_temp_files;
    select * from dba_temp_files
    ERROR at line 1:
    ORA-01187: cannot read from file 255 because it failed verification tests
    ORA-01110: data file 255: '/oracle/SED/sapdata1/temp_1/temp.data1'
    I know how to recover it but Why is this so ? Is this normal when I restore the offline backup file including the temp.data1 ?
    Any reply is appreciated.
    Rgds,
    WP

    Because you did something wrong.
    This is just one more brilliant laser beam example of why RMAN is the only tool that should be used for backup and recovery once you are on 9i or higher versions.

  • How to confiuge RMAN offline and online back-up at a pre-determined time.

    Hallo!I am an Oracle newbie currently studying the Oracle 10g Database Administration Certification.Still very new to Enterprise Manager.
    My query is that can you configure an offline database back-up such that you can set up an offline backup at a pre-determined time?
    I am assumng a real-office scenario where a DBA would like to have an offline back-up at night e.g. at 1 am when they are no users in the office.If the DBA can set the system such that everday at 1 am ,the instance shuts down,back-up is done e.g a backup set that can be stored on tape,then after backup the instance re-starts itself.All this should be automated such that by the time staff report in the morning ,the instance is up and running and users can work seamlessely
    How can I automate this entire process using RMAN and/or Enterprise Manager or a sript to achieve this?Also,I would like to know if you can automate the same for online back-up such that it can backup while instance is still running and users are accessing the DB.
    Please help me on this and I shall be infinitely grateful.Thanks in advance.

    Hi,
    On UNIX server, you can use shell script and sql scripts that can do this job for you. Once the scripts are tested succesfully, you can put them in the crontab.
    Crontab entry should reflect the time, day, week, month details as you thought to schedule it.
    This link may help you. http://www.dbasupport.com/oracle/scripts/Backup_Recovery/RMAN_Backup/
    Regards,
    vasu

  • RMAN backup restoring to new server help!

    I'm using Oracle 8.1.7. The production database was copied (datafiles, controlfile etc) to a NEW server that I'm trying to set up as a development DB. I take full database backups using RMAN from the production server, and I want to restore them on the development server. I think I somehow have to specify the filename/location of the backup file but I can't seem to figure out how to do it.
    I am not using a recovery catalog.
    Any help is appreciated.

    If you restore the controlfile backup to the development server RMAN
    will "read" the expected location of the backupsets from there.
    In 8i you cannot use the CATALOG command so you have to copy all
    the backupsets to the same path on the development server as on the
    production server.
    Once you have your init.ora and controlfiles in place (and created the
    expected target directory structure for the database and redolog files),
    you can use STARTUP MOUNT and thene RESTORE from RMAN.
    I believe that you should be able to rename files in 8i RMAN as well.
    If not, you'll have to stick to restoring to the same location.
    The key thing is that the controlfile records the "location" of the RMAN backupsets
    and the "location" where datafiles are to be restored to.

  • RMAN Error - restore database validate

    Hi all
    I am trying to validate a full database backup taken on tape using 'restore database validate' command but for some reason this command spits out multi-page long PL/SQL code (below truncated output). I have searched all over for a solution but can't seem to figure out the problem.
    Any assistance will be appreciated.
    RMAN> allocate channel for maintenance type SBT_TAPE parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    2> crosscheck backup;
    3> restore database validate;
    4> release channel;
    5> exit;
    allocated channel: ORA_MAINT_SBT_TAPE_1
    channel ORA_MAINT_SBT_TAPE_1: SID=82 device type=SBT_TAPE
    channel ORA_MAINT_SBT_TAPE_1: Data Protection for Oracle: version 5.4.1.0
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-822607628-20101006-02 RECID=66 STAMP=731711718
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=DB_20101007_77_2dlpsj84_1_1.dbf RECID=67 STAMP=731794692
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=CF_20101008_116_3klpt5iv_1_1.ctl RECID=106 STAMP=731813472
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-822607628-20101008-01 RECID=107 STAMP=731813518
    Crosschecked 42 objects
    Starting restore at 08-OCT-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=110 device type=DISK
    DBGANY: CMD type=IRESTORE cmdid=1 status=NOT STARTED
    DBGANY: 1 STEPstepid=1 cmdid=1 status=NOT STARTED devtype=SBT_TAPE bs.stamp=731812991 step_size=0 Bytes
    DBGANY: 1 TEXTNOD = -- rsdf_start
    DBGANY: 2 TEXTNOD = declare
    DBGANY: 3 TEXTNOD = /* restoreStatus */
    DBGANY: 4 TEXTNOD = state binary_integer;
    DBGANY: 5 TEXTNOD = pieces_done binary_integer;
    DBGANY: 6 TEXTNOD = files binary_integer;
    DBGANY: 7 TEXTNOD = datafiles boolean;
    DBGANY: 8 TEXTNOD = incremental boolean;
    DBGANY: 9 TEXTNOD = device boolean;
    DBGANY: 10 TEXTNOD = /* restorebackuppiece */
    DBGANY: 11 TEXTNOD = done boolean;
    DBGANY: 12 TEXTNOD = currcf boolean;
    DBGANY: 266 TEXTNOD = sys.dbms_backup_restore.restoreCancel(FALSE);
    DBGANY: 267 TEXTNOD = exception
    DBGANY: 268 TEXTNOD = when others then
    DBGANY: 269 TEXTNOD = krmicd.writeMsg(1005,
    DBGANY: 270 TEXTNOD = 'c. dbms_backup_restore.restoreCancel() failed');
    DBGANY: 271 TEXTNOD = end;
    DBGANY: 272 TEXTNOD = sys.dbms_backup_restore.setRmanStatusRowId(rsid=>0, rsts=>0);
    DBGANY: 273 TEXTNOD = end;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03004: fatal error during execution of command
    RMAN-00600: internal error, arguments [6000] [] [] [] []

    Hi Sybrand
    So here's the deal:
    1) 'backup validate database;' is run before RMAN backup to check for any logical or physical corruption in datafiles or archivelogs.
    If the backup validation discovers corrupt blocks, then RMAN updates the V$DATABASE_BLOCK_CORRUPTION view with rows describing the corruptions.
    2)
    a- 'restore database validate;' is run after RMAN backup to check for any logical or physical corruption in backupsets.
    b- 'validate backupset <n>;' is also run after RMAN backup to check for any logical or physical corruption in backupsets. The difference being you have to run it for each individual backupset as opposed to the previous option (2a), which loops through all existing backupsets.
    I believe for now only option 2b is available for use in my case.
    Cheers.

  • RMAN backup restoration

    Hi,
    We have full database backup and increamenal level 1 backup.
    then we have sucessfcully restored level 0 backup.
    After taht we are tring to recover database using recover database command...
    getting below error..
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 05/09/2011 22:40:13
    ORA-19693: backup piece /cddump/EKBPSIT_backup/3rdMay2011_backup/rman/02-05-11-Level-2/EKBPSIT_tblspc_4tmbab0n_1_1.bak already included

    It is a "clean" restore. I mean I have a cold backup and I did a restore.
    In the meantime I found out why it gave me this "strange" error, or at least a work around.
    I set the compatibility mode to 9.2.0 and tried the restore again.
    commands used:
    run{
    set new name
    restore database;
    (control file was already restored with restore controlfile from 'controlfilebacku.rmn';)
    After I opened the database with startup upgrade, I received ora-0600 when trying to recompile invalid objects. I searched the internet for the error (which was
    Errors in file c:\oracle\product\10.2.0\admin\rstorage\udump\rstorage_ora_2512.trc:
    ORA-00600: internal error code, arguments: [17069], [0x342C1524], [], [], [], [], [], []Then I remember that I changed the compatibility to 9.2 so I switched back to 10.2.0.5 and re-executed catupgrade script. It worked fine. (except for invalid objects :) )

  • RMAN backup restoration on diff OS

    Hi,
    Is it possible to restore an RMAN backup taken on AIX on Solaris?
    Any special tasks need to be done?
    TIA.
    KV

    Pavan Kumar wrote:
    Hi,
    Alternatives are available.
    Refer to doc : http://youngcow.net/doc/oracle10g/backup.102/b14191/rcmrecov002.htm (Old one)
    Try to test since I have not tested on AIX.
    - Pavan Kumar NHi Pavan
    As you know, AIX and Solaris are two different type of operating systems. It's not possible to copy RMAN backups from one host (AIX) and restore it at the second host (Solaris)
    File headers will be different and the system will not recognize the datafiles

  • RMAN Backup Restore from tape

    Hello Gurus
    We have lvl0 RMAN database backup restored from tape but due to some reasons we could not apply recovery on it. On checking the information in controlfile, it identified only the system file and no other file. So, we recreated the controlfile and decided to recover using backup controlfile option (until cancel or until change or until time). However, to my surprise, when I listed the checkpointchange# and checkpoint_time columns of v$datafile_header, I found the difference in timestamps ranging 24 hrs -- which menat we had to apply 24 hrs of archiving to bring all dbfs to a consistent state (before it allowed us to open the db) -- so far so good, it worked that way.
    My question is that, while I trigger a lvl0 RMAN backup at say 4PM on 27th July and it finishes on 4PM on 28th July (as I am directly pushing around 1 TB data to tapes) -- what is the consistency timestamp of this backup. In other words, is this backup available for a restore of 4PM 27th July? Or is it available only for a restore of 4PM 28th July and later ...?
    Isn't it that RMAN works at block level and when I fire a backup it should give me all the dbf's of that timestamp..?
    Appreciate your inputs/comments.

    When taking a online backup with RMAN, the datafiles backup is always inconsistent because it needs the archived redo logs generated during the backup to be consistent: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/intro005.htm#sthref70.
    A full online backup can only be used to restore the database to a point in time starting after backup end: if a backup starts at 4PM on 27th July and it finishes on 4PM on 28th July you can use it to restore the database to a point in time after 28-JUL 4PM.

  • RMAN Data Restore

    Hi Guys
    i'm facing an issue in restoring data that has been backuped through RMAN scrip
    i'm new in Oracle environment specially RMAN Backup ans restoring issues
    the current situation is that after performing RMAN Backup on the local disk
    there is 1 Control File, 3 Database files and 4 Archive log file
    i need the proper way to restore the backuped files on a fresh server. (need your help)
    Regards,

    sure, the OS are same
    and this is the backup script
    change archivelog all validate;
    RUN
    ALLOCATE CHANNEL t1 TYPE DISK;
    ALLOCATE CHANNEL t2 TYPE DISK;
    ALLOCATE CHANNEL t3 TYPE DISK;
    BACKUP TAG whole_database_open_daily FORMAT 'C:\Daily_Backup\output\db-%T_%t_%s_p%p' DATABASE;
    SQL 'alter system archive log current';
    BACKUP ARCHIVELOG ALL FORMAT 'C:\Daily_Backup\output\arch-%T_%t_%s_p%p';
    BACKUP CURRENT CONTROLFILE TAG = controlF FORMAT 'C:\Daily_Backup\output\cf-%T_%t_%s_p%p';
    RELEASE channel t1;
    RELEASE channel t2;
    RELEASE channel t3;
    exit;

  • RMAN backup restoration on a different server under ASM .

    Hello Experts,
    This is regarding new installation of Oracle RAC 11gR2 on AIX 6.1 . Its a two node cluster setup , using ASM . As i am newbie for RMAN , I would like to know how i can restore my rman backup to another uat server which has standby database again cofigured under asm .
    Thanks for your kind help .

    Hi ,
    Thanks for reply
    1) I performed the full database backup on source .
    2) Source (prod) and target remote database (uat) are in ASM and have same DG for datafiles .
    3) I have transfered the backup from production to UAT . I have already running uat database
    do i need to drop it before i start the restoration ? My final purpose is just to refresh target with production backup . Kindly advice the steps from here to proceed with .
    Thank you

  • RMAN backup restore from RAC to single instance ASM

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We need to restore RMAN backup from RAC to single instance ASM,
    Im new to RAC & ASM, What will be the changes
    What will be steps involved into it.
    Thanks

    Hello,
    Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
    On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
    Handle:      user10745179
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Feb 24, 2009
    Total Posts:      168
    Total Questions:      74 (52 unresolved)
    Name      Devesh
    Location      Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
    Regards,
    Shivananda

  • RMAN Backup restore issue

    Hi Guys,
    I am running 2 node RAC 11G R2 on windows. I am taking the database backup by issuing the following command:
    backup database format='d:\backup\DGtest\%U_DB' include current controlfile spfile plus archivelog  ;
    (My source sid is "ABC" and I want to restore it into "xyz")
    After taking the above backup I have to restore but I am getting the following error while restoring:
    I have created the spfile and copy to ASM instance.
    I have restore the controlfile into ASM.
    But during database restore I am facing the follwoing issues:
    RMAN> restore database;
    Starting restore at 25-JUN-13
    using channel ORA_DISK_1
    creating datafile file number=1 name=+DATA1/abc/datafile/system.261.757702567
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/25/2013 09:32:04
    ORA-01180: can not create datafile 1
    ORA-01110: data file 1: '+DATA1/abc/datafile/system.261.757702567'
    RMAN> restore backup;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "backup": expecting one of: "archivelog, channel, check, controlfile, database, datafil
    , device, force, from, high, preview, primary, skip readonly, spfile, standby, tablespace, to restore point, until rest
    re point, until, validate, ("
    RMAN-01007: at line 1 column 9 file: standard input
    RMAN>
    Any help would be appreciated.

    Is your database open? I think it should only be mounted.

Maybe you are looking for