Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

A PostgreSQL database has mistakenly been deleted from a Linux server. Some binary files of that database have been recovered (maybe all of them but I'm not sure). Is it possible to recover the database from those binary files? If so, how?

share|improve this question

migrated from stackoverflow.com Dec 19 '11 at 5:49

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

(for inf.) database folder deleted in midnight commander using delete function –  ikhtiyor Dec 17 '11 at 17:30
If you don't have a backup, there is no real way in recovering the files. –  DrColossos Dec 17 '11 at 17:40
Do you which files are missing now? does the database start up now? (yes) can you see some of the original tables with the psql \d command , or pgadmin3 ? –  wildplasser Dec 17 '11 at 18:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.