Skip to content
Snippets Groups Projects
Verified Commit 0c23d935 authored by anarcat's avatar anarcat
Browse files

finalize psql upgrade procedure

parent 19cbb9d9
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,12 @@ PostgreSQL is special and needs to be upgraded manually.
mv /etc/postgresql/9.6/$cluster/conf.d/* /etc/postgresql/11/$cluster/conf.d/
done
4. make sure the new cluster isn't backed up by bacula:
touch /var/lib/postgresql/11/.nobackup
TODO: put in Puppet.
4. change the cluster target in the backup system, in `tor-puppet`,
for example:
......@@ -171,6 +177,14 @@ PostgreSQL is special and needs to be upgraded manually.
alberti:
address: 94.130.28.196
6. once everything works okay, remove the old packages:
apt purge postgresql-9.6 postgresql-client-9.6
7. purge the old backups directory after a week:
ssh bungei.torproject.org "echo 'rm -r /srv/backups/pg/meronense-9.6/' | at now + 7day"
Notable changes
===============
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment