Restore from rman

Hi All,
you can see my backup sets below, also i have all backset files in the flash recovery area.
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
89 B 1 A DISK 24-05-2010 15:36:04 1 1 NO BACKU
P_BISE1DB_000_052410030823
90 B 1 A DISK 24-05-2010 15:36:13 1 1 NO BACKU
P_BISE1DB_000_052410030823
91 B 0 A DISK 25-05-2010 12:01:09 1 1 NO TAG20
100525T113815
92 B 0 A DISK 25-05-2010 12:01:13 1 1 NO TAG20
100525T113815
93 B 1 A DISK 25-05-2010 12:01:55 1 1 NO TAG20
100525T120152
94 B 1 A DISK 25-05-2010 12:04:55 1 1 NO TAG20
100525T120451
95 B 1 A DISK 25-05-2010 13:55:00 1 1 NO TAG20
100525T134431
96 B 1 A DISK 25-05-2010 13:55:09 1 1 NO TAG20
100525T134431
97 B 1 A DISK 25-05-2010 14:01:43 1 1 NO TAG20
100525T140139
98 B 1 A DISK 25-05-2010 14:55:33 1 1 NO TAG20
100525T140356
when i use script below,
RUN
RESTORE DATABASE;
RECOVER DATABASE;
the last backup set is considered and restored to the datafile location,
so if i need to restore database from first back up in the list, how is it script like? or another backset from disc?
thank you

