Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.23 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.23 KB

Thinker

###A RethinkDB management tool.

A command line tool to ease development and administration.

###Why? I have a production app using RethinkDB, and I wanted an easy way to clone the database to another server for development.

###So all it can do is clone databases? Yep. But I plan on adding other tools that I and the community find useful.

###How do I use it?

  Thinker Clone
  ==============================

  Clone a RethinkDB database on the same host or between remote hosts.

  Usage:
  thinker clone [options]
  thinker clone --sh host[:port] --th host[:port] --sd dbName --td newDbName
  thinker clone -h | --help

  Options:
  --sh, --sourceHost=<host[:port]>    Source host, defaults to 'localhost:21015'
  --th, --targetHost=<host[:port]>    Target host, defaults to 'localhost:21015'
  --sd, --sourceDB=<dbName>           Source database
  --td, --targetDB=<dbName>           Target database

  --pt, --pickTables=<table1,table2>  Comma separated list of tables to copy (whitelist)
  --ot, --omitTables=<table1,table2>  Comma separated list of tables to ignore (blacklist)
                                      Note: '--pt' and '--ot' are mutually exclusive options.

###How do I get it? npm install -g thinker