소스 검색

Fix default database name

For backward-compatibility reasons, this playbook uses `matrix` as its
main and default database.
pull/2577/head
Slavi Pantaleev 3 년 전
부모
커밋
56b0706863
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      docs/importing-postgres.md

+ 2
- 2
docs/importing-postgres.md 파일 보기

@@ -25,13 +25,13 @@ To import, run this command (make sure to replace `SERVER_PATH_TO_POSTGRES_DUMP_
```sh
just run-tags import-postgres \
--extra-vars=server_path_postgres_dump=SERVER_PATH_TO_POSTGRES_DUMP_FILE \
--extra-vars=postgres_default_import_database=main
--extra-vars=postgres_default_import_database=matrix
```

**Notes**:

- `SERVER_PATH_TO_POSTGRES_DUMP_FILE` must be a file path to a Postgres dump file on the server (not on your local machine!)
- `postgres_default_import_database` defaults to `main`, which is useful for importing multiple databases (for dumps made with `pg_dumpall`). If you're importing a single database (e.g. `synapse`), consider changing `postgres_default_import_database` accordingly
- `postgres_default_import_database` defaults to `matrix`, which is useful for importing multiple databases (for dumps made with `pg_dumpall`). If you're importing a single database (e.g. `synapse`), consider changing `postgres_default_import_database` accordingly


## Troubleshooting


불러오는 중...
취소
저장