Database Recovery From Backup Or Datafiles

I have a consistent full backup in NOARCHIVE mode, and want to restore to a new machine. I have created a new instance on the new machine, but can't restore from my backup on the old machine. I also have a full set of data files that I can copy to the new machine. Can anyone tell me how to recover using these files? I have found lots of info about recovering from database damage, but nothing about recovering from oracle/os damage. Any help would be greatly appreciated.

Do u have the copies of initparameter files, control files, datafiles and also the redo log files.
copy all the datafiles including the redo logfiles to the new location, edit the initparameter to change the location of the control files, the archive logs , sid etc.
Login as internal at Svrmgr30 and startup the database in the nomount stage create a control file to reuse the existing datafiles and try to open the instance.

Similar Messages

  • Database recovery from the server backup - 10g Oracle with Linux

    My server OS is Linux and nightly we are taking a whole logical volumes backup as it is and databses are not shutdown.
    so i would like to know how much worth keeping this copy in recovery purposes as it is taking few hours to copy all daily.
    If some one can share some points would be appriciated.

    Hi,
    What kind of backup is it please explain, what tool are you using for this logical volume backups? Are you sure that if you logical volume backup starts at 10:00, everything is logically frozen at that point in time and if recovery needed, everything will be restored at exact 10:00? Since oracle database is open on logical volumes, during backup of logical volumes, your database files will not be consistent and hence backup of database is not valid and will not work (unless you have some utility to logical freeze everything during backup to make backup consistent).
    I would recommend you to configure the oracle database backup (hot or RMAN) and put backup on a logical volume and configure backup of that logical volume and remove the logical volume from backup list where your database exists. Database backup should finish before backup of logical volume statrts
    Salman

  • Recovery from backup

    Hi,
    How can i upload sap data from backup?
    OS AIX 5.3
    DB Oracle 10i

    Hi Vikram,
    Please mentioned here what is your existing setup, which backup you wnat to restore (offline / online). what is your anothrer server setup.
    You can restore with brtools.
    Regards,
    Anil

  • Iphone data recovery from backup file

    Hi,
    My iphone 5 is damaged, I am forced to switch to Nokia N8 as the stop gap arrangement till iPone is repaired/replaced by the service centre. I have iPhone backup file on my computer. How do I recover data from backup file to restore it to Nokia N8.
    Regards

    The iTunes backup of an iPhone is stored in a format that is designed only for use in restoring to an iOS device. There are some 3rd party programs that will read and extract that data however. That would get you to the point of being able to see and use the data on your computer at least. I can't help with how you would then get the data to the Nokia but a Nokia forum might. One example of a backup extractor program that is reputable is http://www.wideanglesoftware.com/ibackupextractor/ but there may be others that are cheaper or free.

  • Restore controlfile,database(PIT)  from  backups(non-defualt location)

    Hi,
    Below is the script i m using to do db point-in-time recovery. But the problem is the backups was taken in a non-defualt location and i want the restore and recovery to be happened from there. Mostly facing issue with controlfile recovery. Just don't know how to tell RMAN that my controlfile rman backup is in non-defualt location '/fulldbbackup/'
    backup Script
    run{
            allocate channel ch1 device type disk ;
            backup database TAG = 'DR_test_backup' format '/fulldbbackup/%D_RMAN_DATAFILE_BACKUP_%U.bak';
            sql 'alter system archive log current';
            backup archivelog all delete input TAG = 'DR_test_backup2' format '/fulldbbackup/%D_RMAN_ARCHIVELOG_%U.bak';
         backup current controlfile TAG='DR_test_backup' format '/fulldbbackup/%D_RMAN_CURRENT_CONTROL_BACKUP_%U.bak';
    ==============================================================
    rman target / nocatalog
    RMAN> sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    RMAN> CROSSCHECK BACKUPPIECE TAG = 'DR_TEST_BACKUP';
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak recid=22 stamp=784320186
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0lnbvhlm_1_1.bak recid=21 stamp=784320184
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0knbvhl2_1_1.bak recid=20 stamp=784320164
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_ARCHIVELOG_0jnbvhkp_1_1.bak recid=19 stamp=784320154
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_DATAFILE_BACKUP_0inbvhkf_1_1.bak recid=18 stamp=784320144
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=/fulldbbackup/26_RMAN_DATAFILE_BACKUP_0hnbvhgn_1_1.bak recid=17 stamp=784320024
    Crosschecked 6 objectsRecovery Script (.ksh)
    #!/bin/ksh
    export ORACLE_SID=prod2
    echo $ORACLE_SID
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    echo $ORACLE_HOME
    export PATH
    echo $PATH
    RMAN=$ORACLE_HOME/bin/rman
    $RMAN target sys/sys@prod2 nocatalog << EOF
    set dbid 1428819349;
    run {
    startup nomount;
    sql "alter session set nls_date_format = ''dd.mm.yyyy hh24:mi:ss''";
    allocate channel ch00 device type disk;
    allocate channel ch01 device type disk;
    set controlfile autobackup format for device type disk to '/fulldbbackup/26_RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak';
    restore controlfile from autobackup;
    alter database mount;
    catalog start with '/fulldbbackup';
    set until time "to_date('26.05.2012 18:43:15','dd.mm.yyyy hh24:mi:ss')";
    restore database;
    recover database;
    alter database open resetlogs;
    release channel ch00;
    release channel ch01;
    exit;
    EOF
    echo "Completed"Thanks in advance

    You can restore control file by specifying the path explicitly.
    -- In the auxillary server
    Make sure you have the CONTROL_FILES parameter in the pfile. The control files will be restored to this path
    *.control_files='+LMNPROD_DG01/lmnprod/lmnprod_control01.ctl','+LMNPROD_DG01/lmnprod/lmnprod_control02.ctl','+LMNPROD_DG01/lmnprod/lmnprod_control03.ctl'Create spfile from pfile. Then
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup nomount
    SQL> show parameter spfileStep5. Restore Control file
    The below command will create all the 3 control files mentioned in CONTROL_FILES parameter in the spfile.
    $ rman target /
    restore controlfile from '/path_where_bkp_piece_is_stored/RMAN_CURRENT_CONTROL_BACKUP_0mnbvhlq_1_1.bak';After restoring the control file and mounting the DB , you can use CATALOG command to catalog backup pieces

  • Data recovery from backup

    Hello.
    Could you please let me know the recovery steps of the data volume?
    I tested the following steps on my HANA (Rev.18), but I could not recover my data due to the error.
    1. Start HANA studio, right-click on the host name in the 'Navigator' pane, and select 'Backup'.
    2. Go through the backup wizard, and create 'COMPLETE_DATA_BACKUP' files in '/usr/sap/<SID>/HDB00/backup/data'.
    3. Confirm that the 'COMPLETE_DATA_BACKUP_databackup_N_M' files exist in the above directory.
    4. Right-click on the host name in the 'Navigator' pane in HANA Studio, and select 'Stop'.  Select 'Soft' shutdown.
    5. Confirm that the HANA DBMS stops.
    6. Start the 'GNOME Terminal', go to the '/usr/sap/<SID>/SYS/global/hdb/data' directory, and delete (or rename) the 'mnt00001' directory.
    7. Right-click on the host name in the 'Navigator' pane in HANA Studio, and select 'Recovery'.
    8. Start the recovery with un-checking the 'Recovery of the Log Entries' option.
    9. The data recovery for 'Name Server' stops at 50%, and the following error is shown.
         Recovery of system <SID> failed
         The service 'nameserver' at 'NODE:30001' responsible for the volume '1' does crash.
    Thank you,
    -mamoru

    Hello,
    still thinking what might be the reason for error and got another idea (but without the recovery log it is just pure guess):
    6. Start the 'GNOME Terminal', go to the '/usr/sap/<SID>/SYS/global/hdb/data' directory, and delete (or rename) the 'mnt00001' directory.
    If you renamed/deleted whole directory - maybe the recovery process was missing the directory and was not able to recreate it... (I had similar issue with log destination when I decided to have it in other than standard destination. Installer was not able to create it and was failing until I created the directory manually.)
    However I am still wondering what exactly is mnt00001 directory for...
    From SAP HANA Studio it is apparent that:
    nameserver (does not have any data file created at specified location) ...is assigned path:
    /usr/sap/<SID>/SYS/global/hdb/data/hdb00001
    indexserver ...is assigned path
    /usr/sap/<SID>/SYS/global/hdb/data/hdb00002
    statisticsserver ...is assigned path
    /usr/sap/<SID>/SYS/global/hdb/data/hdb00003
    However nowhere is written what exactly is stored in following directories:
    /usr/sap/<SID>/SYS/global/hdb/data/hdb00002_backup
    /usr/sap/<SID>/SYS/global/hdb/data/hdb00003_backup
    /usr/sap/<SID>/SYS/global/hdb/data/mnt00001/hdb00001
    /usr/sap/<SID>/SYS/global/hdb/data/mnt00001/hdb00002
    /usr/sap/<SID>/SYS/global/hdb/data/mnt00001/hdb00003
    /usr/sap/<SID>/SYS/global/hdb/data/mnt00001/hdb00001_backup
    Does anyone know? I was not able to find this information.
    Similar situation is in log area...
    Tomas

  • Recovery from backup fails... what to do?

    My iPhone 3gs has been getting slower and slower over some time now. Sometimes it could take up to one minuet to lock the phone after pressing the button. Also my photos was unavailable from the iPhone, every time I tried to access the photos or an application tried to save a photo, the app crashed. So I decided that it might be an idea to take a backup start over on the phone. Recovery to factory settings seems to go fine, and efter I unlock the sim card for the first time, I am asked if I would like to recover from itunes, iCould or make a new phone. I select itunes and connect to my computer, it downloads all data to the phone, and begins to reboot. In the reboot, it freezes on the screen with the apple logo and the statusbar on approxemately 15 %. I have tried a couple of times now, and it is exactly the same place each time. I have tried holding lock and home buttons down and forcing a reboot, I have tried to download several older firmwares to recover form, I have downloaded the newest iTunes, I have tried waiting for hours hoping that the statusbar will start moving again, but all without any luck...
    I suspect that something was corrupted in my image folder causing all image programs to fail, and maybe it is the same that has been transferred to the backup, and that is causing my recovery to fail.
    Is there a way to check/change the contents of a backup before reloading it?
    Or does anyone have any other ideas to how I can get my data back from the backup?
    Waiting with anticipation
    With best regards
    Kristian Mørck

    I'm not aware of anything that would allow you to edit/change the contents of a backup.  About the best your could do is use a program like iPhone Backup Extractor to try to extract as much of your data from the backup as possible.

  • Recovery from backup failed

    I tried to restore my T400 from a backup using the Rescue & Recovery utility.  The process started and after automatically rebooting, I now have a DOS screen that reads: "Windows could not start because the following file is missing or corrupt: Windows root\system32\hal.dll
    The system did not come with any disks, so how to I restore my system?  I don't need to restore from a backup because their is nothing I need to keep from the previous working version.
    Thanks in advance.

    If you want to restore to new condition you need to do a "Restore to factory condition" from Rescue and Recovery, not from a backup.
    T60 2623-D7U, 3 GB Ram. Dual boot XP and Linux Mint.
    T400 2765-T7U Windows 7
    Registered Linux User #160145
    FYI: I am not employed by Lenovo

  • Database restore from backup--miss some transaction log backup files.How to restore?

    One database with full recovery model
    it runs full backup at 12:00 am on 1/1 one time.
    Then transaction log backup every 3 hours. 3:00 am, 6:00am,9:00 am, 12:00 Pm, 3:00Pm,6:00PM,9:00pm,12am......
    If we can't find 3:00 am, 6:00am, 9:00am transaction log backup files, could we still restore to 6:00am? We still have all transaction log backup files after 12:00Pm.
    Thanks

    One database with full recovery model
    it runs full backup at 12:00 am on 1/1 one time.
    Then transaction log backup every 3 hours. 3:00 am, 6:00am,9:00 am, 12:00 Pm, 3:00Pm,6:00PM,9:00pm,12am......
    If we can't find 3:00 am, 6:00am, 9:00am transaction log backup files, could we still restore to 6:00am? We still have all transaction log backup files after 12:00Pm.
    Thanks
    NO..log files are incremental and connected.If any log file is missing you cannot restore  to point which comes after backup which is lost or damaged.Like u miss 3 AM trn log backup now even if you have 6,9,12 AM trn log backups its of no use .
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Recovery from backup CDs..

    Hello Everyone
    I have Pavilion dv6 3016ax. I have recovery CDs but i couldnt recover my window. when I tried to press F11 while its starting, notebook ask for window disc. I inserted that recovery CD. But it dont accept.. Still its asking for window CD.
    please suggest me how can i restore factory setting.?? 
    This question was solved.
    View Solution.

    Please select the appropriate number related to the product you have from the below link and check with them.
    http://www8.hp.com/au/en/contact-hp/phone-assist.h​tml
    Please update the status of the solution provided for further help.
    Let us know for more!
    "I work for HP."
    Click the Kudos star to say thanks
    Please mark Accept As Solution if it solves your problem
    Regards
    Sreenag

  • Mail Recovery from Backup

    Hello,
    a couple of weeks before I've made a backup (with CarbonCopyCloner)
    from my Panther System. Meanwhile I've installed Tiger on my computer.
    I've made a bad mistake: after I have installed a new Mail-Account from a
    new ISP in Mail I've deleted the old one – and with it all my messages... aargh!
    How would I be able to get back the mails from my system backup?
    The folder ~/Library/Mail/Mailboxes from this backup seems to be empty
    (it wasn't, when I was making the backup) ...
    Are there special folders from the (old) account that I have to copy?
    Thank you very much for your help !!
    Michael
    PS: please excuse my maybe bad english ...
    G4 867 MHz Dual   Mac OS X (10.4.9)  

    Hello Michael.
    If this was a POP account, your mail would have been stored in the ~/Library/Mail/POP-username@mailserver/ account folder, not in ~/Library/Mail/Mailboxes/. You can restore it by just importing that folder from the backup doing File > Import Mailboxes and choosing Mail for Mac OS X as the data format.

  • After recovery from backup Creative Cloud Desktop shows spinning blue busy cursor

    After a sysem mis-adventure I had to do a complete reinstallation of the OS (10.9 Mavericks) on my Mac Pro. Now when I open Creative Cloud Desktop I get the window with HOME active and the other selections such as Apps, Files, Fonts etc grayed out. In the middle of the window is a spinning blue busy cursor.
    Clearly something needs to be reauthorized but I don't know what that is or how to do it.
    Help?

    After a sysem mis-adventure I had to do a complete reinstallation of the OS (10.9 Mavericks) on my Mac Pro. Now when I open Creative Cloud Desktop I get the window with HOME active and the other selections such as Apps, Files, Fonts etc grayed out. In the middle of the window is a spinning blue busy cursor.
    Clearly something needs to be reauthorized but I don't know what that is or how to do it.
    Help?

  • Database Restore & Recovery from tape

    Hi Fellows
    I'm about to attempt a recovery from backup tape to a test server, as a 'tape recovery' test. The files I've marked for recovery include (directories including all sub-tree);
    Datafiles directory
    $ORACLE_HOME/sid/ directory where the sid is the database sid
    Control Files
    adump, Bdump, cdump and udump directories
    Archivelogs directory
    Flashrecovery area directory
    Redo logs directory
    initfile and spfile
    With these files recovered (from one point in time), and the dbconsole shut down prior to restore (for the sid) should the database be able to startup afterwards? Is there any other actions I should make? Thanks, David

    Thanks for your responses Alok and Santosh
    I'm pretty sure the files I have selected should be able to recover the database. The recovery, I think is rightly said, can only be done within Oracle. I'll look into a test of RMAN (I know it should be better) recovery once I've tested this as a 'straight from tape' recovery.
    Thanks again, David
    Alok and Santosh
    I thought I'd put this in as 'aftermath' of the attempted recovery;
    I had the server team restore the files stated (basically everything - redo, archivelogs, datafile, controlfiles, init and sp files, even the dump files) - and repalced them into directories made the same as the other server. When I started it, I was able to go into a 'Oracle Suggested' full database recovery, which was successful. I then checked the expdp dump files, 1 taken at the same time of backup as rman - and one directly after the restore), and compared rows - exactly the same. So appears to have worked.
    Many thanks, David
    Message was edited by:
    David_W

  • Recovery of Database -- Restore from Cold Backup

    Hi All
    I was trying to understand the possible failures so as to enhance my recovery capabilities of Oracle database 10.2.0.4.
    We take weekly hot back up of the database on every sunday including archive logs. Archive logs are also backed up when the log_archive_dest_1 disk space utilization grows beyond 80%. All the backup goes into an alterate disk made available on the host. The archive back up is triggered mostly twice a week, on one of the thursday/friday/Saturday depending on the redo generation in that week.
    Imagine we have a failure on thursday leading me to restore the complete database from backup taken on the earlier sunday. I also realise there is 1 archive log from tuesday missing and its not backed up for sure. I restore from backup and try to recover. As all the archive logs are available since Sunday till the point of failure except for that one missing file from Tuesday, I want to recover the database until the point of failure although there is one log sequence missing in archive destination. how can I do that? Is it possible? Please advice.
    I remember reading on net that recover database command can be hinted by an init parameter so as it does not check for sequece numbers and continue to apply archives (does not check sequence numbers) as they are available. But I am not able to recollect it exactly. while I was searching on net, I came to this forum hoping if some one knew it.
    Let me know if you know how to go about this. Thanks in advance.
    Sarat.

    You cannot skip an archivelog (there is no init parameter to do so).
    Think about this :
    Imagine that there is one very long transaction. A transaction that deletes or updates 1 million records. With the redo logs being, say, 100MB each, the transaction spans multiple redo logs.
    These redo logs are archived as, say, sequence #121 to 128.
    Supposing that sequnece #123 is deleted by mistake.
    Can you recover the database with sequence# 121, 122, 124-128 ? Can that transaction be consistent ?
    OR think about this :
    A redo log file is 99% full. A transaction for 1000 rows begins. All the redo entries for that transaction do not fit into that last 1%. The transaction spans into the next redo log file.
    Can recovery be done with either of these missing ?
    If you think through these scenarios, you will see that there will almost always be transactions spanning redo logs. That means, that you cannot skip redo logs during recovery.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Recovery from Online backup

    Hai All,
    I regularly take hot backup via a script. In script copy all datafiles and archivelogs to the backup destination. One conrolfile is created using 'alter database backup control file to c:/backup.ctl' . Thus controlfile is also generated.
    I copy the backup files (includes datafiles and controlfiles) to a test machine . In test machine I created a database with the same name of production database. I replace the present files with the hot backup files (keep existing redo log files). When I open the database, recovery asked... I apply the backup archive log files. Even when reach the maximum archive files in my hand. recvery not stop... . This is the problem .. How It happened ? How to open the database with the backup files in my hand only.
    I copy the remaining archive log files and redo log files from production database and apply. then I open the database with resetlogs . It works fine......
    How to resolve the mentioning problem in second paragraph?
    Please help?
    Shiju

    How do you backup your database? Do you using RMAN to backup your database? or you use ALTER TABLESPACE BEGING BCKUP method to backup your database?
    Which version of Oracle are you using? Is there anything wrong configure autobackup of controlfile to avoid explicitly taking controlefile bakup?
    If you want to test your bakcup or wanted to create another copy (clone) of the database using your valid backup, why did you create the second database and did the other fuss?
    You can simply, bring up the instance, restore and recovery using your backups.
    I guess, the problem was with redo log files. You have overwritten all the datafiles, controlfile, but not redo log files, may be the redo log sequence mismatch cuased this behaviour.
    Jaffar

Maybe you are looking for