Skip patroni tree during backups
This commit is contained in:
parent
ac0c3b0ec9
commit
a1e8cc5867
|
@ -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('/')
|
||||||
|
|
Loading…
Reference in New Issue