rethinkdb-dump-restore-cli

1.5.0 • Public • Published

RethinkDB Dump & Restore CLI

This utility helps dump and restore your rethinkdb database.

Installation

Using NPM

  npm install -g rethinkdb_dump_restore_cli

You now have access to rtkdb globally.

Run the utility.

  rtkdb

rtkdb dump db screenshot 1

Locating the dumped files.

All dumps are located in $HOME/.rtkdb/dumps. This is automatically created when you first run the rtkdb command.

Overriding the defaults settings.

Create the following JSON file $HOME/.rtkdb/rtkdbconfig.json

  {
    "hostname": "localhost",
    "portnumber": 28015,
    "db": "ayy"
  }
 

Todo.

  • Add option to dump specified tables.
  • Add option to restore spedicified tables.
  • Add option to list out all dumps.
  • Add option to view rtkdbconfig.json.
  • Add option to configure rtkdbconfig.json from cli.
  • Add option to change rtkdb home directory. defatul is $HOME/.rtkdb

Readme

Keywords

Package Sidebar

Install

npm i rethinkdb-dump-restore-cli

Weekly Downloads

0

Version

1.5.0

License

ISC

Unpacked Size

122 kB

Total Files

10

Last publish

Collaborators

  • cbaston