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?

  • 2
    I'm voting to close and move to superuser.com - 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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy