How to restore backup files to a new database?

Hello all,
Our database has stopped working because many config files and some control files were deleted or changed! You can see the full discussion here: ORA-01034 - Oracle not availabe
We are using Oracle 11g. We got some comprehensive backup files and some incremental ones before this failure.
Do these backup files contain config and control files too? or just contains data?
And how I can recover the database using them?
Thanks for your help

Thank you so much for your attention.
Yes exactly, I installed oracle on my laptop and copped its control files into the database and they didn't work
1- Many backup files of level 0 and level 1. They've been created using these rman commands:
echo database backup, level 1
echo %DATE%
echo %TIME%
set datetimef=%date:~-4%_%date:~4,2%_%date:~7,2%_%time:~0,2%_%time:~3,2%_%time:~6,2%
echo %datetimef%
rman target / @F:\backup1.txt LOG F:\database-backup\rman-logs\%datetimef%.txt
copy F:\database-backup\rman-logs\%datetimef%.txt F:\database-backup\rman-logs\current-log.txt
and
echo database backup, level 0
echo %DATE%
echo %TIME%
set datetimef=%date:~-4%_%date:~4,2%_%date:~7,2%_%time:~0,2%_%time:~3,2%_%time:~6,2%
echo %datetimef%
rman target / @F:\backup0.txt LOG F:\database-backup\rman-logs\%datetimef%.txt
copy F:\database-backup\rman-logs\%datetimef%.txt F:\database-backup\rman-logs\current-log.txt
What have you done before getting "Oracle not available" message?
One of group members tried to create a new database using Oracle Database Configuration Assistant and then she couldn't work with the new database (I guess she got some errors when she decided to connect to it using sqldeveloper) and then she deleted the new database using Oracle Database Configuration Assistant, and in the last part it asked her Do you want to delete everything related to the new database and she answered yes.
What have you done after getting "Oracle not available" message?
After that we get Oracle Not Available. When I tried to connect to the Oracle via SQLPlus (startup command) it told me that init file does not exist and I recreate that file and put in the right place, then checked some files located in the D:\app\Administrator\admin\iwatchdb\scripts and D:\app\Administrator\product\11.2.0\dbhome_5\NETWORK\ADMIN. Almost in all of that SID and addresses were changed and pointed to the new database, I just alter them and replaced the Yelp (the name of the new database) with iwatchdb (our main database). So the first error solved, and when I tried to start the database up it told me that control files do not exist! and I checked the address that sqlplus showd in the error and it was right! the control files were deleted from: D:\app\Administrator\oradata\iwatchdb (CONTROL01.CTL) and D:\app\Administrator\flash_recovery_area\iwatchdb (CONTROL02.CTL)
- What is the latest error you get in the alert.log file?
do you mean this file? D:\app\Administrator\diag\rdbms\iwatchdb\iwatchdb\alert\log.xml
These are the latest ones:
<msg time='2013-06-19T19:41:46.498-07:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13' module=''
pid='4692'>
<txt>Trace dumping is performing id=[cdmp_20130619194146]
</txt>
</msg>
<msg time='2013-06-19T19:41:46.540-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbkh_generate_new_failure_alert:2777:3311820762' client_id='' type='ERROR'
group='DRA' level='1' host_id='DD77KKS1'
host_addr='fe80::d4a:8bff:b402:6cfe%13' module='MMON_SLAVE' pid='1384'>
<txt>Checker run found 1 new persistent data failures
</txt>
</msg>
<msg time='2013-06-19T19:41:46.658-07:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13' module=''
pid='4496'>
<txt>ORA-00227: corrupt block detected in control file: (block 1, # blocks 1) ->(I copied control files from another database but it didn't work)
ORA-00202: control file: &apos;D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\IWATCHDB\CONTROL02.CTL&apos;
ORA-00227: corrupt block detected in control file: (block 1, # blocks 1)
ORA-00202: control file: &apos;D:\APP\ADMINISTRATOR\ORADATA\IWATCHDB\CONTROL01.CTL&apos;
</txt>
</msg>
<msg time='2013-06-19T19:41:46.659-07:00' org_id='oracle' comp_id='rdbms'
msg_id='opiexe:3056:2780954927' client_id='' type='NOTIFICATION'
group='admin_ddl' level='16' host_id='DD77KKS1'
host_addr='fe80::d4a:8bff:b402:6cfe%13' module='sqlplus.exe' pid='4400'>
<txt>ORA-205 signalled during: ALTER DATABASE   MOUNT...
</txt>
</msg>
<msg time='2013-06-19T19:41:47.606-07:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13' module=''
pid='4692'>
<txt>Trace dumping is performing id=[cdmp_20130619194147]
</txt>
</msg>
<msg time='2013-06-19T19:42:45.282-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgripsto_sweep_staged_obj:14105:70631439' type='ERROR' group='ami_comp'
level='8' host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13'>
<txt>Sweep [inc][9769]: completed
</txt>
</msg>
<msg time='2013-06-19T19:42:45.599-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgripsto_sweep_staged_obj:14105:70631439' type='ERROR' group='ami_comp'
level='8' host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13'>
<txt>Sweep [inc][9706]: completed
</txt>
</msg>
<msg time='2013-06-19T19:42:45.907-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgripsto_sweep_staged_obj:14105:70631439' type='ERROR' group='ami_comp'
level='8' host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13'>
<txt>Sweep [inc][9705]: completed
</txt>
</msg>
<msg time='2013-06-19T19:42:45.917-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgripsto_sweep_staged_obj:14105:70631439' type='ERROR' group='ami_comp'
level='8' host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13'>
<txt>Sweep [inc2][9769]: completed
</txt>
</msg>
<msg time='2013-06-19T19:42:45.918-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgripsto_sweep_staged_obj:14105:70631439' type='ERROR' group='ami_comp'
level='8' host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13'>
<txt>Sweep [inc2][9706]: completed
</txt>
</msg>
<msg time='2013-06-19T19:42:45.920-07:00' org_id='oracle' comp_id='rdbms'
msg_id='dbgripsto_sweep_staged_obj:14105:70631439' type='ERROR' group='ami_comp'
level='8' host_id='DD77KKS1' host_addr='fe80::d4a:8bff:b402:6cfe%13'>
<txt>Sweep [inc2][9705]: completed
</txt>
</msg>

Similar Messages

  • How to get backup file to a new phone?

    how to get my backup icloud downoaded to a new Iphone 5s

    See "Set up a new device from an iCloud backup" section of http://support.apple.com/kb/ph12521

  • Device dead, need to restore backup files from Palm 515 desktop software to Centro desktop software. Can it be done??

    Ok, here's the story:  My palm515 died about a year ago and since then I've been operating exclusively from my desktop software, until I recently bought a Palm Centro.  Instructions said to hotsync to device, install new Centro Software, then hotsync back from device onto the desktop program.  Problem is, I don't have a device to hotsync to because it's dead!  I have backups of desktop, so I tried installing Centro Software per instructions.  Centro Software said that it couldn't overwrite the old program, that I would manually have to uninstall it.  Ok.  But when I tried to go back into my old desktop software, it wouldn't even execute, like the Centro software had already begun to delete it.  So I reinstalled the old 515 software thinking I wanted to at least do another triple-dog-check backup to two different locations, maybe even print stuff out in case it woudn't restore to the new software.  Worst case scenario I have to type everything back in but at least I still have it.  But now i can't figure out how to restore backup files to the 515 software!  It keeps looking for .ada files but the backup files are .bak and it won't recognize them.  How the heck do you restore a backup on this thing!  OR, can I just install the new Centro software and restore the files from there.
    Somebody PLEASE tell me how this can be done.  My entire life, my business, all my clients, my appointments, my phone numbers, addresses, my records for my taxes, EVERYTHING is in there!
    thanks,
    meg
    Post relates to: Centro (Verizon)

    Assuming you are not running Vista, and that you have copied the User folder with the .dat and .bak files to a safe location outside the Palm folder, completely uninstall the Access Desktop that came with your Centro and download and install 4.1.4e from Palm's download page.
    If you can get the m515 data in there by copying the User folder or Importing Data and sync the Centro you should be fine. Once it all appears where it should (Desktop and Centro) you can delete the User folder copy you copied for the process.
    Post relates to: Palm TX

  • How to Restore Control file to New Server

    I want to test my backup by restoring the full backup of my production database on a separate test server.
    I have taken following action for restore to test server:
    •     Copy full backup to Test Server on same folder where it was in Production Server.
    •     Copy parameter file to Test Server. (Edit control file location on it)
    •     Connect Rman
    •     Set DB with new DBID
    •     Startup Nomount (from new parameter file)
    RUN
    ALLOCATE CHANNEL c1 TYPE DISK;
    RESTORE CONTROLFILE FROM AUTOBACKUP;
    ALTER DATABASE MOUNT;
    Then we found following error:
    RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP;
    Starting restore at 07-NOV-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20071107
    channel ORA_DISK_1: looking for autobackup on day: 20071106
    channel ORA_DISK_1: looking for autobackup on day: 20071105
    channel ORA_DISK_1: looking for autobackup on day: 20071104
    channel ORA_DISK_1: looking for autobackup on day: 20071103
    channel ORA_DISK_1: looking for autobackup on day: 20071102
    channel ORA_DISK_1: looking for autobackup on day: 20071101
    channel ORA_DISK_1: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/07/2007 16:35:13
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Can anyone guide me, how to restore control file?
    Irfan

    RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP;
    Starting restore at 07-NOV-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day:
    20071107
    channel ORA_DISK_1: looking for autobackup on day:
    20071106
    channel ORA_DISK_1: looking for autobackup on day:
    20071105
    channel ORA_DISK_1: looking for autobackup on day:
    20071104
    channel ORA_DISK_1: looking for autobackup on day:
    20071103
    channel ORA_DISK_1: looking for autobackup on day:
    20071102
    channel ORA_DISK_1: looking for autobackup on day:
    20071101
    channel ORA_DISK_1: no autobackup in 7 days found
    RMAN-00571:It seems to me its not finding the contolfile from 7 days before sysdate ,increase the window size using
    RMAN>restore controlfile from autobackup maxdays 15;Khurram

  • How does the backup file that I would like to use for restore now require a password

    How does the backup file that I would like to use for restore now require a password, when I just Backed it up on 10/30/14

    It requires a password to restore from it because at some point, you checked the box in iTunes to use encrypted backups, at which point you were prompted for, and set a password.
    If you now can't remember what that was, then you can not restore from that backup.

  • How do I transfer "device backup files" to a new computer?

    How do I transfer "device backup files" to a new computer?

    Place the domain file in your Home/Library/Application Support/iWeb folder.  If there's no iWeb folder create one and put it in there.  Now try to launch iWeb and see if it will find and open the Domain file.
    If you still can't open the domain file do the following:
    To open your domain file in Lion, Mountain Lion, Mavericks or Yosemite or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script"/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"
    delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    NOTE: Since Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    For Mavericks and Yosemite go to your Home folder and use the View ➙ Show View Options menu to bring the this window:

  • How to merge 2 TM backup files to a new TM drive?

    I have 2 MBPs with 2 external drives for TimeMachine backup. I bought a new 2T external drive recently and I want to merge the backup files on the 2 TM drives to the new big external drive. So I can use one external drive for 2 MBPs backup and free the old external drives. I have copied one TimeMachine backup files to the new external drvie. While I copied another TM backup files, It showed that the Backups.backupdb cannot be modified. What can I do?

    What is confusing to me, and perhaps others, is when you get the backups on the new drive, do you want to have two separate backups or one combined backup? Below is a screen shot of a hard drive with two separate backups on it. Is this what you are trying to do?

  • My old phone broke and I am having trouble figuring out how to restore my contacts on my "new" phone (LG ENV2 Black)...

    My old phone broke and I am having trouble figuring out how to restore my contacts on my "new" phone (LG ENV2 Black).  Apparently the phone is so old that I am unable to install Backup Assistant on it, which sucks.  I have all my old contacts saved on my computer as a CSV and also another copy on a micro SD as VCF.  I have tried moving the CSV from my computer to my ENV2 via both Bluetooth and USB cable, but had no luck with either of those.  I also tried to pop the micro SD into the ENV2, and although I can load all my old pictures/videos/etc. from the micro SD, I do not seem to be able to restore the contacts from card.  I know there has to be some way to manually transfer these files; the contacts are still on my old phone as well; but I was unable to use the transfer wizard for that because my old phonedoesn't seem to be supported by that (Pantech Jester 2)

    Google a program called bitpim, that might do what you want.  Never used it but it's been talked about on the forums.  Other than that you might have to input them manually.  Mary

  • How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!

    How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!
    I want to know how to create a backup file (because I'm pretty new with itunes, and it's hard to use it for me still), how to store my app data/media/videos, etc. And how I can retrieve them back when I'm done with the app I tried on my friend's computer.
    If anyone can help, it'd be great! Thank you so much!

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • HT201269 I backed up my 3GS using iTunes. I then restored the file to my new 4GS. Then I synced the apps onto the 4GS. Then I downloaded 2 custom ringtones, and attempted to sync them onto the 4GS, but it says "This Library is already synced with another

    I backed up my 3GS using iTunes. I then restored the file to my new 4GS. Then I synced the apps onto the 4GS. Then I downloaded 2 custom ringtones, and attempted to sync them onto the 4GS, but it says "This Library is already synced with another phone, and if you try to sync, you will lose all of the information on the iPhone." I am a Windows user. This Sync process is VERY confusing.

    How can I possibly get these two new ringtones onto the iPhone without wiping out everything else on the phone? This Sync process is nuts.
    I have Backed Up the phone twice. Why would iTunes try to wipe out the phone?

  • What is the name of the folders which are your backup of Itunes library? I am recovering from a virus, have no workable desktop in Win XP, but can search and find files and folders. I would like to move these backup files to a new computer

    what is the name of the folders which are the backup of Itunes library? I am recovering from a virus, have no workable desktop in Win XP, but can search and find files and folders. I would like to move these backup files to a new computer, authorize it and sync with Iphone 3Gs and Ipod 5th gen.
    I

    I second the whole iTunes folder approach.
    If for some reason you have split the media folder from the library files then the media folder needs to restored to the same path it used to have while the library files can be copied into the music folder of your new profile.
    If in dobut, backup up the entire Documents and Settings folder before wiping the infected drive, but be selective about what you restore as many viruses drop active components capable of reinfecting the compuer in the temp folders and internet caches. It is much easier to backup more than you need than to discover after the fact that you no longer have access to some vital project you'd been storing in a folder on the desktop.
    tt2

  • How to restore .bu file

    hi,
    i created back up through SBO Backup (SAP Business One Service Manager )
    i got the Back up files and all Attachments folders.
    But i want to restore this (.bu) and .zip files into existing company database
    while creating time i got these files:
    one backup file - extension is .bu
    other all attachment files and word docs , bitmaps these files are  .Zip extension
    I want to restore these files .
    thnk you.

    SQL server 2005 : supporting back files type is : .bak and .tm
    My problem not solved
    But i got .bu (file type) backup. how can i restore this file ..
    Eg: these files are i got .
    1) backup file name is : Testdatabase091510140500.BU
    2) Attachments091510140536.zip
    3) BitMaps091510140537.zip
    4) ExcelDocs091510140539.zip
    5) WordDocs091510140539.zip
    how to restore these files into my existing company data base
    Regards
    Manoj

  • Restore backup file

    i already backup my file in D before i restore from initial backup used onekey recovery..
    but .. i want to restore backup file, when i already select backup file on D and click start, notice out tell me
    " the images file is not valid. please select a valid images file"
    why this happen?
    please help me how to solve this problem...
    thank you...

    hi elmo5367,
    this "D" is it an external harddrive or is it a partition you made in your unit's harddrive or is "D" referring to an optical disc?
    could you give to us the MTM of your unit?To locate MTM -
    http://support.lenovo.com/en_US/FindProductNumber.page#find
    at the same time, do provide a screenshot of the error.
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • HT1766 how to restore data file from back up on iPhone 5 docs to go

    how to restore data file from back up on iPhone 5 docs to go

    If it backed up the lock file, then Lightroom was open when Time Machine ran, and the backup therefore may be corrupted.  You could try restoring that backup (without overwriting your week ago version) and see if it'll open.  If it does, you're off and running.  What methods have you tried?

  • HT1766 How to restore the iPhone as a new device?

    I am unlocking my phone through Apple & the mobile company, here are the steps I need to follow. I am not sure how to restore my phone as a new device!?
    iTunes
    1.    Back up the device using iTunes.
    2.    Restore the iPhone as a new device to complete the unlock.
    3.    Restore the iPhone again from Back up file to get all the data back.

    Thank you for your reply.
    I see. So When it asks me would you like to set it up as a
    1. New Device,
    2. Back Up from iTunes or
    3. Back up from iCloude
    I should select as a New Device? And re-use my current apple ID? I selected option 2 and didn't get the message "Congradulation, your iPhone is now unlocked"

Maybe you are looking for