Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
0c23d935
Verified
Commit
0c23d935
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
finalize psql upgrade procedure
parent
19cbb9d9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/howto/upgrades/buster.mdwn
+14
-0
14 additions, 0 deletions
tsa/howto/upgrades/buster.mdwn
with
14 additions
and
0 deletions
tsa/howto/upgrades/buster.mdwn
+
14
−
0
View file @
0c23d935
...
...
@@ -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
===============
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment