Results 1 to 9 of 9

Thread: Accidental dump

  1. #1
    Join Date
    Mar 2012
    Posts
    5

    Unanswered: Accidental dump

    Hi,

    I accidentally dumped a database and there's no backup to be found. It was done from phpMyAdmin so no location for the dump.

    The only info I have on this server is:

    MySql (database server)
    Server version: 5.0.77-4.el5_6.6
    Client version: 5.0.77-4.el5_6.6
    Status: mysqld (pid 3843) is running...

    Is there any way for me to get it back? Any help/suggestions appreciated.

    Thank you.

  2. #2
    Join Date
    Sep 2009
    Location
    San Sebastian, Spain
    Posts
    880
    I am not sure what you mean by dump? Do you mean drop?
    Ronan Cashell
    Certified Oracle DBA/Certified MySQL Expert (DBA & Cluster DBA)
    http://www.it-iss.com
    Follow me on Twitter

  3. #3
    Join Date
    Mar 2012
    Posts
    5
    Quote Originally Posted by it-iss.com View Post
    I am not sure what you mean by dump? Do you mean drop?

    Drop. Drop is what I meant. Not dump. Although there is an equivalency there in the prognosis.

  4. #4
    Join Date
    Mar 2004
    Posts
    480
    No there isn't an equivalency at all. DROP means it is gone and not retrievable without a backup. A DUMP, specifically with mysqldump means that you have used that program to create a backup of your table or database.

  5. #5
    Join Date
    Sep 2009
    Location
    San Sebastian, Spain
    Posts
    880
    As has been said above, the underlying folder and file structure for that database has now gone. There is one last alternative which you could try and that is to get a specialist to attempt to recover deleted files from your hard disk. But you should stop the server immediately and make sure nothing else gets written to harddisk which could overwrite the underlying files.
    Ronan Cashell
    Certified Oracle DBA/Certified MySQL Expert (DBA & Cluster DBA)
    http://www.it-iss.com
    Follow me on Twitter

  6. #6
    Join Date
    Mar 2012
    Posts
    5
    Thank you for the replies. I'll shut it down and see if I can find someone to retrieve that data. Tanks again.

  7. #7
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    good luck
    but I fear you are stuffed with a capital F
    I'd rather be riding on the Tiger 800 or the Norton

  8. #8
    Join Date
    Mar 2012
    Posts
    5
    Hard drive recovery is usually priced in the thousands

    Perhaps there was an operating system backup that included /var/lib/mysql. The database may not be consistent but better than losing it all.

  9. #9
    Join Date
    Sep 2009
    Location
    San Sebastian, Spain
    Posts
    880
    Hard drive recovery software is cheap enough. Remember your hard disk has not failed, it is that you have only deleted the data. The contents remain on disk somewhere but the link to the file contents has been removed. Have a look at software that allows recovery. This usually costs about $100.
    Ronan Cashell
    Certified Oracle DBA/Certified MySQL Expert (DBA & Cluster DBA)
    http://www.it-iss.com
    Follow me on Twitter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •