Restore / Recover / Overall nice treatment of UNDO

Hi,
I'm updating our 'Backup and Recovery Bible' which was written when UNDO was but a twinkle in the eye of Oracle Developers. I'm a bit unsure of how recovery should be done in the event that the UNDO tablespace or any of its datafiles dies.
I do know that I can create another UNDO tablespace if for example we lose one of the datafiles that isn't being used at the time of the failure. But could someone point me to a good link or comment on what should be done if we have a problem with UNDO in terms of restore / recover / RMAN usage etc.
We're using both 9i and 10g on Solaris. For the moment no interface to a media manager.
Cheers.

Confusion sets in.
I don't understand why (after renaming an undo datafile to OFF_undo) I'm not getting anything in the v$recover_file view.
undo datafile name changed
SQL> create table lambda (col1 varchar2(10)) tablespace users;
create table lambda (col1 varchar2(10)) tablespace users
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01116: error in opening database file 2
ORA-01110: data file 2: '/database/data01/z111ot11/undo_01.dbf'
ORA-27041: unable to open file
SVR4 Error: 2: No such file or directory
Additional information: 3
SQL> SELECT FILE#, ERROR, ONLINE_STATUS, CHANGE#, TIME
FROM V$RECOVER_FILE; 2
no rows selected
SQL> COL DF# FORMAT 999
SQL> COL DF_NAME FORMAT A35
SQL> COL TBSP_NAME FORMAT A7
SQL> COL STATUS FORMAT A7
SQL> COL ERROR FORMAT A10
SQL> COL CHANGE# FORMAT 99999999
SQL> SELECT r.FILE# AS df#, d.NAME AS df_name, t.NAME AS tbsp_name,
2 d.STATUS, r.ERROR, r.CHANGE#, r.TIME
3 FROM V$RECOVER_FILE r, V$DATAFILE d, V$TABLESPACE t
4 WHERE t.TS# = d.TS#
5 AND d.FILE# = r.FILE#
6 ;
no rows selected
Nothing in the alert.log either. If the UNDO is that important - why isn't the database screaming at me?

