Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I exported my database to test whether it works. I then deleted the database and then it went to the "Trash" (I'm using Ubuntu). I then deleted it from "Trash" accidently.

Is there a way to recover my database?

share|improve this question

migrated from Sep 8 '09 at 13:41

This question came from our site for professional and enthusiast programmers.

I'm voting to close and move to - it's about a deleted file in ubuntu. It makes little difference that it was a database. – Kobi Sep 8 '09 at 9:16
I think you have to search for some file recovery tools. It depends on your file system: ext2, ext3 and so on. – x2. Sep 8 '09 at 9:17
How did you export your database? – Johan Sep 8 '09 at 9:46

if you exported your database you can import it again, right? e.g. using phpmyadmin

share|improve this answer

It's deleted permanently, the DB platform can do nothing for you, you might try a file recovery software, like Testdisk and PhotoRec (both work with Ubuntu), but it has a quite low success rate in these situations.

share|improve this answer

You must log in to answer this question.