From 56b0706863f7c1f2851c1dd08faf3b4fa3128eda Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 17 Mar 2023 08:27:25 +0200 Subject: [PATCH] Fix default database name For backward-compatibility reasons, this playbook uses `matrix` as its main and default database. --- docs/importing-postgres.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/importing-postgres.md b/docs/importing-postgres.md index 150164e71..3c6935780 100644 --- a/docs/importing-postgres.md +++ b/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