Recover spfile using autobackup

Is there a way to make this command:
restore spfile to pfile '/tmp/pfile' from autobackup;
Use only disk. When I run the command it searches all
the disk and then the tape.
RMAN> restore spfile to pfile '/tmp/pfile' from autobackup;
Starting restore at 03-MAR-05
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=18 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=19 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=20 devtype=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: sid=21 devtype=DISK
allocated channel: ORA_DISK_5
channel ORA_DISK_5: sid=22 devtype=DISK
allocated channel: ORA_DISK_6
channel ORA_DISK_6: sid=23 devtype=DISK
using channel ORA_SBT_TAPE_1
using channel ORA_SBT_TAPE_2
using channel ORA_SBT_TAPE_3
using channel ORA_SBT_TAPE_4
using channel ORA_SBT_TAPE_5
using channel ORA_SBT_TAPE_6
using channel ORA_SBT_TAPE_7
using channel ORA_SBT_TAPE_8
channel ORA_DISK_1: looking for autobackup on day: 20050303
channel ORA_DISK_2: looking for autobackup on day: 20050303
channel ORA_DISK_2: skipped, autobackup already found
channel ORA_DISK_3: looking for autobackup on day: 20050303
channel ORA_DISK_3: skipped, autobackup already found
channel ORA_DISK_4: looking for autobackup on day: 20050303
channel ORA_DISK_4: skipped, autobackup already found
channel ORA_DISK_5: looking for autobackup on day: 20050303
channel ORA_DISK_5: skipped, autobackup already found
channel ORA_DISK_6: looking for autobackup on day: 20050303
channel ORA_DISK_6: skipped, autobackup already found
channel ORA_SBT_TAPE_1: looking for autobackup on day: 20050303

did you try
run { allocate channel c1 type disk; restore spfile to pfile '/tmp/xxx' from autobackup; release channel c1; }

