This can be trivial, depending on what kind of metadata you store in ZK.
I store only UTF-8 encoded strings and numbers, therefore backup is just a simply dump of
all keys/values into a local JSON-files.
This can be restored back into a fresh ZK cluster at any time in no time.
It's just a 20 line Python script or so.
Cheers
Arne
> -----Ursprüngliche Nachricht-----
> Von: Debraj Manna [mailto:subharaj.manna@gmail.com]
> Gesendet: Freitag, 1. März 2019 17:45
> An: user@zookeeper.apache.org
> Betreff: Zookeeper 3.4.13 - Back and restore a zookeeper cluster
>
> Hi
>
> Can someone let me know how can I back up and restore a zookeeper
> ensemble
> of 3 nodes?
>
> I am looking for back up and restore by shutting down all nodes in the
> ensemble.
>
> Zookeeper Version - 3.4.13
>
> Thanks,
|