Similar Messages

  • Backing up and Restoring/Recovering an Oracle 9i Database

    I am fairly new at this and have been tasked with managing off site backups for customer data on a 9i database.
    I am carrying out a user managed backup of the following data files to the offsite data centre.
    User File
    USERS01.DBF
    Control File
    CONTROL01.CTL
    Redo Log Files
    REDO01.LOG
    REDO02.LOG
    REDO03.LOG
    Index File
    INDX01.DBF
    SPFile
    SPFILEBCS.ORA
    To test the success of the back up I have created a fresh install of 9i on a new machine with the file structure replicating that of the original.
    My questions are;
    1) Are these all the files required to be backed up in order to carry out a restore?
    2) What are the steps that I need to carry out to restore/recover the database using the above files?
    Any help or ‘user friendly’ resources for beginners would be greatly appreciated
    Regards
    Toby

    1. If you are performing a cold backup you must backup all files listed by this query:
    SELECT NAME FROM V$CONTROLFILE
    UNION
    SELECT NAME FROM V$DATAFILE
    UNION
    SELECT MEMBER FROM V$LOGFILE2. In order for you to restore, you perform a software-only install on the backup host.
    3. Configure connectivity (listener.ora, sqlnet.ora, tnsnames.ora)
    4. Create the service at the remote host using the oradim command.
    5. Restore the above mentioned database file set to the same path they have in the source host.
    6. Copy spfileINSTANCE_NAME.ora file to the backup host.
    7. Start services
    8. Start your database instance
    9. Add temporary datafiles to your restored database:
    ALTER TABLESPACE tempTS ADD TEMPFILE 'path/name';
    10. Test it.

  • HELP! How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?

    Hi,
    I am having a few problems with bootcamp on my imac. When i tried to move the bootcamp partition on windows 7 into free space, it crashed and turned off. Ever since i have had the error 'Missing operating system' and it fails to boot. I have some very important files on the bootcamp partition. Is it possible to recover these files or even to restore the bootcamp partition to it's original state? I do not have a backup of my bootcamp partition. Another problem i have is that ever since i tried to expand my macintosh HD partition into free space, when i hold alt while booting up (to choose which partition to boot like i normally do), the bootcamp partition has stopped appearing. This means that i cannot even boot the windows 7 bootcamp partition anymore!
    So basically here are my 2 questions:
    How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?
    How can i make the Bootcamp partition appear in Startup Disk and when i hold the option key while starting up my computer to allow me to boot windows 7?
    Any solutions are very much apreciated!
    Thanks!
    I know that bootcamp (disk0s4) hasn't been fully deleted since it appears in disk utility (i cant do anything to it though)
    And here is the error i see when i try to launch bootcamp (back when i was actually able to boot up bootcamp to the error screen)

    WinClone 3 is OS X and saves Windows image it makes for restore - that should work but you will have to try and you would need to make a new image unless it also works with a native Windows system restore image. It is now supported and has come a long way.
    http://www.twocanoes.com/
    Paragon Clone OS works and does disk-to-disk clone just like CCC you end up with two bootable drives. But does not work with your setup. It would let you clone and move your Windows install to an SSD or another disk drive though and be bootable.
    During its clone process it checks for errors which is very helpful and lets you know - something CCC and others should adopt more of.
    http://www.paragon-software.com/downloads/demo.html
    I wish for our/my sake you had re-read and rewritten the long 'story' and broken it into a brief list of facts we needed.
    OS X
    Windows
    Backup (though external is much safer) and you want bootable OS X clones as well as TimeMachine
    https://support.apple.com/kb/HT1427
    https://support.apple.com/kb/HT1553
    There are a number of things to do like chkdsk and others as well as Windows DVD to do automatic system repairs and find out why.
    AppleHFS - the abilty to mount and read HFS volumes can be notorious.
    I would rearrange and redo your storage setup and how you use the 4-5 internal hard drive bays.

  • Restore/recover from cold user-managed backup.

    i shutdown db,(db is in no-archivelog mode), copy the dir having *.ctl, *.log & *.dbf files, what would be steps to recover in case,
    my idea is restore all files in original dir and alter database open resetlogs should do the work,
    if that did'n work then mount db and try
    recover database using backup controlfile until cancel;
    and give path one of online logfile and hit enter; & open db with resetlogs.make me right, if i am not......or any quick way to restore/recover tip?

    DBA2008 wrote:
    i shutdown db,(db is in no-archivelog mode), copy the dir having *.ctl, *.log & *.dbf files, what would be steps to recover in case,
    my idea is restore all files in original dir and alter database open resetlogs should do the work,
    if that did'n work then mount db and try
    recover database using backup controlfile until cancel;
    and give path one of online logfile and hit enter; & open db with resetlogs.make me right, if i am not......or any quick way to restore/recover tip?Why resetlogs ? All what you need is a pfile, if its not there already and start the db. That's all!
    Aman....

  • Backup & restore/recover Oracle BASE

    Before apply upgrade patchset & CUPs i want to take backup of Oracle BASE, any body can send me command/method to do that , and for restore/recover steps also....OS is Solaris8 .....920x are DBs

    Is this right?No
    cd /product/DBHome
    tar cf - * | gzip > /product/archive/DBHome.tar.gzgtar -zcvf /product/archive/DBHome.tar.gz *
    >
    to restore
    Next, delete the Oracle Home:
    cd /product
    rm -rf /product/DBHome
    Restore the backuped Oracle HOME
    mkdir -p /product/DBHome
    gunzip < c| tar xf -gtar -zxvf /product/archive/DBHome.tar.gz

  • I have just overwritten important data, i.e. the names of those who completed the forms.  I need to restore but wasn't able to 'undo'. Please help

    I have just overwritten important data, i.e. the names of those who completed the forms.  I need to restore but wasn't able to 'undo'. Please help

    Hi,
    Unfortunately, it is not possible to retrieve the deleted data. If you have made the changes to the response and closed the response window; new data must have been saved automatically. In future, if you accidentally overwrite any data; please press ctrl+z to undo the change.
    Regards,
    Nakul

  • Computer crashed; new C drive. How do I restore/recover my bookmarks on Sync? Would rather not start from square one.

    Computer crashed; new C drive installed. How do I restore/recover my bookmarks on Sync? Would rather not start from square one.

    Without the Sync Key, even if you could connect and download your data from the Sync server it would be useless without your Sync Key. The Sync Key is used to encrypt & decrypt the data going to & coming from the Sync server.

  • RAC RMAN Restore/Recover

    Hi folks,
    I have some doubts about the PATH to disaster recovey with RAC and RMAN.
    In this case I have just the RAC without data guard/streams, just only a single rac with two nodes.
    The hypothetical scenario is:
    One database using ASM (database name orcl) , two inatances in two separated servers (nodes serv1 and serv2) and two instances ( orcl1 and orcl1).
    In this scenary I lost everything, and just keep the backups of: spfile, controlfile, database and archives.
    So the steps to recovery is (using serv1):
    1- Create the cluster (install clusteware, create CRS/Vdisk, create ASM instance)
    2 - Just install the oracle files in all nodes serv1 and serv2, but don't create the instance orcl1 and orcl2.
    3 - restore/recover spfile - rman
    4 - restore/recover controlfile - rman
    5 - restore/recover database with until clause - rman
    After these steps the instance orcl1 will be restored by RMAN in the serv1 and the database orcl was created in the ASM.
    But, please correct if I'm wrong, the instance and database will not be registered in CRS (RMAN not register the instance).
    So I need to registry the instance and database with srvctl, doing:
    1 - create PFILE in serv1 for orcl1 (that point to SPFILE in ASM) and ORAPWD file.
    2 - add the database orcl to CRS
    3 - add the instance orcl1 to CRS
    4 - add the dependency about ASM and orcl1 from the node serv1 (using srvclt)
    But after this I have the instance orcl2 in serv2 to create.
    Just the instance, because the binaries already installed and the database was already created.
    To complete I need to do the steps:
    1 - Copy/Create PFILE for instance orcl2 in serv2
    2 - add the instance orcl2 to CRS (using srvctl add instance)
    3 - add the dependency about ASM instance (that exists in server2) and Instance orcl2 from the node serv2 (using srvctl)
    4 - create PFILE and ORAPWD file.
    The question is, RMAN will registry the instancie and database in CRS?
    Another question, the RMAN will create PFILE and registry all instances of the original cluster?
    I believe that not for two questions, correct?
    Exists another path to restore/recover the RAC in this scenary?
    The version in this case is 10Gr2 and 11Gr2.
    Thanks.

    >
    The hypothetical scenario is:
    One database using ASM (database name orcl) , two inatances in two separated servers (nodes serv1 and serv2) and two instances ( orcl1 and orcl1).
    In this scenary I lost everything, and just keep the backups of: spfile, controlfile, database and archives.
    So the steps to recovery is (using serv1):
    1- Create the cluster (install clusteware, create CRS/Vdisk, create ASM instance)
    2 - Just install the oracle files in all nodes serv1 and serv2, but don't create the instance orcl1 and orcl2.
    3 - restore/recover spfile - rman
    4 - restore/recover controlfile - rman
    5 - restore/recover database with until clause - rman
    After these steps the instance orcl1 will be restored by RMAN in the serv1 and the database orcl was created in the ASM.
    But, please correct if I'm wrong, the instance and database will not be registered in CRS (RMAN not register the instance).
    So I need to registry the instance and database with srvctl, doing:
    1 - create PFILE in serv1 for orcl1 (that point to SPFILE in ASM) and ORAPWD file.
    2 - add the database orcl to CRS
    3 - add the instance orcl1 to CRS
    4 - add the dependency about ASM and orcl1 from the node serv1 (using srvclt)
    But after this I have the instance orcl2 in serv2 to create.
    Just the instance, because the binaries already installed and the database was already created.
    To complete I need to do the steps:
    1 - Copy/Create PFILE for instance orcl2 in serv2
    2 - add the instance orcl2 to CRS (using srvctl add instance)
    3 - add the dependency about ASM instance (that exists in server2) and Instance orcl2 from the node serv2 (using srvctl)
    4 - create PFILE and ORAPWD file.
    The question is, RMAN will registry the instancie and database in CRS?NO.. You will need the SRVCTL for registry services.
    Another question, the RMAN will create PFILE and registry all instances of the original cluster?No... RMAN perform restore SPFILE only.
    I believe that not for two questions, correct?
    Correct.
    Exists another path to restore/recover the RAC in this scenary?
    The version in this case is 10Gr2 and 11Gr2.You can skip a few steps above by doing this:
    After installing Oracle Clusterware / RAC
    You will configure the network via NETCA.
    You will create and configure ASM with DBCA.
    To skip all the setup steps the Database (orcl) in Oracle Clusterware, you will create a database via DBCA with the same DB_NAME (orcl) of the database that will be restored.
    The DBCA will configure the database with all the dependent services of the Clusterware including TNSNAMES.
    Finished creating the database, all services should be configured, you will connect to ASM via asmcmd and drop (spfile, controlfile and datafiles), now just perform the restore (SPFILE,CONTROLFILE and DATAFILES) via rman.

  • RAC Restore/Recover

    Hi folks,
    I have some doubt about the PATH to disaster recovey with RAC and RMAN.
    In this case I have just the RAC without data guard/streams, just only a single rac with two nodes.
    The hypothetical scenario is:
    One database using ASM (database name orcl) , two inatances in two separated servers (nodes serv1 and serv2) and two instances ( orcl1 and orcl1).
    In this scenary I lost everything, and just keep the backups of: spfile, controlfile, database and archives.
    So the steps to recovery is (using serv1):
    1- Create the cluster (install clusteware, create CRS/Vdisk, create ASM instance)
    2 - Just install the oracle files in all nodes serv1 and serv2, but don't create the instance orcl1 and orcl2.
    3 - restore/recover spfile - rman
    4 - restore/recover controlfile - rman
    5 - restore/recover database with until clause - rman
    After these steps the instance orcl1 will be restored by RMAN in the serv1 and the database orcl was created in the ASM.
    But, please correct if I'm wrong, the instance and database will not be registered in CRS (RMAN not register the instance).
    So I need to registry the instance and database with srvctl, doing:
    1 - create PFILE in serv1 for orcl1 (that point to SPFILE in ASM) and ORAPWD file.
    2 - add the database orcl to CRS
    3 - add the instance orcl1 to CRS
    4 - add the dependency about ASM and orcl1 from the node serv1 (using srvclt)
    But after this I have the instance orcl2 in serv2 to create.
    Just the instance, because the binaries already installed and the database was already created.
    To complete I need to do the steps:
    1 - Copy/Create PFILE for instance orcl2 in serv2
    2 - add the instance orcl2 to CRS (using srvctl add instance)
    3 - add the dependency about ASM instance (that exists in server2) and Instance orcl2 from the node serv2 (using srvctl)
    4 - create PFILE and ORAPWD file.
    The question is, RMAN will registry the instancie and database in CRS?
    Another question, the RMAN will create PFILE and registry all instances of the original cluster?
    I believe that not for two questions, correct?
    Exists another path to restore/recover the RAC in this scenary?
    The version in this case is 10Gr2 and 11Gr2.
    Thanks.

    Folks,
    Moved to RAC forum thread.

  • RMAN Restore/Recover

    Is it possible to restore an RMAN full database backup to a different machine/db?
    I have a Prod DB (800gb) running 10.2.0.4 and am initiating RMAN backup strategy. I am performing full backups to tape and need to prove that the backups are viable for restoration. The problem that I have is that I cannot do any testing on the Prod db. My original plan was to create a new tablespace and datafile - get the rman backup, delete the datafile, and restore from the backup. I am not allowed to do this simple test so it was susggested that we use RMAN to recover from the Prod backup set to a different database on another server. Is this even possible? I have proved functionaly that RMAN can restore in a test environment but management wants to prove we can restore/recover production data wo affecting the primary production db.
    Thanks!!!!

    Hi.
    if you have metalink access take a look to Doc.
    388431.1 ( Creating Duplicate Database on a New Host. ) | RMAN
    *T                                                                                                                                                                                                                                               

  • Why cant i restore/recover...

    Hello all, i am trying a recovery to do point in time...but i keep getting errors...y so any ideas ??? i do a backup of my database and its says cant find backup or copy of datafiles...here is what i am doing...am i doing anything wrong ?? and the database is in mount stage..before i used the RUN block...please advice....and also looks like i do have everything...all the files are good...need to reover untill that time...i even tried just recovery....
    RMAN> run {
    2> set until time "to_date('12/26/2008 18:00:00','mm/dd/yyyy hh24:mi:ss')";
    3> restore database;
    4> recover database;
    5> alter database open resetlogs;
    6> }
    executing command: SET until clause
    Starting restore at 27-DEC-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/27/2008 15:59:39
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u99/backup/rman/control_n_spfile_%F';
    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 DEVICE TYPE DISK FORMAT '/u99/backup/rman/%U' MAXPIECESIZE 100 M;
    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 '/u01/app/oracle/product/10.2.0/db_1/dbs/snapcf_rman.f'; # default
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Size Device Type Elapsed Time Completion Time
    26 319.43M DISK 00:00:31 26-DEC-08
    List of Archived Logs in backup set 26
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 25 459007 13-DEC-08 461330 13-DEC-08
    1 26 461330 13-DEC-08 461332 13-DEC-08
    1 27 461332 13-DEC-08 461335 13-DEC-08
    1 28 461335 13-DEC-08 463761 13-DEC-08
    1 29 463761 13-DEC-08 522401 15-DEC-08
    1 30 522401 15-DEC-08 592266 16-DEC-08
    1 31 592266 16-DEC-08 634021 17-DEC-08
    1 32 634021 17-DEC-08 696997 19-DEC-08
    1 33 696997 19-DEC-08 747307 20-DEC-08
    1 34 747307 20-DEC-08 818489 22-DEC-08
    1 35 818489 22-DEC-08 876594 26-DEC-08
    1 36 876594 26-DEC-08 876882 26-DEC-08
    Backup Set Copy #1 of backup set 26
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:00:31 26-DEC-08 NO TAG20081226T213446
    List of Backup Pieces for backup set 26 Copy #1
    BP Key Pc# Status Piece Name
    49 1 AVAILABLE /u99/backup/rman/0qk38j3m_1_1
    50 2 AVAILABLE /u99/backup/rman/0qk38j3m_2_1
    51 3 AVAILABLE /u99/backup/rman/0qk38j3m_3_1
    52 4 AVAILABLE /u99/backup/rman/0qk38j3m_4_1
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    27 Full 584.45M DISK 00:01:42 26-DEC-08
    List of Datafiles in backup set 27
    File LV Type Ckp SCN Ckp Time Name
    1 Full 876896 26-DEC-08 /u14/oradata/rman/system01.dbf
    2 Full 876896 26-DEC-08 /u14/oradata/rman/undotbs01.dbf
    3 Full 876896 26-DEC-08 /u14/oradata/rman/sysaux01.dbf
    4 Full 876896 26-DEC-08 /u14/oradata/rman/users01.dbf
    5 Full 456248 13-DEC-08 /u14/oradata/rman/test01.dbf
    6 Full 876896 26-DEC-08 /u14/oradata/tspir01.dbf
    Backup Set Copy #1 of backup set 27
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 00:01:42 26-DEC-08 NO TAG20081226T213518
    List of Backup Pieces for backup set 27 Copy #1
    BP Key Pc# Status Piece Name
    53 1 AVAILABLE /u99/backup/rman/0rk38j4m_1_1
    54 2 AVAILABLE /u99/backup/rman/0rk38j4m_2_1
    55 3 AVAILABLE /u99/backup/rman/0rk38j4m_3_1
    56 4 AVAILABLE /u99/backup/rman/0rk38j4m_4_1
    57 5 AVAILABLE /u99/backup/rman/0rk38j4m_5_1
    58 6 AVAILABLE /u99/backup/rman/0rk38j4m_6_1
    BS Key Size Device Type Elapsed Time Completion Time
    28 3.50K DISK 00:00:01 26-DEC-08
    BP Key: 59 Status: AVAILABLE Compressed: NO Tag: TAG20081226T213703
    Piece Name: /u99/backup/rman/0sk38j7v_1_1
    List of Archived Logs in backup set 28
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 37 876882 26-DEC-08 876934 26-DEC-08
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    29 Full 7.08M DISK 00:00:01 26-DEC-08
    BP Key: 60 Status: AVAILABLE Compressed: NO Tag: TAG20081226T213705
    Piece Name: /u99/backup/rman/control_n_spfile_c-1559788775-20081226-00
    Control File Included: Ckp SCN: 876940 Ckp time: 26-DEC-08
    SPFILE Included: Modification time: 26-DEC-08
    RMAN>
    NOW I TREID JUST RECOVERY ONLY...AS ALL DATAFILES EXISTS
    RMAN> run
    2> {
    3> set until time "to_date('12/26/2008 18:00:00','mm/dd/yyyy hh24:mi:ss')";
    4> recover database;
    5> alter database open resetlogs;
    6> }
    executing command: SET until clause
    Starting recover at 27-DEC-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/27/2008 16:04:36
    RMAN-06555: datafile 1 must be restored from backup created before 26-DEC-08
    RMAN>

    so wat time can i go upto ??? looking at my situation ?? i tried upto 2200 hours...its erroring out as well
    RMAN> run
    2> {
    3> set until time "to_date('12/26/2008 22:00:00','mm/dd/yyyy hh24:mi:ss')";
    4> restore database;
    5> recover database;
    6> alter database open resetlogs;
    7> }
    executing command: SET until clause
    Starting restore at 27-DEC-08
    using channel ORA_DISK_1
    skipping datafile 1; already restored to file /u14/oradata/rman/system01.dbf
    skipping datafile 2; already restored to file /u14/oradata/rman/undotbs01.dbf
    skipping datafile 3; already restored to file /u14/oradata/rman/sysaux01.dbf
    skipping datafile 4; already restored to file /u14/oradata/rman/users01.dbf
    skipping datafile 5; already restored to file /u14/oradata/rman/test01.dbf
    skipping datafile 6; already restored to file /u14/oradata/tspir01.dbf
    restore not done; all files readonly, offline, or already restored
    Finished restore at 27-DEC-08
    Starting recover at 27-DEC-08
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 38 is already on disk as file /u05/arch/rman/1_38_673361642.dbf
    Oracle Error:
    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: '/u14/oradata/rman/system01.dbf'
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/27/2008 16:31:22
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 24 lowscn 458919 found to restore
    RMAN-06025: no backup of log thread 1 seq 23 lowscn 458098 found to restore
    RMAN-06025: no backup of log thread 1 seq 22 lowscn 458054 found to restore
    RMAN-06025: no backup of log thread 1 seq 21 lowscn 456346 found to restore
    RMAN-06025: no backup of log thread 1 seq 20 lowscn 456248 found to restore
    RMAN>

  • Restore/recover after failover to a Logical Standby database

    I have a question about how to recover or restore back to my original environment after I failover to my Logical Standby database.
    My setup is as follows: Oracle version 11.2.0.3, Non-RAC.
    1. A Primary database at one location.
    2. A Physical Standby database at a second location.
    3. A Logical Standby database at a third location.
    All three databases have Flashback Database on
    All three databases are configured thru the Data Guard Broker.
    All three databases has a Fast Recovery Area.
    Suppose I loose my primary database (1) and my Physical Standby database (3) so I Failover to my only remaining database, the Logical Standby database (2).
    What type of Databases are let after the this failover?
    What are my recover/restore/Instantiate options?
    The Data Guard Concepts book on 13.2.2 says how to bring the old Primary in to the Data Guard Configuration as a new Logical Standby database.
    How do I get back to the original configuration above, a primary, a Physical, and a Logical Standby without having to re-create some databases?
    Will Flashback database thru the Broker or Cloud Control/Grid Control rewind my databases?

    Suppose I loose my primary database (1) and my Physical Standby database (3) so I Failover to my only remaining database, the Logical Standby database (2).
    What type of Databases are let after the this failover?
    What are my recover/restore/Instantiate options? Then forget about your current primary database, its out of network.
    AFAIK
    Now you will have only Physical standby & logical standby. Now you will perform failover only current standby to primary database.
    So now you will have only one primary database with new incarnation, so you have to recreate a new standby database again.
    The Data Guard Concepts book on 13.2.2 says how to bring the old Primary in to the Data Guard Configuration as a new Logical Standby database.
    How do I get back to the original configuration above, a primary, a Physical, and a Logical Standby without having to re-create some databases?
    Will Flashback database thru the Broker or Cloud Control/Grid Control rewind my databases?Check this. But not much aware of Clound control and all. Sorry for that. ;-) I'm sure Uwe/Mseberg can answer this ;-)
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_49.shtml#Flashing%20Back%20a%20Failed%20Primary%20Database%20into%20a%20Logical%20Standby%20Database

  • RMAN - Incremental backup / NOARCHIVELOG / Restore & Recover Until Cancel

    I'm testing out a weekly plan as follows:
    Sun : Shutdown db, RMAN level 0 Incremental Backup
    Mon-Sat: Shutdown db, RMAN level 1 Incremental Backup.
    The database is NOARCHIVELOG mode and is 10.2 XE.
    I then run a restore (which I understand to be to move the datafiles from the backup set to their online location). My next aim is to do a recover.
    I'm really confused at this point. Say I take the backup the night before (either a level 0 or 1, I'm assuming that this makes no difference) then in the morning I drop a table accidentally. Okay - I want to go back to the position after the backup. When I do recover, I understand that Oracle applies redo logs written since the backup.
    So I don't want a recover, I want a recover until cancel. When I issue this command it is suggesting that I use an archive log file. Well obviously I don't have any of those so I press cancel thinking that this will bring me back to the point EXACTLY AFTER THE NIGHTLY BACKUP and with my table back. But it doesn't!
    I would be really grateful if anyone has a definitive answer to this - what are the steps to recover a database to the point after the backup was taken ignoring any changes since the backup.
    Thanks all.
    Tom.

    Hi Werner
    Do you mean if the online logs are available with the changes after the last backup until the database restore then there is a possibility to apply changes? Ie at this point I could put in the redo log names instead of the archive log names.
    If they have been overwritten since the backup (ie cycled round completely) then is the behaviour to restore the database and then not apply any logs?
    Do you know if this is documented anywhere? There seems to be an emphasis on ARCHIVELOG mode only, especially in the books I have seen.
    Thanks,
    Tom

  • Restore & Recover SYSAUX datafile while DB up

    Hi,
    Due to data block corruption of SYSAUX, need to keep it offline then recover and make it online.
    sql 'alter database datafile 2 offline';
    restore datafile 2;
    recover datafile 2;
    sql 'alter database datafile 2 online';
    Is it possible to do this operation while Database is up? or we need to keep it down?
    BANNER
    Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    Thanks
    Edited by: Nadvi on Jun 10, 2010 10:02 PM
    Edited by: Nadvi on Jun 10, 2010 10:28 PM

    Nadvi wrote:
    Hi,
    Due to data block corruption of SYSAUX, need to keep it offline then recover and make it online.
    sql 'alter database datafile 2 offline';
    restore datafile 2;
    recover datafile 2;
    sql 'alter database datafile 2 online';
    Is it possible to do this operation while Database is up? or we need to keep it down?
    BANNER
    Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    ThanksDear Nadvi
    Why you don't perform Block Media Recovery on the corrupted data blocks using RMAN?
    In the following example I show how you can recover corrupted data block in the SYSAUX tablespace. However, as you use Oracle 11g, you will use the following syntax:
    RECOVER DATAFILE datafile_no BLOCK block)no Here's the example:
    SQL> create user test identified by test;
    User created.
    SQL> grant dba to test;
    Grant succeeded.
    SQL> conn test/test
    Connected.
    SQL> create table tbl_test (name varchar2(10)) tablespace sysaux;
    Table created.
    SQL> insert into tbl_test values('test');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> SELECT header_block FROM dba_segments WHERE segment_name='TBL_TEST';
    HEADER_BLOCK
            2939
    SQL> select tablespace_name from dba_segments where segment_name='TBL_TEST';
    TABLESPACE_NAME
    SYSAUX
    RMAN> backup database plus archivelog delete input;
    [oracle@localhost ~]$ dd of=/u01/oracle/product/10.2.0/db_1/oradata/db1/sysaux01.dbf bs=8192 conv=notrunc seek=2939 <<EOF
    corruption
    EOF0+1 records in
    0+1 records out
    11 bytes (11 B) copied, 0.0182719 seconds, 0.6 kB/s
    SQL> alter system flush buffer_cache;
    System altered.
    SQL> conn test/test
    Connected.
    SQL> select * from tbl_test;
    select * from tbl_test
    ERROR at line 1:
    ORA-01578: ORACLE data block corrupted (file # 3, block # 2939)
    ORA-01110: data file 3:
    '/u01/oracle/product/10.2.0/db_1/oradata/db1/sysaux01.dbf'
    RMAN> blockrecover datafile 3 block 2939;
    starting media recovery
    media recovery complete, elapsed time: 00:00:07
    Finished blockrecover at 10-JUN-10
    RMAN> exit
    SQL> conn test/test
    Connected.
    SQL> select * from tbl_test;
    NAME
    testFor more information on Block Media Recovery, you can watch my Video Tutorial
    http://kamranagayev.wordpress.com/2010/03/18/rman-video-tutorial-series-performing-block-media-recovery-with-rman/

  • Restore/Recover Error mit Netbackup PIPE

    Hallo,
    ich habe Probleme wenn ich eine Sicherung, die über 2 PIPES gesichert wurde, zurück spielen möchte.Beim recovern werde die 1sten beiden PIPES angelegt, in der definierten Größe auch gefüllt und dann anschließend bricht die Aktion mit der folgenden Meldung ab:
    -24920 backup operation was unsuccessful (db_activate RECOVER "SAPBackupDBpar" DATA EBID "SID VXFxxxxxxx /sapdb/SID/sapbackup/SID1.1,SID VXFxxxxxxx /sapdb/SID/sapbackup/SID1.2") The backup tool failed with 2 as sum of exit codes database request was cancled and ended with error -917.
    Wer kann mir da weiterhelfen??
    Systemgröße 60 GB
    PIPE Größe jeweils 5 GB
    DB Version 7.7.07.32
    Backup Software. Veritas Netbackup 7.01
    Gruß
    Matthias

    Hello Matthias,
    1. Database error:
                                    -917: Save/restore write process crash - I/O error
    Explanation
    An I/O error occurred while attempting to write to a volume for a restore statement.
    => The restore statement was cancelled.
    User Response
    The error message contains an additional error description which must be interpreted according to the operating system being used.To find out and remove the error cause, consult the documentation on the operating system.
    A. If you are SAP customer & could not solve the issue by yourself => create SAP message
    B. Please post more information:
          First post dbm.ebp file located in the database RUNDIRECTORY.
    2. Please post your messages in English.
    Regards, Natalia Khlopina

Maybe you are looking for

  • Screen splitting error and red boot screen

    Hi, I was using my macbook pro just now and the screen started to glitch and show black vertical bars and the displayed image was split up. I tried to see if there's an unresponsive program that i can force quit then the screen just turned grey and w

  • How can I dissasociate my icloud account from a broken iPhone?

    My iPhine 5c is broken and will not switch in at all. It is to be repaired but the insurer says the iCloud account must be dissasociated from this phone first. How can I do this whilst not being able to access the phone?

  • How can I demonstrate my App to someone not at my location?

    How can I demonstrate my App to someone not at my location?  I'm trying to show how an App works to an audience that is in a different city.  I have an iPad 3.  At work, we use Live Meeting for shareing content, but I don't know how to show an App. 

  • New Rebate procedure set up steps

    Dear All,     I am working on setting up of new rebate procedure. 1. I have done the info structure S136 setting to update synchronously in OMO1 transaction. Now I am trying to populate the old billing documents in the info structure S136 using trans

  • Deploying Forms with Forms6i/Oracle Internet Application Server 8i - need help!

    Hi Gurus! I am trying to setup the Oracle Internet Application Server 8i (Release 1.0)and deploy the forms to the web. The server is on Solaris. I have installed and configured the application server. I used the 'runform.htm'and 'test.fmx' to test th