Datafile of DB got deleted..!!

Dear All,
Unknowingly the data file has been deleted from the file system of the Server..
It was an accident...
and now the DB is not coming up...
it shows like:
SQL> startup;
ORACLE instance started.
Total System Global Area 581523028 bytes
Fixed Size 456276 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10641408 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 12 - see DBWR trace file
ORA-01110: data file 12: '/proddata/testdata/ts_test01.dbf'
How can I recover the DB back to its original state...
Please update.... This is critical for us...
Many thanks in advance....

santark wrote:
Many Thanks for everybody's valuable responses....
Your only option is to offline drop the datafile, open, drop the tablespace, create the tablespace, then import
I did the Offline drop of the datafile as well did the Open of the DB
It works now...
Thanks for all once again......
But the next steps to:
1. drop the tablespace,
2. create the tablespace
3. then import..?
I can do the drop and create tablespace, Does this tablespace name should be in the same location as well as with same name.?It doesn't have to be, but if you have a different tablespace name you have to be careful. It's been a while, so I may not recall the details correctly, but I believe it is something like, if the tablespace of the object does not exist, it will use the default tablespace of the import user. So if you are importing with SYSTEM, everything will go in the SYSTEM tablespace, which is a Bad Thing. The way to get around this is to create the object with the correct storage parameters before importing the rows. You can use parameters like SHOW and INDEXFILE to create command files to do what you want, see the Utilities manual for details.
and import means what shall I import..?The data that you've lost that was in the tablespace you dropped. Details depend on what was in the tablespace and how you exported it. Since it has test in its name, perhaps you have some other loading routine? Is the data in that tablespace specific to it, not dependent on any other tablespaces?
>
Please update....If you aren't in archivelog mode, you can't get the db exactly the way it was. You might consider that even with test databases, there are users, who really don't want to lose their hard work.

