我的服务器由于电力故障和几个令人振奋的二手,我认为我失去了所有微型信贷银行的数据。 我当时认识到,当服务器重新启用时,没有——dbpath选择,就自动重新启用。
What I can t figure out is why, even though my mongodb.conf has the dbpath set to /var/lib/mongodb, mongo looked for the db files in /data/db on startup. Can anyone shed some light on this?
感谢!