GithubHelp home page GithubHelp logo

guano's Introduction

BADGES

Download Build Status

NAME

 guano -- dump or restore Zookeeper trees

SYNOPSIS

 guano [operands ...]

DESCRIPTION

 This tool dumps and restores zookeeper state to/from a matching folder structure on disk.
 The server argument is mandatory then either a node to dump and where to dump it,
 or a previous dump to restore and the root to restore it to.

 usage: guano [-v] -s <zk_connect> [-d <znode> -o <folder>] [-r <znode-root> -i <folder>]

  -s,--server <arg>          *Required, the zookeeper remote server to connect to
                             i.e. "localhost:2181"
                             
  -d,--dump-znode <arg>      the znode to dump (recursively)
  -o,--output-dir <arg>      the output directory to which znode
                             information should be written (must be a
                             normal, empty directory)
                             
  -i,--input-dir <arg>       the input directory from which znode
                             information should be read
  -r,--restore-znode <arg>   the znode into which read data should be
                             restored

  -v,--verbose               enable debug output

  Note: When restoring you need to provide one level up as the node selected for the dump is included.
    e.g. java -jar target/guano-0.1a.jar -s "zookeeper-01.mydomain.com" -o "/tmp/zkdump" -d "/myroot"
         java -jar target/guano-0.1a.jar -s "zookeeper-01.mydomain.com" -i "/tmp/zkdump" -r "/"

PREBUILT BINARIES

 Pre-built binaries are available for most common platforms on Bintray

guano's People

Contributors

d2fn avatar f1yegor avatar feldoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.