Similar Messages

  • Somehow my entire itunes library got deleted ... I have the old ipod nano, which does not connect with iCloud so it has all been saved there, BUT .. I cannot load all my music that I put on and I no longer have the cd's PLEASE HELP!!!!

    PLEASE HELP!!!  Somehow my entire iTunes library got deleted, and I cannot sync all my music that I put on from cd's (which I no longer have). All the purchased music has been synced, but nothing else! All my other devices are synced with iCloud and lost the material as well ... I am so frustrated, because the nano has not been working properly, and I am afraid of losing it forever, and of course the cd's I backed everything with are MIA!!!! GRRR! Please HELP!!!
    Thank you so much!

    I can't tell from your post what you have and what you don't have. Are you saying the files are no longer on your computer, no longer on your iPod, or both?

  • Need help, MMC tree got deleted, very urgent.

    Hi,
    My sap MMC tree, got deleted in the server. I have been trying to restore since 2 days and couldnt succeed, please help me.
    1) i have uncared the sapmmc.sar from   Kernal\NT\I386\MMC\sapmmc.sar file
    2) i got about 7 files, in which there is one sapmmc file i have tried to double click it, n check but no go.
    3) i also tried to run the Sapstartsrv.exe file and fill in up the values in pop up window. & filled up the following values :-
                        SID: DEV
                        NR: 00
                        StartProfile:  (entire start profile path given)
                        user: devadm
                        passwd; (given)
    - but it says "the account name is invalid or does not exist or the password is invalid for account name specified"/
    - no go in both the cases.
    Please need help very urgent.
    Regards,
    Satish.

    siva,
    I am getting same error since 2 days
    SID: DEV
    NR: 00
    Start Profile: (entire start profile path)
    User: <hostname>/devadm
    passwd: ****
    Error:
    cannot install service
    create service failed:421
    The account name is invalid or doesnot exist, or the passwd is invalid for the account name specified.
    Edited by: satish c on Jun 4, 2008 11:12 AM

  • My macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now t wont open because of the update. Any ideas on how to update it or get safari back? it got deleted :/

    my macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now it wont open because of the version of mac OS X update. Any ideas on how to update it or get safari on my mac? It got completly deleted i checked everywhere including applications but its gone. it got deleted :/

    Here it is : Safari 5.0.6 for Leopard

  • My iTunes got deleted off a (no longer working) computer. Is there a way I can transfer all content from my iPhone onto iTunes on a new computer? I want to update my phone, but do not want to lose any music off it when syncing it.

    My iTunes got deleted off a (no longer working) computer. I have lost all music & data that was on this original itunes. Is there a way I can transfer all content from my iPhone (music & photos) onto iTunes on a new computer? I want to update my iphone (3GS), but do not want to lose any music off it when syncing it. Help please!!

    By design, the iphone will sync itunes content with one computer at a time. Any attempt to sync such content with a second computer will result in ALL itunes content being first erased from your phone & then replaced with the content from the second computer. This is a design feature and cannot be overridden. Because you are using a new computer, your phone will see this computer as a "new" computer. The itunes content sync is one way: computer to phone. If you have photos that were synced to your phone or music ripped on your own that were not backed up, you will first have to extract them from your phone using third party software, before you do anything else, as Apple makes no provision to do so:
    http://www.wideanglesoftware.com/touchcopy/index.php
    Once you've done that, do the following in the order specified:
    1. Disable auto sync when an iPod/iPhone is connected under iTunes>Preferences(under the edit menu if using Windows)>Devices in itunes.
    2. Make sure you have one contact & one event in the supported applications(Address Book & iCal or Outlook, Windows Address Book) on your computer. These entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect your phone, iTunes running, DO NOT SYNC at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on your phone will be in your itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore your itunes content, which you select from the various tabs, You'll get a popup regarding your contacts & calendars asking to merge or replace, select merge.
    You should be good to go.

  • Table entries got deleted  ,how can we find who has deleted these entries

    Hi Team,
    We are using ECC6 /Oracle,few days back 2000 entries got deleted from one table.
    How can we get the log for deleted entries with all the details like User ID ,Date and time of Deletion.
    I have already checked STAD and DBACOCKPIT for SQL queries of deletion of records but could not find any log .
    Kindly help me to resolve this issue.

    Yes, under controlled situation, you can find some information(at least date and time with what was deleted) even if deleted from SQL level.
    You can use ORACLE's log miner - Using LogMiner to Analyze Redo Log Files
    Or have a look at this note: 1128990 - Using Oracle Logminer with Oracle >= 10g
    Regards,
    Divyanshu

  • Photos got deleted from roll after accepting icloud photo share, How do I recover?

    Photos got deleted from roll after accepting icloud photo share. How could I  recover them?

    Hi JapArun,
    The resource below explains what happens when you enable the iCloud Photo Library feature.  I've highlighted the key information here for you.  Click on the article for complete details.
    Get help with your iCloud Photo Library - Apple Support
    https://support.apple.com/en-us/HT204570
    What happened to the Camera Roll album on my iOS device?
    When you turn on iCloud Photo Library, The Camera Roll album is replaced with an All Photos album. The All Photos album gives you the same compact scroll view, now with all your photos and videos organized by the date you add them.
    Take Care,
    - Judy

  • How can i get my name to appear under devices in itunes. It got deleted, and I can't get it back on.

    I'm trying to get my name to appear under devices in itunes for my iphone. It got deleted, and I can't get it back on.

    You need iTunes version 11+.
    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/TS1567
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
     Cheers, Tom

  • My iPhoto got deleted, when i try to re-download it from app store, i am prompted that Mac OS 10.9 or later is needed, is there any way i could back my iPhoto (and iMovies and garageband) back?

    My iPhoto somehow got deleted from my Macbook Pro. Now when i try to re-download it from app store, i get the message, "we could not complete your purchase, iPhoto cant be installed on Mac OSX install ESD, because Mac OS X version 10.9 or later is required." The iphoto was actually installed on this macbook and now i cant re-install it. This version of macbooks dont come with any CD. Please help somebody?

    Restore iPhoto from your boot drive backup.
    OT

  • Why cant i download itunes on my windows 7 pc? i used to have it once but it was not updated for a while and got deleted...i have tried to download it on other web browser but all i got was "thanks for downloaing itunes" and nothing happened

    why cant i download itunes on my windows 7 pc? i used to have itunes on my pc once but it was not uploded for a while and got deleted...and now i have tried to download it and all i got was "thanks for download itunes"...after that i have tired to dwnload it from another web browser and ive got the same thing.....!!

    Perhaps try downloading and saving a copy of the installer to a different PC. (If you're on a 32-bit Windows system, try to download on a different 32-bit Windows system.) Copy the iTunesSetup.exe installer to an external hard-drive, or a large-enough thumb drive or burn it to a CD-R. Carry the installer back to your PC, copy the installer to your hard drive. (Don't run the install from the ExHD, thumb or CD-R.) Start the install by doubleclicking the iTunesSetup.exe file.

  • HT1766 My ipod 4g keept crashing so then i read on this website to go to settings and rest everything. And when i did everything on my ipod got deleted.I tried restarting it but i didnt restore my ipod before everthing got erased. How can i get it all bac

    My ipod 4g keept crashing so then i read on this website to go to settings and rest everything. And when i did everything on my ipod got deleted.I tried restarting it but i didnt restore my ipod before so everthing got erased. How can i get it all back???

    Restore from backup if you have one:
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • I upgraded my iphone 3gs to the 5.0 version and all of my contacts, calanders got deleted. How can i get them back?

    i synced my iphone to the computer to upgrade it to the 5.0 version, but all of my contacts got deleted and so did my calander. Help!

    SIRI is only for IPhone 4s.  You have  voice control, not SIRI.

  • HP C310a got deleted now I can't install it again

    I have an HP C310a and it was printing occasionally wirelessly.  It would print a couple of pages then have connection problems.  Somehow it got deleted from my computer and now I cannot seem to reinstall it at all.  I have tried the HP website for drivers and have tried the software update.  I could plug it in but then I can only print with it plugged in.  I need to be able to print wirelessly but can't do anything since it was deleted. Could someone please send me a link to where I would get the correct driver? The only one on the HP site does not work with Lion.

    Hi,
    I found some interesting info here, but I'm not sure they're pertinent to your problem... HTH
    Edit: I suppose you've visited this thread...

  • In my computer some of the iTunes files got deleted accidently and I couldn't reinstall it . Evrytime I try torun setup file  I am getting this error message "C:\Users\Rif\AppData\Local\Apple\Apple Software Update\" ,appreciate if anyone can help me on th

    In my computer some of the iTunes files got deleted accidently and I couldn't reinstall it . Evrytime I try torun setup file  I am getting this error message"C:\Users\Rif\AppData\Local\Apple\Apple Software Update\" ,appreciate if anyone can help me on this pls?

    Even after deleting all files and folders from hard drive i am still getting this error!!

  • TS3694 I keep getting the error message "-42408" and all of my apps got deleted on my iPhone. It says that I need to authorize my computer, so I tried than and that's when the error message showed up. I'm pretty ****** and want my apps to be back on my iP

    I keep getting the error message "-42408" and all of my apps got deleted on my iPhone. It says that I need to authorize my computer, so I tried than and that's when the error message showed up. I'm pretty ****** and want my apps to be back on my iPhone. Please help.

    What version of iTunes are you using?  The error you references seems to be connected with iTunes 9.0.4.  That version of iTunes is not compatible with iOS 6. You need to update to the current version of iTunes.

Maybe you are looking for

  • Forcefully Mailbox database remove

    When i am removing the mailbox database. following error is shown [PS] C:\Windows\System32>Remove-MailboxDatabase -Identity Mailbox Database 1853738799 Creating a new session for implicit remoting of "Remove-MailboxDatabase" command... New-PSSession

  • Mac osx version 10.4.11

    I have mac osx version 10.4.11 dose anyone know what version is the next upgrade and how much it will cost me. thanks

  • Boot Camp 3.1 32 bit download problem

    Manual or Apple Software Update of Boot Camp 3.1 won't work Manual download of file seems to be broken (icon for program is not the same as the ones for BC3.2,BC3.3) ASU downloads and indicated that it installed but never show any progress in doing s

  • I would like to record music directly off my amplifier onto my iPod touch 4th gen.

    I would like to learn how to record onto my iPod 4th gen 64GB directly from my amplifier.  Seems like it should be easy to do.  anybody got any tips? Thanks, iamkevman1

  • DELETED TEXT MESSAGES

    I really hope someone has answers for me because I am ready to give up on my blackberry.  This has happened several times to both myself and my friends. Scenario: You wake up one morning and all your text messages in your inbox are erased!?!? THis ha