Scalability – How to back up ZooKeeper?

I have read that copying the data directory will work. However, this is a combination of logs and snapshots. How do people back up the zookeeper infrastructure? exit ? Dump? Custom script? What is the best practice?
We are modifying the zkConfig.py script, which is a project provided when installing zookeeper. It allows you to pass python The script interacts with zookeeper.

We are modifying the script to easily dump and save the entire content every night, and then back up the file. Although I would love to hear other people’s solutions to this.

p>

I have read that copying the data directory will work. However, this is a combination of logs and snapshots. How do people back up the zookeeper infrastructure? exit ? Dump? Custom script? What is the best practice?

We are modifying the zkConfig.py script, which is a project provided when installing zookeeper. It allows you to interact with zookeeper through a python script.

We are modifying the script to easily dump and save the entire content every night, and then back up the file. Although I would love to hear other people’s solutions to this.

Leave a Comment

Your email address will not be published.