zekeriya besiroglu wrote:
send me
list backupset
:)List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
89 Incr 1 13.26G DISK 00:26:49 24-05-2010 15:36:04
BP Key: 90 Status: AVAILABLE Compressed: NO Tag: BACKUP_BISE1DB_000_
052410030823
Piece Name: D:\TESTBI_BACKUP\32LEG5CR_1_1
List of Datafiles in backup set 89
File LV Type Ckp SCN Ckp Time Name
1 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\SY
STEM01.DBF
2 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\UN
DOTBS01.DBF
3 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\SY
SAUX01.DBF
4 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\US
ERS01.DBF
5 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\EX
AMPLE01.DBF
7 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_DIMENSIONS_01.DBF
8 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_FACTS_01_REORG0_REORG0.DBF
9 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_INDEXES_01.DBF
10 1 Incr 5785459936 24-05-2010 15:08:59
11 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_DIMENSIONS_01.DBF
12 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_FACTS_01_REORG0_REORG0.DBF
13 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_INDEXES_01.DBF
15 1 Incr 5785459936 24-05-2010 15:08:59 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_STAGING_01_REORG0.DBF
16 1 Incr 5785459936 24-05-2010 15:08:59
BS Key Type LV Size Device Type Elapsed Time Completion Time
90 Incr 1 7.14M DISK 00:00:02 24-05-2010 15:36:13
BP Key: 91 Status: AVAILABLE Compressed: NO Tag: BACKUP_BISE1DB_000_
052410030823
Piece Name: D:\TESTBI_BACKUP\33LEG6VB_1_1
Control File Included: Ckp SCN: 5785459936 Ckp time: 24-05-2010 15:08:59
BS Key Type LV Size Device Type Elapsed Time Completion Time
91 Incr 0 10.18G DISK 00:22:53 25-05-2010 12:01:09
BP Key: 92 Status: AVAILABLE Compressed: NO Tag: TAG20100525T113815
Piece Name: D:\TESTBI_BACKUP\37LEIDD8_1_1
List of Datafiles in backup set 91
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\SY
STEM01.DBF
2 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\UN
DOTBS01.DBF
3 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\SY
SAUX01.DBF
4 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\US
ERS01.DBF
5 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\EX
AMPLE01.DBF
6 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_STAGING_01_REOR_REORG0.DBF
7 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_DIMENSIONS_01.DBF
8 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_FACTS_01_REORG0_REORG0.DBF
9 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_INDEXES_01.DBF
11 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_DIMENSIONS_01.DBF
12 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_FACTS_01_REORG0_REORG0.DBF
13 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_INDEXES_01.DBF
14 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_STAGING_02_REOR_REORG0.DBF
15 0 Incr 5785541520 25-05-2010 11:34:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_STAGING_01_REORG0.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
92 Incr 0 7.14M DISK 00:00:01 25-05-2010 12:01:13
BP Key: 93 Status: AVAILABLE Compressed: NO Tag: TAG20100525T113815
Piece Name: D:\TESTBI_BACKUP\38LEIEO8_1_1
Control File Included: Ckp SCN: 5785541520 Ckp time: 25-05-2010 11:34:46
BS Key Type LV Size Device Type Elapsed Time Completion Time
93 Incr 1 7.14M DISK 00:00:01 25-05-2010 12:01:55
BP Key: 94 Status: AVAILABLE Compressed: NO Tag: TAG20100525T120152
Piece Name: D:\TESTBI_BACKUP\3ALEIEPI_1_1
Control File Included: Ckp SCN: 5785541520 Ckp time: 25-05-2010 11:34:46
BS Key Type LV Size Device Type Elapsed Time Completion Time
94 Incr 1 7.14M DISK 00:00:02 25-05-2010 12:04:55
BP Key: 95 Status: AVAILABLE Compressed: NO Tag: TAG20100525T120451
Piece Name: D:\TESTBI_BACKUP\3CLEIEV5_1_1
Control File Included: Ckp SCN: 5785541520 Ckp time: 25-05-2010 11:34:46
BS Key Type LV Size Device Type Elapsed Time Completion Time
95 Incr 1 2.26G DISK 00:10:28 25-05-2010 13:55:00
BP Key: 96 Status: AVAILABLE Compressed: NO Tag: TAG20100525T134431
Piece Name: D:\TESTBI_BACKUP\3DLEIKQ0_1_1
List of Datafiles in backup set 95
File LV Type Ckp SCN Ckp Time Name
1 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\SY
STEM01.DBF
2 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\UN
DOTBS01.DBF
3 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\SY
SAUX01.DBF
4 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\US
ERS01.DBF
5 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\EX
AMPLE01.DBF
6 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_STAGING_01_REOR_REORG0.DBF
7 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_DIMENSIONS_01.DBF
8 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_FACTS_01_REORG0_REORG0.DBF
9 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_INDEXES_01.DBF
11 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_DIMENSIONS_01.DBF
12 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_FACTS_01_REORG0_REORG0.DBF
13 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_INDEXES_01.DBF
14 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_PRD_STAGING_02_REOR_REORG0.DBF
15 1 Incr 5785721069 25-05-2010 13:41:46 D:\ORACLE\BISE1\ORADATA\BISE1DB\DW
H_TST_STAGING_01_REORG0.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
96 Incr 1 7.14M DISK 00:00:01 25-05-2010 13:55:09
BP Key: 97 Status: AVAILABLE Compressed: NO Tag: TAG20100525T134431
Piece Name: D:\TESTBI_BACKUP\3ELEILDS_1_1
Control File Included: Ckp SCN: 5785721069 Ckp time: 25-05-2010 13:41:46
BS Key Type LV Size Device Type Elapsed Time Completion Time
97 Incr 1 7.14M DISK 00:00:02 25-05-2010 14:01:43
BP Key: 98 Status: AVAILABLE Compressed: NO Tag: TAG20100525T140139
Piece Name: D:\TESTBI_BACKUP\3GLEILQ5_1_1
Control File Included: Ckp SCN: 5785721069 Ckp time: 25-05-2010 13:41:46
BS Key Type LV Size Device Type Elapsed Time Completion Time
98 Incr 1 7.14M DISK 00:00:01 25-05-2010 14:55:33
BP Key: 99 Status: AVAILABLE Compressed: NO Tag: TAG20100525T140356
Piece Name: D:\TESTBI_BACKUP\3VLEIOV4_1_1
Control File Included: Ckp SCN: 5785721069 Ckp time: 25-05-2010 13:41:46

