Report this

What is the reason for this report?

How do I dump postgresql database from recovery ISO?

Posted on March 24, 2014

I have a postgresql database on a droplet that does not start and I am logged in with the recovery ISO.

How do I get my postgresql database data back? (I thought I should somehow dump the old database on /mnt.)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Try installing postgres on a new droplet and then (while it’s not running), replacing the data directory with the data directory from the old droplet. Does that work?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.