Recover ancient versions of postgresql

by zakaria mouqcit   Last Updated October 15, 2018 17:06 PM

I was running different postgresql versions. And accidentally they were removed. they contained several databases and I want to recover them. I'm wondering if there'a a command line in linux that allows me to recover lost data.

Your help would be so precious!

Thank you in advance

Tags : postgresql


Answers 1


  1. Take a backup of the entire data directory for each.
  2. Reinstall the version of postgresql you need
  3. Point its data directory at your existing one

If you are running a packaged version of postgresql then there might be nothing to do for 3

Richard Huxton
Richard Huxton
October 15, 2018 16:41 PM

Related Questions


Postgres gist slow index f_unaccent

Updated April 09, 2018 20:06 PM