From 74e04562677d290452b71b396ce8e163a8b4b025 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 14:24:28 +0000 Subject: [PATCH] modified: docs/how-to/backup-and-restore.md --- docs/how-to/backup-and-restore.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/how-to/backup-and-restore.md b/docs/how-to/backup-and-restore.md index 994d11f1..2247ef45 100644 --- a/docs/how-to/backup-and-restore.md +++ b/docs/how-to/backup-and-restore.md @@ -53,14 +53,13 @@ juju run synapse/leader list-backups ### Back up PostgreSQL Follow the instructions of the PostgreSQL charm: - - For [postgresql-k8s](https://charmhub.io/postgresql-k8s/docs/h-create-and-list-backups). - - For [postgresql](https://charmhub.io/postgresql/docs/h-create-and-list-backups). + - For [postgresql-k8s](https://charmhub.io/postgresql-k8s/docs/h-create-backup). + - For [postgresql](https://charmhub.io/postgresql/docs/h-create-backup). If you plan to restore PostgreSQL in a different model or cluster, you will need to also back up the cluster passwords. See: - - For [postgresql-k8s](https://charmhub.io/postgresql-k8s/docs/h-migrate-cluster-via-restore). - - For [postgresql](https://charmhub.io/postgresql/docs/h-migrate-cluster-via-restore). - + - For [postgresql-k8s](https://charmhub.io/postgresql-k8s/docs/h-migrate-cluster). + - For [postgresql](https://charmhub.io/postgresql/docs/h-migrate-cluster). ## Restore @@ -73,13 +72,11 @@ for the backup. The configuration for Synapse before restoring the backup should match the configuration in the original application. This is specially important for the configuration option `server_name` and any other configuration related to the filesystem. - ### Restore PostgreSQL - If you use the PostgreSQL integration, follow the instructions given by PostgreSQL: - - For postgresql-k8s: [local restore](https://charmhub.io/postgresql/docs/h-restore-backup), [foreign backup](https://charmhub.io/postgresql/docs/h-migrate-cluster-via-restore). - - for postgresql: [local restore](https://charmhub.io/postgresql/docs/h-restore-backup), [foreign backup](https://charmhub.io/postgresql/docs/h-migrate-cluster-via-restore). + - For postgresql-k8s: [local restore](https://charmhub.io/postgresql/docs/h-restore-backup), [foreign backup](https://charmhub.io/postgresql/docs/h-migrate-cluster). + - for postgresql: [local restore](https://charmhub.io/postgresql/docs/h-restore-backup), [foreign backup](https://charmhub.io/postgresql/docs/h-migrate-cluster). If you used the foreign backup, once the backup for PostgreSQL is restored, you should remove the S3 integration, as it was created in a different cluster, by running: