Browse Source
Use Postgres 12.1 when creating a backup
pull/352/head
Aaron Raimist
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/maintenance-postgres.md
|
|
@@ -42,7 +42,7 @@ docker run \ |
|
|
--rm \ |
|
|
--rm \ |
|
|
--network=matrix \ |
|
|
--network=matrix \ |
|
|
--env-file=/matrix/postgres/env-postgres-psql \ |
|
|
--env-file=/matrix/postgres/env-postgres-psql \ |
|
|
postgres:12.0-alpine \ |
|
|
|
|
|
|
|
|
postgres:12.1-alpine \ |
|
|
pg_dumpall -h matrix-postgres \ |
|
|
pg_dumpall -h matrix-postgres \ |
|
|
| gzip -c \ |
|
|
| gzip -c \ |
|
|
> /postgres.sql.gz |
|
|
> /postgres.sql.gz |
|
|
|