Results 1 to 5 of 5

Thread: How to recover a database after its been dropped

  1. #1
    Join Date
    Nov 2008
    Posts
    73

    How to recover a database after its been dropped

    I was working with the company's employee database and mistakenly i click on the "drop" button instead of the "empty" button. An accidental 'DROP DATABASE xxx" was happened, How could i recover dropped database and is it possible, it is very much need for me, Please help.

  2. #2
    Join Date
    Jan 2009
    Posts
    150

    Re: How to recover a database after its been dropped

    Select the Restore a dropped database check box to restore a database that has been dropped. At the bottom right hand you will find and and Next button Click it. Then it will displays selection page. Select the point in time to which you want to restore. Use the Date and Time fields and controls option to specify a date and time. All transactions that have been completed up to that point in time will be recovered. I'm guessing that the table space will be updated to show that the blocks that contained your tables will be marked "free", but not physically removed. Click Next to continue. The Recovery Options page is displayed. Click Next to continue. The Summary page is displayed. Click Finish to restore the database.

  3. #3
    Join Date
    Feb 2008
    Posts
    137

    Re: How to recover a database after its been dropped

    I can't think of a MySQL-level solution to this problem. About the only thing you can do is to try to recover at the file level, DB2 allows you to recover a database's data using a database restore operation, You can do so either graphically using the DB2 Control Center or via the command line:

    db2=> create database DBSTUDY

    Next, connect to the database. In the case of this sample, DBSTUDY has a user named db2admin with a password of db2admin:

  4. #4
    Join Date
    Feb 2008
    Posts
    121

    Re: How to recover a database after its been dropped

    The Database File refers to the physical file that contains the data the SQL server manages. This file is more than just a container for data. The datastructures could still be there, So one need a script which does a undelete. MyISAM: You need to do a file recovery on OS side (undelete). Then it could work.

  5. #5
    Join Date
    Feb 2008
    Posts
    180

    Re: How to recover a database after its been dropped

    Inside DB2, the database is divided into tablespaces. Database tables are assigned to these table spaces. Using mysqlbinlog on the binary logs will be able to recreate the data. In order for a dropped table to be recoverable, you have to turn on the DROPPED TABLE RECOVERY option on the table space that houses it. The Database Management System interacts and works will all the above items. This option is enabled by default for newly created data table spaces if you used the command line to create your table space.

Similar Threads

  1. How to recover corrupt backup data from inaccessible database?
    By pamelathomash in forum Windows Software
    Replies: 1
    Last Post: 10-01-2013, 11:52 AM
  2. fps dropped to 6-7 with GTX 680 sli
    By Rodriguez_bronx in forum Monitor & Video Cards
    Replies: 7
    Last Post: 11-05-2012, 04:23 PM
  3. Calls getting dropped on evo
    By Sheridan^OS in forum Portable Devices
    Replies: 4
    Last Post: 24-08-2010, 05:13 AM
  4. Recover a database in Microsoft Access
    By Balamani in forum Windows Software
    Replies: 3
    Last Post: 11-11-2009, 06:56 PM
  5. convert filemaker pro database to access database
    By Czack in forum MS Office Support
    Replies: 3
    Last Post: 15-04-2007, 01:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,986,384.61612 seconds with 17 queries