From a1e8cc5867bea027a166583e9167f2c787041a1e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 30 May 2021 23:39:37 -0400 Subject: [PATCH] Skip patroni tree during backups --- api-daemon/pvcapid/helper.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api-daemon/pvcapid/helper.py b/api-daemon/pvcapid/helper.py index 3f3d1096..4a628f69 100755 --- a/api-daemon/pvcapid/helper.py +++ b/api-daemon/pvcapid/helper.py @@ -94,6 +94,10 @@ def backup_cluster(zkhandler): if child_prefix + child == '/zookeeper': # We must skip the built-in /zookeeper tree continue + if child_prefix + child == '/patroni': + # We must skip the /patroni tree + continue + get_data(child_prefix + child) get_data('/')