瀏覽代碼

Merge pull request #2259 from throny/patch-3

warn users about upgrading to pg15 when using borg
pull/2256/head^2
Slavi Pantaleev 3 年之前
committed by GitHub
父節點
當前提交
943189a9aa
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      docs/maintenance-postgres.md

+ 4
- 0
docs/maintenance-postgres.md 查看文件

@@ -80,6 +80,10 @@ 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.**
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"`



Loading…
取消
儲存