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
ced5b713
Verified
Commit
ced5b713
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
preliminary buster postgresql upgrade procedure
parent
62029215
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
+20
-0
20 additions, 0 deletions
tsa/howto/upgrades/buster.mdwn
with
20 additions
and
0 deletions
tsa/howto/upgrades/buster.mdwn
+
20
−
0
View file @
ced5b713
...
...
@@ -106,6 +106,26 @@ process.
[this guide to free up space]: http://www.debian.org/releases/buster/amd64/release-notes/ch-upgrading.en.html#sufficient-space
Service-specific upgrade procedures
===================================
PostgreSQL
----------
PostgreSQL is special and needs to be upgraded manually. The exact
procedure remains to be determined, but it should be something like:
pg_upgradecluster -m upgrade -k &&
for cluster in `ls /etc/postgresql/9.6/`; do
mv /etc/postgresql/9.6/$cluster/conf.d/* /etc/postgresql/11/$cluster/conf.d/
done
Then the backups need to be reset on the backup storage host because
the WAL counters may change:
12:23:44 <weasel> and once you're done with the upgrade, move the backup on the backuphost aside and let it backup to a new directory
12:23:54 <weasel> upgrades might/will(?) reset the WAL counter
Issues
======
...
...
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