-
Notifications
You must be signed in to change notification settings - Fork 0
Processes
Ethan Turkeltaub edited this page Aug 24, 2024
·
2 revisions
- With new version of PostgreSQL running, delete all reinitialized users and databases
- Stop the new version of PostgreSQL
- Find old and new path for binaries (
ls /nix/store/*postgresql-<version>*/bin/psql). Copy the/binpath (not the executable). - As
postgresuser, runpg_upgrade:pg_upgrade -b <old bin path> -B <new bin path> -d /var/lib/postgresql/<old version>/ -D /var/lib/postgresql/<new version>/ - Restart PostgreSQL
- Create with Terraform
- Output created token (
ey...) -
echo "token" | base64 --decode=>{"a": "...", "t": "...", "s": "..."}=>{"AccountTag":"","TunnelID":"","TunnelSecret":""}(this is the credentials file)