Similar Messages

  • I just switch to 10.8 from 10.6, and found that I can't use WORD.  How do I recover and use my word documents?

    I just switch to 10.8 from 10.6, and found that I can't use WORD.  How do I recover and use my word documents?

    ds store wrote:
    LibreOffice is the new (and better) port of OpenOffice as Oracle isn't sure of OpenOffice's fate.
    https://www.libreoffice.org/
    Of course they aren't sure, Open Office is nothing to do with Oracle, it's an Apache product ..... update your notes.
    Open Office is available here: www.openoffice.org/

  • How do I remove recovered photos (used photorec to recover lost photos) to have more space in my macbook pro HD?

    How do I remove recovered photos (used photorec to recover lost photos) to have more space in my macbook pro HD?

    Hello there, Shrid.
    The following Knowledge Base article reviews how to Sync photos:
    iTunes: Syncing photos
    http://support.apple.com/kb/HT4236
    You will just sync to the new computer. Keep in mind:
    Additional Information
    Syncing photos with your device will create an iPod photo cache.
    Syncing photos can only happen from one computer or user account at a time. Syncing photos with a different computer or user replaces the photos on the device.
    You can't reimport pictures synced from your computer to your device back to your computer. You can only import pictures in the Camera Roll or Saved Photos from your device to your computer. If you need to retrieve synced photos from your device:
    Email them from the device to yourself.
    Copy them from the emails to your computer.
    On iPhone and iPod touch using iOS 5 and iOS 6, all synced photos will appear in a unified category called photo library. Photos are not duplicated; this is a way to view all synced albums in one place. You can also tap a specific album beneath photo library to view individual albums.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Recover datafile using redolog file

    Hi all,
    please let me know if we can recover datafile using redolog file.
    As my database has no archive log mode ON.
    Thanks and Regards

    Hi,
    For your information: NOARCHIVELOG mode protects a database only from instance failure, not from media failure.
    http://www.utexas.edu/its/unix/reference/oracledocs/v92/B10501_01/server.920/a96519/intro.htm#1005025
    Cheers

  • With just ONE inatentive sweep of my finger one page of my note was disappeared! Is there any way it can be recovered without using the help of iCloud backup?

    1. With just ONE inattentive sweep of my finger one page of my note disappered. Further more, the same page in my iPad was deleted automatically too! How could this happen? Is there any way it can be recovered without using the backup feature from iCloud? The data is vey important to me?
    2. I havn't connect the power code to my iPad yet, the backup copy in the iClout was before the accident as I checked in iPad. Is there any way that I could open my notes in iCloud backup so that I can copy the missing page and move back to my iPad and iPhone?
    Thanks a lot for any help!
    Xueyu

    Sorry, no. The only way to restore this note is to restore from a backup that contains it.

  • I have lost the use of my extension pannels, and need help recovering the use. I get a message that extensions failed to load. Why?

    I have lost the use of my extension pannels, and need help recovering the use. I get a message that extensions failed to load. Why?

    I've had that before when on a really slow Internet connection.

  • Recovering primary using standby database

    Hi all,
    Here we have a dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. We configured dataguard in 10g environments and we are not using grid control. And now we want to configure rman for incremental backups.After configuring we successfully took full backup in standby plus archive logs. Then as the test case we dropped one datafile from the primary and tried to recover it. It is showing the following error. Also when i tried 'crosscheck backup' from primary it is showing that all the backups taken in standby are 'expired'. But from RMAN connected to standby the same backups are showing as 'available'. Can anyone help to fix this?
    On primary:
    [oracle@db1 NIOS]$ sqlplus / as sysdba;
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Sep 6 02:58:11 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter database datafile 4 offline; (after deleting datafile from system level)
    Database altered.
    [oracle@db1 NIOS]$ rman target sys/oracle@db1 catalog rman/oracle@appsdb
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Sep 6 02:58:58 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID=1590630518)
    connected to recovery catalog database
    RMAN> restore datafile 4;
    Starting restore at 06-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=107 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /u01/app/oracle/oradata/NIOS/users01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp
    ORA-19870: error reading backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp
    ORA-19505: failed to identify file "/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp"
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /u01/app/oracle/oradata/NIOS/users01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp
    ORA-19870: error reading backup piece /u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp
    ORA-19505: failed to identify file "/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp"
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_DISK_1: restoring datafile 00004
    input datafile copy recid=13 stamp=793208425 filename=/tmp/users01.dbf
    destination for restore of datafile 00004: /u01/app/oracle/oradata/NIOS/users01.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/06/2012 02:59:10
    ORA-19571: datafilecopy recid 13 stamp 793208425 not found in control file
    ORA-19600: input file is datafile-copy 13 ()
    ORA-19601: output file is datafile-copy 0 (/u01/app/oracle/oradata/NIOS/users01.dbf)
    RMAN> crosscheck backup;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdsjlw_.bkp recid=18 stamp=793212040
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdtz6p_.bkp recid=19 stamp=793212087
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp recid=20 stamp=793212132
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793242038_84gdxw5j_.bkp recid=21 stamp=793212180
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T174759_84gjqrtn_.bkp recid=22 stamp=793216080
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp recid=23 stamp=793216082
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793246288_84gjs9h4_.bkp recid=24 stamp=793216129
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-1590630518-20120906-00 recid=5 stamp=793238431
    Crosschecked 8 objects
    On Stand-by:
    [oracle@db2 NIOS]$ rman target sys/oracle@db2 catalog rman/oracle@appsdb
    Recovery Manager: Release 10.2.0.3.0 - Production on Wed Sep 5 20:11:58 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID=1590630518, not open)
    connected to recovery catalog database
    RMAN> crosscheck backup;
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=91 devtype=DISK
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdsjlw_.bkp recid=18 stamp=793212040
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T164038_84gdtz6p_.bkp recid=19 stamp=793212087
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T164212_84gdwdst_.bkp recid=20 stamp=793212132
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793242038_84gdxw5j_.bkp recid=21 stamp=793212180
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_annnn_TAG20120905T174759_84gjqrtn_.bkp recid=22 stamp=793216080
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/backupset/2012_09_05/o1_mf_nnndf_TAG20120905T174801_84gjqt0n_.bkp recid=23 stamp=793216082
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/u01/app/oracle/flash_recovery_area/DB2/autobackup/2012_09_05/o1_mf_s_793246288_84gjs9h4_.bkp recid=24 stamp=793216129
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-1590630518-20120906-00 recid=5 stamp=793238431
    Crosschecked 8 objects
    Thanks in advance.

    Hello;
    I would review one of these step by step :
    Using RMAN Backup Files from Standby Database to Recover Primary
    http://oraganism.files.wordpress.com/2009/04/backup-from-physical-standby.pdf
    How to use standby backup to restore primary db
    http://alexzeng.wordpress.com/2008/09/13/how-to-use-standby-backup-to-restore-primary-db/
    Steps to recover the primary database's datafile using a copy of a standby database's datafile.
    http://dbaregistry.blogspot.com/2010/01/steps-to-recover-primary-databases.html
    RMAN in a Data Guard Environment
    http://oracle.su/docs/11g/backup.112/e10642/rcmarchi.htm#CHDIFGFH
    Performing a database clone using a Data Guard physical standby database
    http://gavinsoorma.com/2012/04/performing-a-database-clone-using-a-data-guard-physical-standby-database/
    Best Regards
    mseberg

  • Error while recovering datafile using rman

    Hi Friends,
    I was trying to recover the deleted datafile 5 , but getting the following error... ( oracle 10g , database archive log mode )
    RMAN> startup
    database is already started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 02/28/2012 10:54:30
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'F:\ORACLE\ORADATA\DEMO\DEM01.DBF'
    RMAN> restore datafile 5;
    Starting restore at 28-FEB-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    released channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 02/28/2012 10:54:49
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    RMAN>
    Whats the way out...

    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # defa
    ult
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 100 M;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' 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 'G:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\S
    NCFDEMO.ORA'; # default

  • Help - Recover db using SAN!

    Please help! My production database server stopped working and I must recover on another server called QA. The good news is I have all necessary up-to-date files on the SAN including the redo logs. The bad news is I don’t know what the I am doing! Please see if I am on track. Any comments would be helpful!!
    I downed the QA server.
    I am having the QA SAN disconnected and replaced with the PROD SAN as they have the same file structure and drive letters.
    When the server is given back I am going to create folders to holds to hold the mutilplex redo and control file using the correct prod folder and name.
    Then copy, paste and rename the SAN version or redo and control files to server.
    Move spfile and password file to the Database folder
    It would be great to hear I am on track so far?
    Here is where I am really afraid to proceed !!!!!
    How do I get this database recovered when the current sid is not the same?
    BEST GUESS
    *sql>signon as sys using QA password.
    *sql>startup nomount using SPFILE=PROD
    *sql>shutdown
    Now I should be pointing to all the correct redo, spfile and control file
    *dos> set oracle_sid = prod
    *rman target/
    *rman>startup nomount
    *rman>recover database
    *rman>alter database open resetlogs;
    Any advice would be great! Is this close? Will the database now be called PROD and the passwords be the old PROD passwords?
    Thanks for any help!
    KL

    Hello
    the easiest way is , take a full backup by rman , be sure to backup the controlfile and spfile
    restore your spfile and modify it according to the new layout
    restore your controlfile
    if your backups were copied in a different path in the new server
    catalog them
    proceed to recover the database
    if the layout has been changed modify it according to your new setup ( a quicky way to see the original layout ) is
    rman target /
    report schema
    check if the original setup is as same as the new one otherwise change it during the recovery
    { 2> allocate channel t1 device type sbt;
    3> send'NSR_ENV=(NSR_SERVER=tyocmss8022,NSR_DATA_VOLUME_POOL=OracleDB,NSR_CLIENT=tyocmlx0110.jp.net.intra)';
    4> set until time '26-OCT-2007 20:35';
    5> set newname for datafile 1 to 'c:\oradata\DB\system01.dbf'; <= New location
    6> set newname for datafile 2 to 'c:\oradata\DB\undotbs01.dbf'; <= New location
    restore database;
    switch datafile all;
    recover database
    After the recovery has completed
    log into the database and run a select member from v$logfile
    if their paths dont match rename each redolog
    per example
    SQL> alter database rename file '+DATA01DG/pttokyo/onlinelog/redo01.rdo' to '/u01/apps/backup_test/redo01.rdo';
    Database altered.
    once everything has been completed
    open the database recreating the redo logs as follows
    alter database open resetlogs
    this is a quick overview , but i hope you grasp the action plan
    Cheers

  • Re: Is it possible to completely recover VistaOS using only Recovery DVD?

    Hidden WinRE partition was deleted by mistake but I still got the original Recovery DVD for my A200.
    Is it possible to completely recover VistaOS without the WinRE partition, using only Recovery DVD?

    Of course.
    The Toshiba Recovery CD was designed to recover the notebook.
    Using the recovery CD you will get the factory settings.
    But note; the Toshiba recovery CD formats the whole HDD and erases the partitions from the HDD.
    Greets

  • Recover database using cold backup

    Hi All,
    One of the table is delete by one of our DBA from PROD accidentally. We have a cold backup on one day before.
    Now we are trying to restore it from the cold backup. PROD DB is in archivelog and all the archive is in tact.
    The table got truncated today at 8 PM. Can we apply the database till 8 PM so that we can restore the truncated table using cold backup.
    Please find the below steps which we are using to restore.
    creating controlfile
    starting the db in mount state
    recover database;
    Will it ask for latest archive log when we try to recover it.
    ENV details -
    DB - 11.2.0.1
    Please suggest.
    Thanks

    Hi,
    If you have doubts about the procedure to use to restore a backup to a point in time, then please take a look at the documentation first: Performing Flashback and Database Point-in-Time Recovery - 11g Release 2 (11.2)
    After you specify the time when the recovery must end (UNTIL clause in rman), then the RECOVER command will try to use the archivelogs needed.
    Before starting with this PITR operation, you should check if your database has flashback active, because it will be much easier to recover using it.
    This is also explained on the same document linked above.
    Regards.
    Nelson

  • Recover database using RMAN

    Hi, I hope someone can explain to me what happened with my recovery process. I am running Oracle 8i.
    I dropped a tablespace on 11/22 @ 09:11. I first tried to do a full restore without restoring the control file (I was told that I should keep the current control file in order to apply any logs).
    RMAN> run {
    2> allocate channel d1 type disk;
    3> set limit channel d1 kbytes 100000;
    4> allocate channel d2 type disk;
    5> set limit channel d2 kbytes 100000;
    6> allocate channel d3 type disk;
    7> set limit channel d3 kbytes 100000;
    8> restore database;
    9> alter database mount;
    10> recover database;
    11> alter database open resetlogs;
    12> release channel d1;
    13> release channel d2;
    14> release channel d3;
    15> }
    I received the following error:
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover
    RMAN-03006: non-retryable error occurred during execution of command: recover(1)
    RMAN-07004: unhandled exception during command execution on channel default
    RMAN-10035: exception raised in RPC: ORA-19654: must use backup controlfile to switch file incarnations
    RMAN-10031: ORA-19654 occurred during call to DBMS_BACKUP_RESTORE.SWITCHTOCOPY
    I could not open the database, next I did a point in time restore with the control file:
    RMAN> run {
    2> allocate channel d1 type disk;
    3> set limit channel d1 kbytes 100000;
    4> allocate channel d2 type disk;
    5> set limit channel d2 kbytes 100000;
    6> allocate channel d3 type disk;
    7> set limit channel d3 kbytes 100000;
    8> restore controlfile;
    9> alter database mount;
    10> set until time = '2004-11-22:09:00:00';
    11> restore database;
    12> recover database;
    13> release channel d1;
    14> release channel d2;
    15> release channel d3;
    16> }
    I received the following error:
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: recover(4)
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 8 scn 263762 found to restore
    I could not open the database, I received the following error when I tried to open with resetlogs:
    RMAN-06003 .....:ORA-01113 file 1 needs media recovery
    '/d01/oradata/dr_cms/system01.dbf'
    I was done for the day and the system was shutdown, including the AIX server. When I started everything this morning, I did an 'alter database open resetlogs' and the database opened and the tablespace that I dropped was back!!!
    Does this make sense? Can anyone tell me what happened?!
    Why should a reboot of the system cause the database to open?

    No, you do not have to reboot the OS to get start the database. To know what exactly passed it was needed to see at the OS level the datafiles found in disk during the several intents you did for recover the database.
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Recovering controlfile from autobackup

    Hi to everyone,
    I am practisisng RMAN backup and recovery in oracle 10g xe . My database is in noarchivelog mode. And I want to recover from loss of controlfile. I am performing following steps:
    RMAN> STARTUP
    $ mv ~/oradata/XE/control.dbf cc.bak
    RMAN>SHUTDOWN ABORT
    RMAN>STARTUP NOMOUNT
    RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP;
    RMAN> ALTER DATABASE MOUNT;
    RMAN> RESTORE DATABASE;
    RMAN>RECOVER DATABASE NOREDO;
    RMAN>ALTER DATABASE open RESETLOGS;
    and database recovered successfully. But I read oracle docs that says before restoring controlfile autobackup, we need to set dbid first. How can above steps that I perform also a success.
    Edited by: sonidba on Feb 25, 2011 7:46 PM

    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    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 ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/snapcf_XE.f'; # default

  • Recover datafile using cold backup in archivelog mode

    Hi,
    I have lost one of my datafiles i.e New.dbf from the disk. I have full database cold backup of last sunday. Also I have the archives. Is it possible to restore and recover only the lost datafile? Please help.

    If you used RMAN to create the backup, then use RMAN again to restore that one datafile alone (RESTORE DATAFILE n) and then recover it (RECOVER DATAFILE n).
    If you didn't use RMAN but you are sure that the backup was a COLD Backup, manually restore the datafile and then issue a RECOVER DATAFILE n from the SQLPlus command.
    In either case you must ensure that the datafile is OFFLINE before you restore the file -- or take it OFFLINE with ALTER DATABASE DATAFILE n OFFLINE IMMEDIATE before doing the restore.
    After the RECOVER is completed, you must bring it ONLINE with an ALTER DATABASE DATAFILE n ONLINE
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to recover DB2 using offline file system backup.

    Gurus,
    I had a problem with my BI PRD's database. 1 of my BI consultant accidently deleted some important 2010's data. We've try recover online database backup of BWP into BWQ and retrieve the missing data. However the backup retention period was expired and we dont have any available online backup now.
    Only hope is my offline file system backup which backup the whole file system of BWP ONLY.
    My question:-
    Can i restore the file system (offline backup) into BWQ and rebuild my DB2 in BWQ. Please enlighten me.
    Thanks,
    Devan.

    Hi
    You can do it .The file system backup image can be mirroed into production system and by making using of "db2inidb" utility you can restore the whole database.
    http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0004473.htm
    Thanks
    Romansh

Maybe you are looking for