#zookeeper #utility #backup

app zk-loader

CLI application for downloading and uploading zookeeper znodes data

4 releases

Uses old Rust 2015

0.2.0 Apr 18, 2021
0.1.2 Sep 6, 2020
0.1.1 Aug 22, 2020
0.1.0 Nov 4, 2019

#803 in Command line utilities

39 downloads per month

MIT/Apache

25KB
520 lines

Downloads and uploads zookeeper znodes data

USAGE:
    zk-loader.exe [FLAGS] [OPTIONS]

FLAGS:
        --delete     Delete znodes recursively
    -d, --dump       Dump data from znode to file
    -h, --help       Prints help information
    -r, --restore    Restore data from file to znode
    -V, --version    Prints version information

OPTIONS:
    -e, --excluded-znodes <ZNODES>    Excluded znodes. '/zookeeper' will be excluded any way. [env: ZKLOADER_EXCLUDED=]
    -f, --file <FILE>                 Path to data dump file [env: ZKLOADER_FILE=]  [default: zk-dump.tar.gz]
    -s, --servers <SERVERS>           Zookeeper hosts [env: ZKLOADER_SERVERS=]  [default: 127.0.0.1:2181]
    -z, --znodes <ZNODES>             Znodes paths to dump, restore or delete [env: ZKLOADER_ZNODES=]  [default: /]

Changes:

--- 0.2.0 ---

  • Add environment variables support

--- 0.1.2 ---

  • Flag for deleting znoded added
  • Message output muted

--- 0.1.1 ---

  • Ephemeral znodes are excluded from processing.

Dependencies

~2.8–3.5MB
~70K SLoC