From 54fa9766fe17c491b4540ad3237248b5819595a2 Mon Sep 17 00:00:00 2001 From: Benjamin Chrobot Date: Mon, 19 Apr 2021 09:40:56 -0400 Subject: [PATCH] docs: add note about archive timeline reset on upgrade --- docs/administrator.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/administrator.md b/docs/administrator.md index 2b65fe3ea..ccc8e2a24 100644 --- a/docs/administrator.md +++ b/docs/administrator.md @@ -48,6 +48,11 @@ upgrade procedure, refer to the [corresponding PR in Spilo](https://github.com/z When `major_version_upgrade_mode` is set to `manual` the operator will run the upgrade script for you after the manifest is updated and pods are rotated. +A major version upgrade will reset the archive timeline to 1. If you are archiving +to cloud storage you will need to manually remove basebackups and WAL segments from +pre-upgrade timelines so Postgres does not try to restore from these seemingly-later +timelines. + ## CRD Validation [CustomResourceDefinitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/#customresourcedefinitions)