diff --git a/src/charm.py b/src/charm.py index 8a3e3ab41a..362b0931e0 100755 --- a/src/charm.py +++ b/src/charm.py @@ -1411,6 +1411,11 @@ def _set_primary_status_message(self) -> None: try: if "require-change-bucket-after-restore" in self.app_peer_data: self.unit.status = BlockedStatus(MOVE_RESTORED_CLUSTER_TO_ANOTHER_BUCKET) + self.app_peer_data.update({ + "restoring-backup": "", + "restore-stanza": "", + "restore-to-time": "", + }) return if self._patroni.get_primary(unit_name_pattern=True) == self.unit.name: self.unit.status = ActiveStatus("Primary")