This gist was created based on the following guide: upgrading to postgresql 11 on centos 7
Create a backup:
sudo -Hiu postgres pg_dumpall > mybackup.sql
Install PostgreSQL 11:
#!/bin/bash | |
# IMPORTANT: Make sure your VM's network security rules allows access over TCP Port 80. | |
# This is required to pass the HTTP challenge. | |
# Download: curl -o setup.sh <raw URL of this gist> | |
# Enable execution: sudo chmod +x setup.sh | |
# Run: ./setup.sh -d "yourdomain.tld" -e "youremail@yourdomain.tld" | |
while getopts d:e: option |
{ | |
"globals" : | |
{ | |
"alwaysShowTabs" : true, | |
"defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"initialCols" : 120, | |
"initialRows" : 30, | |
"keybindings" : | |
[ | |
{ |
This gist was created based on the following guide: upgrading to postgresql 11 on centos 7
Create a backup:
sudo -Hiu postgres pg_dumpall > mybackup.sql
Install PostgreSQL 11:
#!/bin/bash | |
set -e | |
################################# UPDATE THESE ################################# | |
LAST_N_TAGS=10 | |
SOURCE_REGION="us-west-1" | |
DESTINATION_REGION="us-east-1" | |
SOURCE_PROFILE="profile_1" |