Last active
July 16, 2019 07:57
-
-
Save Xarkam/4b3b492d259b3d0a7b11ae07908e37eb to your computer and use it in GitHub Desktop.
Update postgresql 9.3 to 9.4 on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps: | |
1. uninstall Postgres 9.4 | |
2. install 9.3 | |
3. backup the database using pg_dumpall > backup.sql | |
4. uninstall Postgres 9.3 | |
5. install Postgres 9.4 | |
6. restore the databases using psql -d postgres -f backup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment