MAC OS上的Mongorestore失败 - 失败:错误扫描文件系统:无效的数据库名称'$ RECYCLE.BIN'

时间:2017-06-06 08:26:09

标签: mongodb mongorestore

我正在尝试将转储导入我的数据库,但我收到以下错误:

nskiqq:Downloads user$ mongorestore /Users/user/Downloads --gzip
2017-06-06T10:23:20.754+0200    preparing collections to restore from
2017-06-06T10:23:20.754+0200    Failed: error scanning filesystem: invalid database name '$RECYCLE.BIN': illegal character '.' found in db name '$RECYCLE.BIN'

在路径/USers/user/Downloads下,可以使用以下文件:

nskiqq:Downloads user$ ls -a
$RECYCLE.BIN        .DS_Store                           .texpadtmp
.                   .com.apple.timemachine.supported    desktop.ini
..                  .localized                          dump.zip

0 个答案:

没有答案