如何从Raspbian mongodump?

时间:2018-07-02 17:01:15

标签: mongodb raspbian

我设法在Raspbian Stretch上安装mongodb的最简单方法是通过

sudo apt-get install mongodb-server

要从那里进行mongodump,但由于SASL错误而无法使用:

pi@raspberrypi:~ $ mongodump --host 1.2.3.4 --port 27017 --username admin --password password --out=/home/pi/MongoDB_Backups/app/db.archive --db admin --authenticationDatabase admin  --authenticationMechanism SCRAM-SHA-1 
connected to: 1.2.3.4:27017
assertion: 2 SASL authentication support not compiled into client library.

能够从Raspbian进行mongodump的解决方法是什么?

0 个答案:

没有答案