Similar Messages

  • ORA-01152 when restoring from RMAN backupset in NOARCHIVELOG mode

    Hi all,
    I got the error ORA-01152 when I tried restoring an Oracle 10g R1 database from an RMAN backupset into a new server. The error returned when it reached to the level of opening the database in resetlogs.
    The database runs on NOARCHIVELOG mode and on Windows 2003 Server SP2 32-bit.
    Following is what I did in RMAN:
    set ORACLE_HOME=D:\oracle\product\10.1.0\db_1
    set ORACLE_SID=DAWA
    set PATH=D:\oracle\product\10.1.0\db_1\bin;%PATH%
    cd %ORACLE_HOME%\bin
    rman target sys/mypassword
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Feb 13 00:36:55 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount pfile=X:\temp\DawaPFILE.ORA
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 1048576000 bytes
    Fixed Size 792200 bytes
    Variable Size 551807352 bytes
    Database Buffers 494927872 bytes
    Redo Buffers 1048576 bytes
    RMAN> restore controlfile from
    'X:\temp\Flash_Rec\DAWA\AUTOBACKUP\2011_07_16\O1_
    MF_S_756655133_7226R018_.BKP';
    Starting restore at 19-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=270 devtype=DISK
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    output filename=D:\ORACLE\ORADATA\DAWA\CONTROL01.CTL
    output filename=D:\ORACLE\ORADATA\DAWA\CONTROL02.CTL
    output filename=D:\ORACLE\ORADATA\DAWA\CONTROL03.CTL
    Finished restore at 17-AUG-11
    alter database mount;
    database mounted
    catalog backuppiece 'X:\temp\PUMHJATD_1_1';
    catalog backuppiece 'X:\temp\PTMHJ91Q_1_1';
    /* Rename the Redologfiles,so that they can be created in new locations
    the database is opened in resetlogs */
    SQL>conn sys as sysdba
    -- get registered files from SELECT * FROM V$LOGFILE
    SQL> alter database rename file
    'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO01.LOG' to
    'X:\oracle\oradata\dawa\REDO01.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO02.LOG'
    to 'X:\oracle\oradata\dawa\REDO02.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO03.LOG'
    to 'X:\oracle\oradata\dawa\REDO03.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO04.LOG'
    to 'X:\oracle\oradata\dawa\REDO04.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO05.LOG'
    to 'X:\oracle\oradata\dawa\REDO05.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO06.LOG'
    to 'X:\oracle\oradata\dawa\REDO06.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO07.LOG'
    to 'X:\oracle\oradata\dawa\REDO07.LOG';
    /* Now in RMAN: restore the datafiles
        to new locations and recover. */
    RMAN> run{
    set newname for datafile
    'E:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\UNDOTBS201' TO
    'D:\oracle\oradata\dawa\UNDOTBS201';
    set newname for datafile
    'E:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\UNDOTBS202' TO
    'D:\oracle\oradata\dawa\UNDOTBS202';
    restore database;
    switch datafile all;
    alter database open resetlogs;
    .../*  alter database open resetlogs returned the errors: */
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 08/18/2011 08:44:45
    ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: 'D:\ORACLE\ORADATA\DAWA\UNDOTBS206'Thanks in advance.

    SYS @ DAWA> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SYS @ DAWA> startup mount
    ORACLE instance started.
    Total System Global Area 1048576000 bytes
    Fixed Size                   792200 bytes
    Variable Size             551807352 bytes
    Database Buffers          494927872 bytes
    Redo Buffers                1048576 bytes
    Database mounted.
    SYS @ DAWA> recover database using backup controlfile until cancel;
    ORA-00279: change 329012 generated at 03/08/2005 16:24:46 needed for thread 1
    ORA-00289: suggestion :
    X:\ORACLE\ORADATA\FLASH_REC\DAWA\ARCHIVELOG\2011_08_18\O1_MF_1_6_%U_.ARC
    ORA-00280: change 329012 for thread 1 is in sequence #6
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log
    'X:\ORACLE\ORADATA\FLASH_REC\DAWA\ARCHIVELOG\2011_08_18\O1_MF_1_6_%U_.ARC'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'X:\ORACLE\ORADATA\DAWA\SYSTEM01.DBF'You can download the alert log from here:
    http://ahmedbaraka.com/temp/alertdawa.log

  • Restoring from RMAN tablespace backup ; Few questions

    11.2.0.3/RHEL 5.8
    We have a RAC DB which is used by more than 20 applications. One schema for each application and one tablespace for each schema.
    We have a schema with 130gb in size. All Objects in this schema use a single tablespace MCS_DATA.
    This weekend we are applying some changes involving DDL, Code and Data .Usually we take an expdp backup of the schema before the activity starts and later if something goes wrong with script deployment we'll revert to old state by dropping the schema and doing an impdp from the expdp backup.
    Question1.
    Can we do an RMAN tablespace only backup and if something goes wrong with script deployment can we drop the schema and the tablespace and then create an empty schema and then restore from the tablespace backup ?
    Question2.
    If the above is possible , can you explain how it is going to work out because we are essentially plugging (restore,recover) in a tablespace to the database. Any potential problems ?
    Question3. If the above (Question1) is possible, will restore/recover of this tablespace require a downtime for the entire DB ?

    Tom;
    If you are talking about RMAN TSPITR then yes you can. See - Purpose of RMAN TSPTIR in Backup and Recovery User's Guide E10642-03.
    The problem with TSPTIR is bulk. You need a lot of disk space to create a copy and then data pump the information out and back in. I just tested this on 11.2.0.3 and its slow. RMAN created a script which produced an AUX instance and did the data pump, but I had clean up afterwards. If it errors out you can have an AUX instance hanging out in the background.
    For TSPTIR you will need an area on the disk to server as an auxiliary destination large enough to hold what you are recovering plus the SYSTEM, UNDO and TEMP tablespaces.
    I would probably look at Transportable tablespaces as a possible option too.
    http://docs.oracle.com/cd/E25054_01/backup.1111/e10642/rcmttbsb.htm
    E10642-03 has a section for recovering a tablespace in chapter 2. The Tablespace must be offline, but the database can be up.
    This uses "restore tablespace" and "recover tablespace" commands. You would perform this type of recovery when you are say missing a datafile. You can recover any tablespace except SYSTEM and UNDO with this.
    Data Pump might be an option too, but given your tablespace size I would have worries about recovery time. Oracle lets you set compression
    and a limit to each file produced.
    expdp TABLESPACES=YOUR_DATA dumpfile=DATA_PUMP_DIR:ts_dumps_%U.dmp LOGFILE=DATA_PUMP_DIR:ts_dumps_log.log parallel=2 filesize=10G compression=ALL
    Given the size of your database a better option might be something like Data Guard as your recovery time would be brutal.
    Best Regards
    mseberg

  • Spfile restore from RMAN Tape backup to different server

    Hi All,
    First of all let me thank you to the forum from which I keep updating my knowledge on oracle.
    I am having issues when trying to restore spfile from controlfile autobackup to different server. Problem and other details are below:
    Target version : 10.2.0.2
    Netbackup : 6.5.6
    Taken the tape backup through rman on server ABC and trying to restore the spfile from controlfile autobackup to server XYZ. Tape backup has been taken today morning and trying restore now.
    Both servers ABC and XYX have been added (as clients) to netbackup policy.
    Below is the syntax I used for restoring spfile and getting error as mentioned.
    RMAN> run {
    2> set controlfile autobackup format for device type 'SBT_TAPE' to '%F';
    3> allocate channel ch00 device type 'sbt_tape'
    4> parms='ENV=(NB_ORA_SERV=Mediaserver,NB_ORA_CLIENT=XYZ)';
    5> restore spfile to pfile '/oracle/product/10g/dbs/inittest.ora' from
    6> autobackup maxseq 5 maxdays 3;
    7> }
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    allocated channel: ch00
    channel ch00: sid=36 devtype=SBT_TAPE
    channel ch00: Veritas NetBackup for Oracle - Release 6.5 (2010042405)
    Starting restore at 03-AUG-2011
    channel ch00: looking for autobackup on day: 20110803
    channel ch00: looking for autobackup on day: 20110802
    channel ch00: looking for autobackup on day: 20110801
    channel ch00: no autobackup in 3 days found
    released channel: ch00
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/03/2011 14:03:26
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Not sure where I am doing wrong. The same can be restored onto same host (I.E ABC) without any issues .
    Request your help and guidance.
    Thanks,
    SSS

    I don't know whether you can restore to a different server. The easier way should be
    RMAN> restore spfile to pfile 'YOUR_PFILE_NAME' from autobackup;
    then copy this to the new host.
    Check this link
    restore spfile to another host
    Hope this helps

  • Restore from rman - kindly help

    Hi,
    I'm new with RMAN and need some help from experts here.
    my database is in archivelog.
    version: 10.2.0.3
    rman with recovery catalog.
    I have backup my database (online) using rman by executing the following:
    RMAN> run
    allocate channel c1 type disk1;
    backup database format 'db_%u_%d_%s';
    backup format 'log_t%t_s%s_p%p'
    (archivelog all);
    after backup up, i deleted my datafiles, controlfiles, redologs, archivelogs. may i know how can i restore the db using the backup set?>
    thanks

    You need to startup the database using the snapshot controlfile then connect to the database using RMAN
    rman target /
    Then you can commence an incomplete recovery. Do a 'list backup summary' or even better 'list backup' to check that the backup/s is/are listed in there. One method is to work out what point in time you can restore using 'set until scn|time', the maximum point at your last backup (usually max/last SCN on the last archivelog -1). Remember, because it is an incomplete recovery you need to open database resetlogs and regardless of complete/incomplete recreate TEMP (although this may already get recreated in 10g).
    As recommended see the documentation.

  • Steps to  setup MML on veritas Netbackup to perform rman restore from tape

    RMAN backup is taken to tape...
    can anyone please give the steps to setup the MML on veritas Netbackup ...
    and also the steps to perform rman restore from tape to a new server ....
    Thanks in advance

    can u please answer them ..
    1)how to find out that the which tape is mounted on a backup server ?? command please ....
    2)how to find out that the rman backup was successful on the tape ?
    3)how to find out what are the tapes involved in that backup ?
    4)do u have to the create a auxillary database while restoring from rman by tape to a new server ?
    5)is there a way to findout how many GB completed in x timeframe by RMAN on oracle 11.2.0.2/10g and and oracle 9i during the backup process ??
    and also please answer ...
    #)RMAN backup is taken to tape...
    can anyone please give the steps to setup the MML on veritas Netbackup ...
    and also the steps to perform rman restore from tape to a new server ....
    and
    #)--- can i know the steps for the MML
    CATALOG command to define new locations
    ----May i know the commands

  • Restore spfile from rman backup ---- error.

    Hi,
    I am trying to execute recovery on new machine ...
    I have done the following steps..
    I have one database as ora10g2 as peroduction database on one machine as hosta
    I have created a catalog on another machine cora10g2 (hostb)
    I have taken a full backup from hosta as per following ...
    the following command execute from hosta machine.
    $ rman target sys/<passwd>@ora10g2 catalog rman/rman@cora10g2 ...
    Backup completed ...
    Now I am trying to restore this backup on hostb machine where i have already rman catlog database ..
    I have done the following setting ...on host b
    set oracle_sid=DUP
    and execute following command ...
    rman target / catalog rman/rman@cora10g2
    RMAN> set dbid 2760732370
    executing command: SET DBID
    database name is "BAAN10G2" and DBID is 2760732370
    RMAN>
    RMAN>
    RMAN> startup force nomount ;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/oracle/dbs/baan10g2/dbs/initbaan10g2.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1977112 bytes
    Variable Size 67114216 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6406144 bytes
    RMAN>
    RMAN>
    RMAN>
    RMAN> show all ;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/backup/control/cntrl_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/baanora3/rman/ora10g2/bkup_db_%d_s%s_P%p_t%t' MAXPIECESIZE 1024;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    RMAN>
    RMAN>
    RMAN> list backup of spfile ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2420 Full 7.33M DISK 00:00:01 14-JUN-07
    BP Key: 2426 Status: AVAILABLE Compressed: NO Tag: TAG20070614T182935
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070614-00
    SPFILE Included: Modification time: 14-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2509 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2515 Status: AVAILABLE Compressed: NO Tag: TAG20070615T130416
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-00
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2694 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2739 Status: AVAILABLE Compressed: NO Tag: TAG20070615T131703
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-01
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2760 Full 80.00K DISK 00:00:01 15-JUN-07
    BP Key: 2763 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163437
    Piece Name: /rman/spfile/spfile.ora
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2769 Full 7.33M DISK 00:00:02 15-JUN-07
    BP Key: 2771 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163441
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-02
    SPFILE Included: Modification time: 15-JUN-07
    RMAN>
    RMAN>
    RMAN> restore spfile from autobackup ;
    Starting restore at 19-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=35 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=34 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=33 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20070619
    channel ORA_DISK_1: looking for autobackup on day: 20070618
    channel ORA_DISK_1: looking for autobackup on day: 20070617
    channel ORA_DISK_1: looking for autobackup on day: 20070616
    channel ORA_DISK_1: looking for autobackup on day: 20070615
    channel ORA_DISK_1: looking for autobackup on day: 20070614
    channel ORA_DISK_1: looking for autobackup on day: 20070613
    channel ORA_DISK_1: no autobackup in 7 days found
    channel ORA_DISK_2: looking for autobackup on day: 20070619
    channel ORA_DISK_2: looking for autobackup on day: 20070618
    channel ORA_DISK_2: looking for autobackup on day: 20070617
    channel ORA_DISK_2: looking for autobackup on day: 20070616
    channel ORA_DISK_2: looking for autobackup on day: 20070615
    channel ORA_DISK_2: looking for autobackup on day: 20070614
    channel ORA_DISK_2: looking for autobackup on day: 20070613
    channel ORA_DISK_2: no autobackup in 7 days found
    channel ORA_DISK_3: looking for autobackup on day: 20070619
    channel ORA_DISK_3: looking for autobackup on day: 20070618
    channel ORA_DISK_3: looking for autobackup on day: 20070617
    channel ORA_DISK_3: looking for autobackup on day: 20070616
    channel ORA_DISK_3: looking for autobackup on day: 20070615
    channel ORA_DISK_3: looking for autobackup on day: 20070614
    channel ORA_DISK_3: looking for autobackup on day: 20070613
    channel ORA_DISK_3: no autobackup in 7 days found
    channel ORA_DISK_4: looking for autobackup on day: 20070619
    channel ORA_DISK_4: looking for autobackup on day: 20070618
    channel ORA_DISK_4: looking for autobackup on day: 20070617
    channel ORA_DISK_4: looking for autobackup on day: 20070616
    channel ORA_DISK_4: looking for autobackup on day: 20070615
    channel ORA_DISK_4: looking for autobackup on day: 20070614
    channel ORA_DISK_4: looking for autobackup on day: 20070613
    channel ORA_DISK_4: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/19/2007 18:00:13
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    RMAN>
    I am not able to restore spfile from rman backup ;;;

    Hi,
    I would like to know few things
    1. How are you setting the db_name ? you can set db_id at RMAN, how are you setting the db_name ?
    2. Do you have any default init file at default location ? if yes, is the db_name parameter set correctly in that file ?
    Since spfile is yet to be restored, you must set the db_name parameter correctly before you start spfile restore.This can be done with init file at default location which can even contain just one paremeter i.e db_name.

  • RMAN restore from active database, ASM

    I'm attempting to refresh a stage database from a prod database using RMAN restore from active database. Both are on ASM. After working through various hurdles, I've got one issue I'm a bit stuck on. I've got a handful of data files that do NOT have OMF names (ie MSTRDATA/mstrmdpd/datafile/gsa_indx instead of MSTRDATA/mstrmdpd/datafile/gsa_indx.351.714779777) and these are failing when I do the restore. The syntax I'm using in RMAN is as follows:
    duplicate target database to dwstage
    from active database
    spfile parameter_value_convert 'dwprod','dwstage'
    SET DB_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE'
    SET LOG_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE';
    The error message I'm getting is this:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/21/2011 13:26:24
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    Normally from what I've seen/read this error can be traced back to needing to pre-create the directories for the controlfiles etc, but since 90% of the datafiles copied correctly...
    Any suggestions as to a way around this, or am I going to be forced to restore from a backupset?

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Database restore from old rman backup

    Hi Friends,
    My database version is oracle 10.2.0 O/s : Windows
    I have a production database of an outlet. Yesterday night 11pm they have done some wrong transactions and whole stock is showing wrong.
    They have taken a export backup at 9.30 pm and latest archives are there.
    We have a rman backup on April-30,2008. when I am trying to restore from the old rman backup the controlfile I am unable to do it.
    Can any one of you help me out.
    thankyou
    satya

    Hi,
    I have tried installing in a seperate system and restore the rman backup, as I do not have the controlfile I have taken a standby controlfile and started restoring the rman backup as the old rman backup dbid is different with the current dbid and giving me following error:
    ORA-19870: error reading backup piece D:\MPOUTLET\0AJF4BM3_1_1
    ORA-19691: D:\MPOUTLET\0AJF4BM3_1_1 is from different database: id=1976833331, name=JEEVAMP
    ORA-19870: error reading backup piece D:\MPOUTLET\0BJF4BOE_1_1
    ORA-19691: D:\MPOUTLET\0BJF4BOE_1_1 is from different database: id=1976833331, name=JEEVAMP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of catalog command at 07/13/2008 12:23:23
    RMAN-06209: List of failed objects
    RMAN-06211: ==========================
    RMAN-06212: Object Type Filename/Handle
    RMAN-06213: --------------- ---------------------------------------------------
    RMAN-06214: Backup Piece D:\MPOUTLET\0AJF4BM3_1_1
    RMAN-06214: Backup Piece D:\MPOUTLET\0BJF4BOE_1_1

  • Restoring and Recovering from RMAN cold backup

    DB Version: 11gR2
    os : Solaris
    Before dropping a DB we had taken an RMAN backup of the DB using
    RMAN> backup database;We hadn't set a FORMAT (like db_%d_S_%s_P_%p_T_%t) for this DB , so the backups went to ORACLE_HOME/dbs directory. The 2 backup files are
    /u02/app/oracle/11.2/db/dbs/01mo9fms_1_1
    /u02/app/oracle/11.2/db/dbs/02mo9fnc_1_1  -- spfile and control fileNow we need to recreate this DB on a new server.
    In the new server, we've placed the backup files in /u04/backup/rmanbkp .
    Since We hadn't set a FORMAT parameter for the original DB which we have dropped what format i will give during restore?
    Will RMAN automatically recognize the FORMAT of the backup piece and restore ?
    RMAN> run
    allocate channel c1 device type disk format 'i_dont_know_the_format';
    allocate channel c2 device type disk format 'i_dont_know_the_format';
    restore controlfile;
    restore database;
    }This the SHOW ALL output from the DB we have dropped .
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name BRCFTST are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u02/app/oracle/11.2/db/snapcf_brcftst.f'; # defaultAs you can see we hadn't set the format explicitly , ie. the line
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT is missing

    Hi,
    Before dropping a DB we had taken an RMAN backup.I hope you were in mount mode.
    Will RMAN automatically recognize the FORMAT of the backup piece and restore ?No it won't.
    First you have to restore a controlfile in nomount mode with:
    restore controlfile from '/u04/backup/rmanbkp /02mo9fnc_1_1';
    and do alter database mount.
    Than you have to run "catalog start with '/u04/backup/rmanbkp'; " so the instance now knows where to find the pieces.
    Now you can run a restore database command.
    Than open the database with resetlogs.
    Regards,
    Tycho

  • RMAN Restore on Test DB Fails - ORA-01152:file 1 was not restored from blah

    Calling all RMAN Gurus!
    I'm having trouble recovering an RMAN backup on my test DB server. Please Help!
    Solaris 10/Oracle 10.2.0.4 Standard Edition (Both Servers)
    Part one - Step by Step
    Primary Server
    1. Perform full backup: backup database plus archivelog;
    2. Copy Backupset & Controlfile to test server: "RSYNC/NFS Mount"
    Test Server
    1. rman target /
    2. startup nomount;
    3. restore controlfile blah blah
    4. alter database mount;
    5. catalog backuppiece
    6. restore database; - no issues
    *7. recover database noredo; - no issues*
    *8. alter database open resetlogs;*
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 09/09/2009 08:48:22
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/data/oracle/oradata/planodb/system01.dbf'
    All is good until I try and open the database. What am I missing?? Why doesn't this work???
    Because .... If I go through the exact steps but I perform a "recover database" instead of "recover database noredo", I can open the database!!!
    Example :
    6. restore database; no issues
    7. recover database;
    Starting recover at 09-SEP-09
    using channel ORA_DISK_1
    starting media recovery
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=34
    channel ORA_DISK_1: reading from backup piece /data/oracle/orabase/backup/backup
    set/2009_09_09/o1_mf_annnn_BACKUP_PLANODB_000_0_5bgkffqq_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/data/oracle/orabase/backup/backupset/2009_09_09/o1_mf_annnn_BACKUP
    PLANODB000_0_5bgkffqq_.bkp tag=BACKUP_PLANODB_000_090909010005*
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    archive log filename=/data/oracle/oradata/arch/PLANODB/archivelog/2009_09_09/o1_
    mf_1_34_5bhdkwd4_.arc thread=1 sequence=34
    channel default: deleting archive log(s)
    archive log filename=/data/oracle/oradata/arch/PLANODB/archivelog/2009_09_09/o1_
    mf_1_34_5bhdkwd4_.arc recid=42 stamp=697106925
    unable to find archive log
    archive log thread=1 sequence=35
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/09/2009 08:48:52
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 35 lowscn 1425007
    This is ok because seq 35 doesn't actually exist!
    8. alter database open resetlogs;
    database opened!

    You could also explore the UNTIL clause of the RECOVER DATABASE command to specify Recovery until a specific Log, SCN or Timestamp.
    Since you are cloning a Hot Backup to another server the Recovery has to be an Incomplete Recovery. So, it will be to a Log, SCN or Timestamp -- either of which you could also explicitly specify with the UNTIL clause.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • RMAN Restore From External System

    I have been asked to restore a database from a different company onto our system.
    I was given a CD with the RMAN backup that they took. It's the same Oracle 9i database and we are both on Windows 2003.
    I've never done a restore this way before. I would like to overlay an existing database instance that we have so as not to create yet another instance on this box.
    The file structure is different from the two boxes, so that is somewhat of a concerns....
    Here are my thoughts of how to proceed. Copy RMAN backup files into c:\rman\rmanfull directory. This is where they were on their machine.
    Restore control file from backup piece. But not sure if I should restore to where existing control files are to database to be overlain or different location.
    Set DBID to RMAN backup database.
    Recovery control file from RMAN backup
    set newname for all datafiles to where they should be for new database
    Recover database.
    There should be some documentation on how to do this....I can't believe this is that uncommon. If someone wants to give you their database from the outside world, there must be a way to install it onto your system.
    Anyway, that's my idea of how to do it.....Can anyone verify or assist??
    Thanks

    I think this is the scenario 'Restore and recover a database to a new host'.
    Step-by-step description is here:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov002.htm#sthref723
    Werner

  • Restoring controlfile from rman

    Hi
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    on OEL4
    I have lost all the control files (infact deleted knowingly to simulate ). i have a full database backup in recovery catalog. I do not know the dbid of database.
    I am not able to connect to target database from rman it shows.
    RMAN> connect target sys/prod@PROD
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-12528: TNS:listener: all appropriate instances are blocking new connectionsIs there anyway i can restore controlfiles from rman ? or i need to create controlfiles manually.
    Thanks
    Edited by: user8896122 on Jan 3, 2010 6:03 AM

    You can try on the machine hosting the database:
    C:\Users\Pierre>rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 3 15:29:02 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount
    Oracle instance started
    Total System Global Area     805306368 bytes
    Fixed Size                     1289996 bytes
    Variable Size                213909748 bytes
    Database Buffers             587202560 bytes
    Redo Buffers                   2904064 bytes
    RMAN>and then you can try to connect to recovery catalog.

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

  • How to restore specific backup file from RMAN?

    Hi,
    I am just begginer with Oracle DB so I do not have a lot knowledge.
    I created two backups at April the 8th and April the 10th.
    I did following from RMAN.
    shutdown immediate
    startup mount
    configure channel 1 device type disk format '/opt/oracle/backup/std_%U';
    backup database
    startup
    output was:
    including current control file in backupset
    including current SPFILE in backupset
    it created two files: std-0so6l0vn(2 GB) and std_0to6l106 (7 MB).
    First question - first file is backup and what is the second file???
    Today I created also backup and it also created two files: std_0uo6morg (2GB) and std_0vo6morv (7MB)
    Now I want to return backup from 2 days ago (*std-0so6l0vn*) but can't;
    I do the the following:
    shutdown immediate
    startup mount
    restore database from '/opt/oracle/backup/std_0so6l0vn'
    but getting error - only SPFILE or control file can be restored from autobackup.
    How to restore my backup from two days ago? It looks to me so complicated and hardly understandable.
    What command to execute from RMAN to succeed in restore?
    Thank you

    I still can not restore database; I tried Honza method.
    i try
    startup nomount
    restore controlfile from 'restore controlfile from /opt/oracle/backup/sss_11o7efd9_1_1';
    And getting message:
    no autobackup found or specified handle is not a valid copy or piece
    list backup returns:
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    19 Full 6.80M DISK 00:00:01 19-APR-13
    BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20130419T025522
    Piece Name: /opt/oracle/backup/sss_11o7efd9_1_1
    Control File Included: Ckp SCN: 3178467 Ckp time: 19-APR-13
    SPFILE Included: Modification time: 02-APR-13
    show all returns:
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    configuration for DISK channel 2 is ignored
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/dbs/snapcf_ctginst1.f'; # default
    Please help I really must restore database but can't do it.

Maybe you are looking for

  • How can i change my credit card information in itunes?

    My credit card has expired and when I tried to enter a new one in my Itunes account it won't allow me! I've also tried to select Paypal and even though it says in Paypal that Ive created the account with Itunes... it doesn't seem to work in Itunes. C

  • How Receiving Incoming Email works?

    Hi I would like to know how receiving incoming email works?  SharePoint supports incoming emails for library/calendar list/discussion board/announcements list   I did whole setup to receive incoming emails but what i am not still clear is , do I need

  • Adding fields in pa30 for IT 170

    hi i have added some custom  fields for infotype 170 in se11.now i want to see those fields in pa30 for that infotype 170(when i use it for a pernr in the display screen). how can i do that. any help in this regard wud be appreciated. thanks

  • Form: Expand/Contract Sections - My AS3 Code is running wild.. need advice

    This question is related to: CS5 FLASH + AS3 Hello,  I am simply trying to mimic the collapse/expand functionality in the following link: http://static.geewax.org/checktree/index.html The form itself does not need to be functional.  This is my first

  • Adding printer to address bar

    How does one add a printer icon to the address bar like the home icon, refresh, etc?