zktreeutil1
Manual page for zktreeutil 0.0
Usage
zktreeutil [args-and-values]
+
Overview
ZK-tree utility for managing ZK-tree with XML import/export, viewing diff between live and saved ZK-tree and performing incremental update of the same.
--import or -I:
-
Imports the zookeeper tree from XML file. Must be specified with
--zookeeperAND--xmlfileoptions. Optionally takes--pathfor importing subtree
--export or -E:
-
Exports the zookeeper tree to XML file. Must be specified with
--zookeeperoption. Optionally takes--pathfor exporting subtree
--update or -U:
-
Updates zookeeper tree with changes from XML file. Update operation is interactive unless specified with
--forceoption. Must be specified with--zookeeperAND--xmlfileoptions. Optionally takes--pathfor updating subtree.
--diff or -F:
-
Creates a list of diff actions on ZK tree based on XML data. Must be specified with
--zookeeperOR--xmlfileoptions. Optionally takes--pathfor subtree diff
--dump or -D:
-
Dumps the entire ZK (sub)tree to standard output. Must be specified with
--zookeeperOR--xmlfileoptions. Optionally takes--pathand--depthfor dumping subtree.
--xmlfile=<filename> or -x <filename>:
-
Zookeeper tree-data XML file.
--path=<znodepath> or -p <znodepath>:
-
Path to the zookeeper subtree rootnode.
--depth=<tree-depth> or -d <tree-depth>:
-
Depth of the ZK tree to be dumped (ignored for XML dump).
--force or -f: Forces cleanup before import; also used for forceful
-
update. Optionally be specified with
--importand--update.
--help or -h:
-
prints this message
--zookeeper=<zkhosts> or -z <zkhosts>:
-
specifies information to connect to zookeeper.
Releases
5 releases since Debian 7 (Wheezy); the text changed 4 times.