How do I recover my database?

1

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?

sami

Posted 2009-09-08T09:12:06.473

Reputation:

2

I'm voting to close and move to http://superuser.com/ - it's about a deleted file in ubuntu. It makes little difference that it was a database.

– Kobi – 2009-09-08T09:16:42.013

I think you have to search for some file recovery tools. It depends on your file system: ext2, ext3 and so on. – x2. – 2009-09-08T09:17:03.103

How did you export your database? – Johan – 2009-09-08T09:46:39.930

Answers

2

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

knittl

Posted 2009-09-08T09:12:06.473

Reputation: 3 452

1

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.

Moayad Mardini

Posted 2009-09-08T09:12:06.473

Reputation: 3 513