Skip patroni tree during backups

This commit is contained in:
Joshua Boniface 2021-05-30 23:39:37 -04:00
parent ac0c3b0ec9
commit a1e8cc5867
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ def backup_cluster(zkhandler):
if child_prefix + child == '/zookeeper': if child_prefix + child == '/zookeeper':
# We must skip the built-in /zookeeper tree # We must skip the built-in /zookeeper tree
continue continue
if child_prefix + child == '/patroni':
# We must skip the /patroni tree
continue
get_data(child_prefix + child) get_data(child_prefix + child)
get_data('/') get_data('/')