소스 검색

Update maintenance-postgres.md

pull/2259/head
throny 3 년 전
committed by GitHub
부모
커밋
f5a09f30b7
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. +2
    -5
      docs/maintenance-postgres.md

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

@@ -81,11 +81,8 @@ This playbook can upgrade your existing Postgres setup with the following comman
ansible-playbook -i inventory/hosts setup.yml --tags=upgrade-postgres

**Warning: If you're using Borg Backup keep in mind that there is no official Postgres 15 support yet.**
However, it is possible to use the `latest` or `14` image. Edit `roles/custom/matrix-backup-borg/defaults/main.yml` and adjust the variables accordingly.
```bash
matrix_backup_borg_version: "latest" # or 14
matrix_backup_borg_supported_postgres_versions: ['12', '13', '14', '15']
```
As long as Alpine Linux is missing packages for postgres15, it is possible to use the `latest` or `14` image of borgmatic. Edit your `vars.yml` and add:
`matrix_backup_borg_version: "latest"`

**The old Postgres data directory is backed up** automatically, by renaming it to `/matrix/postgres/data-auto-upgrade-backup`.
To rename to a different path, pass some extra flags to the command above, like this: `--extra-vars="postgres_auto_upgrade_backup_data_path=/another/disk/matrix-postgres-before-upgrade"`


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