Giter Site home page Giter Site logo

rocks's Introduction

Build Status

Rocks

Rocks is a RocksDB Ops CLI. It is portable and helps you do perform common administrative operations on one or many rocksdb instances.

Usage

$ rocks --help
Perform common ops related tasks on one or many RocksDB instances.

Find more details at https://github.com/ind9/rocks

Usage:
  rocks [command]

Available Commands:
  restore     Restore backed up rocksdb files
  backup      Backup rocksdb files
  trigger     Triggers a backup on the remote system

Use "rocks [command] --help" for more information about a command.

Restore

$ rocks restore --help
Restore backed up rocksdb files

Usage:
  rocks restore [flags]

Flags:
      --dest string      Restore to
      --keep-log-files   If true, restore won't overwrite the existing log files in wal_dir
      --recursive        Trying restoring in recursive fashion from src to dest
      --src string       Restore from
      --wal string       Restore WAL to (generally same as --dest)

Backup

$ rocks backup --help
Backs up rocksdb files

Usage:
  rocks backup [flags]

Flags:
      --dest string      Backup to
      --recursive        Trying to backup in recursive fashion from src to dest
      --src string       Backup from

Remote Backup Trigger

$ rocks trigger http --help
Triggers a backup via HTTP

Usage:
  rocks trigger http [flags]

Flags:
  -H, --header value             HTTP Headers that needs to be passed with the request in key=value format (default [])
      --http2                    Make a HTTP2 request instead of the default HTTP1.1
  -X, --method string            HTTP Method to invoke on the url (default "GET")
  -D, --payload string           File contents to be passed as payload in the request. If you're pipeing use "stdin".
  -k, --skip-ssl-verificatioin   Ignore SSL errors - while connecting to self-signed HTTPS servers

License

http://www.apache.org/licenses/LICENSE-2.0

rocks's People

Contributors

ashwanthkumar avatar

Watchers

James Cloos avatar Aayush Kumar 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.