rethinkdb-dump-restore-cli
v1.5.0
Published
Quickly dump and restore your RethinkDB database.
Downloads
4
Readme
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
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.
- [x] Add option to restore spedicified tables.
- [x] Add option to list out all dumps.
- [x] 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