Skip to content

Commit

Permalink
modified: docs/how-to/backup-and-restore.md
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jul 15, 2024
1 parent 81d06df commit 74e0456
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions docs/how-to/backup-and-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 74e0456

Please sign in to comment.