瀏覽代碼

Fix Postgres importing guide

This fixes things to make them compatible
with the changes done in 95346f3117
pull/809/head
Slavi Pantaleev 5 年之前
父節點
當前提交
3273f023dc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      docs/importing-postgres.md

+ 2
- 2
docs/importing-postgres.md 查看文件

@@ -7,8 +7,8 @@ Run this if you'd like to import your database from a previous installation.
## Prerequisites ## Prerequisites


For this to work, **the database name in Postgres must match** what this playbook uses. For this to work, **the database name in Postgres must match** what this playbook uses.
This playbook uses a Postgres database name of `homeserver` by default (controlled by the `matrix_postgres_db_name` variable).
If your database name differs, be sure to change `matrix_postgres_db_name` to your desired name and to re-run the playbook before proceeding.
This playbook uses a Postgres database name of `synapse` by default (controlled by the `matrix_synapse_database_database` variable).
If your database name differs, be sure to change `matrix_synapse_database_database` to your desired name and to re-run the playbook before proceeding.


The playbook supports importing Postgres dump files in **text** (e.g. `pg_dump > dump.sql`) or **gzipped** formats (e.g. `pg_dump | gzip -c > dump.sql.gz`). The playbook supports importing Postgres dump files in **text** (e.g. `pg_dump > dump.sql`) or **gzipped** formats (e.g. `pg_dump | gzip -c > dump.sql.gz`).




Loading…
取消
儲存