@@ -116,21 +116,21 @@ file to match, and re-start Zulip.
116
116
117
117
If you are using an earlier version of `galexrt/docker-zulip` which
118
118
used the `quay.io/galexrt/postgres-zulip-tsearchextras:latest`
119
- Postgres image, you need to run a few manual steps to upgrade to the
120
- ` zulip/zulip-postgresql` Postgres image (because we've significantly
119
+ PostgreSQL image, you need to run a few manual steps to upgrade to the
120
+ ` zulip/zulip-postgresql` PostgreSQL image (because we've significantly
121
121
upgraded the major postgres version).
122
122
123
123
These instructions assume that you have not changed the default
124
- Postgres data path (`/opt/docker/zulip/postgresql/data`) in your
124
+ PostgreSQL data path (`/opt/docker/zulip/postgresql/data`) in your
125
125
` docker-compose.yml` . If you have changed it, please replace all
126
126
occurences of `/opt/docker/zulip/postgresql/data` with your path.
127
127
128
- 1. Make a backup of your Zulip Postgres data dir.
128
+ 1. Make a backup of your Zulip PostgreSQL data dir.
129
129
130
130
2. Stop all Zulip containers, except the postgres one (e.g. use
131
131
` docker stop` and not `docker-compose stop`).
132
132
133
- 3. Create a new (upgraded) Postgres container using a different data directory :
133
+ 3. Create a new (upgraded) PostgreSQL container using a different data directory :
134
134
135
135
` ` ` shell
136
136
docker run -d \
@@ -142,15 +142,15 @@ occurences of `/opt/docker/zulip/postgresql/data` with your path.
142
142
zulip/zulip-postgresql:latest
143
143
` ` `
144
144
145
- 4. Use `pg_dumpall` to dump all data from the existing Postgres container to
146
- the new Postgres container :
145
+ 4. Use `pg_dumpall` to dump all data from the existing PostgreSQL container to
146
+ the new PostgreSQL container :
147
147
148
148
` ` ` shell
149
149
docker-compose exec database pg_dumpall -U postgres | \
150
150
docker exec -i postgresnew psql -U postgres
151
151
` ` `
152
152
153
- 5. Stop and remove both Postgres containers :
153
+ 5. Stop and remove both PostgreSQL containers :
154
154
155
155
` ` ` shell
156
156
docker-compose rm --stop database
@@ -161,7 +161,7 @@ occurences of `/opt/docker/zulip/postgresql/data` with your path.
161
161
` zulip/zulip-postgresql:latest` image for the `database` container
162
162
(this is the default in `zulip/docker-zulip`).
163
163
164
- 7. Replace the old Postgres data directory with upgraded data directory :
164
+ 7. Replace the old PostgreSQL data directory with upgraded data directory :
165
165
166
166
` ` ` shell
167
167
mv /opt/docker/zulip/postgresql/data /opt/docker/zulip/postgresql/old
@@ -180,5 +180,5 @@ occurences of `/opt/docker/zulip/postgresql/data` with your path.
180
180
docker-compose up
181
181
` ` `
182
182
183
- That should be it. Your Postgres data has now been updated to use the
183
+ That should be it. Your PostgreSQL data has now been updated to use the
184
184
` zulip/zulip-postgresql` image.
0 commit comments