瀏覽代碼
Merge pull request #352 from aaronraimist/patch-4
Use Postgres 12.1 when creating a backup
pull/354/head
Slavi Pantaleev
6 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
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 |
|
|
|