1、备份步骤 1)登录单机实例,将数据库锁定或者直接停机 db.fsyncLock() 2)将目录下的所有文件直接复制出来 3)解除锁定或者启动MongoDB 2、恢复步骤 1)将 MongoDB停机,避免数据写入 2)将备份文件拷贝到指定数据目录下 3)启动MongoDB实例 二、副本集的备份/恢复 MongoDB的逻辑备份/恢复 1、备份步骤 1)选择一个...
mongorestore --uri mongodb://localhost:27017 /mongoBackupfiles but for each file, the error is something like this: don't know what to do with file "...\index-2215-3057564938218478932.wt", skipping... I searched a lot but still couldn't find anything that help. I tried ...