简体   繁体   中英

How can i run rethinkdb-dump/export in RethinkDB + Docker

When running RethinkDB through Docker: http://dockerfile.github.io/#/rethinkdb , i would like to be able to export datas through "rethinkdb-dump or rethinkdb-export", however it throws me the following error:

Failed to move temporary directory to output directory (/tmp/tmpqx0xvM/rethinkdb_dump_2014-01-23T15:57:44): No such file or directory

I can correctly access to the RethinkDB admin panel through 192.168.33.10:8080. The command i ran was:

rethinkdb-export -c 192.168.33.10:28015

Im running Docker + RethinkDB inside the Vagrant (Ubuntu 13.04), i've tried running the same command by installing rethinkdb directly with the python driver, and it works perfectly.

This is the only holdback to let me use Docker + RethinkDB, any help would be appreciated.

Edit: problem solved, see https://github.com/rethinkdb/rethinkdb/issues/1904

As @Atnnn pointed out, RethinkDB when having no tables in the DB would result in an error when starting a rethindkb export/dump . A recent version of the Python driver now fixes this problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM