... | ... | @@ -203,7 +203,14 @@ PostgreSQL is special and needs to be upgraded manually. |
|
|
|
|
|
ssh bungei.torproject.org "mv /srv/backups/pg/meronense /srv/backups/pg/meronense-11 && sudo -u torbackup mkdir /srv/backups/pg/meronense"
|
|
|
|
|
|
3. do the actual cluster upgrade, on the database server:
|
|
|
3. on the database server, possibly stop users of the database,
|
|
|
because it will have to be stopped for the major upgrade. on the
|
|
|
Bacula director, in particular, this probably means waiting for
|
|
|
all backups to complete and stopping the director:
|
|
|
|
|
|
service bacula-director stop
|
|
|
|
|
|
3. on the database server, do the actual cluster upgrade:
|
|
|
|
|
|
export LC_ALL=C.UTF-8 &&
|
|
|
printf "about to drop cluster main on postgresql-13, press enter to continue" &&
|
... | ... | @@ -214,6 +221,10 @@ PostgreSQL is special and needs to be upgraded manually. |
|
|
mv /etc/postgresql/11/$cluster/conf.d/* /etc/postgresql/13/$cluster/conf.d/
|
|
|
done
|
|
|
|
|
|
4. if services were stopped on step 3, restart them, e.g.:
|
|
|
|
|
|
service bacula-director start
|
|
|
|
|
|
4. change the cluster target in the backup system, in `tor-puppet`,
|
|
|
for example:
|
|
|
|
... | ... | |