Home > Database > Mysql Tutorial > mongoDB之数据备份恢复工具

mongoDB之数据备份恢复工具

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:54:46
Original
1084 people have browsed it

和数据库打交道难免会出现数据备份和恢复的时候,下面是用到的指令,暂时留在这里备注一下。 数据备份: E:\mongodb-win32-x86_64-2.2.1\bin mongodump.exe --db CpsCommodityInfo E:\Mongo20130329 数据恢复: E:\mongodb-win32-x86_64-2.2.1\binmongoresto

和数据库打交道难免会出现数据备份和恢复的时候,下面是用到的指令,暂时留在这里备注一下。

数据备份:

 E:\mongodb-win32-x86_64-2.2.1\bin>mongodump.exe --db CpsCommodityInfo E:\Mongo20130329


数据恢复: 

E:\mongodb-win32-x86_64-2.2.1\bin>mongorestore.exe  --db CpsCommodityInfo --directoryperdb F:\2013329\CpsCommodityInfo  --drop 

 

参考地址:

 

 

#binary-import-and-export-tools ,虚拟主机,美国空间,香港服务器租用
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
mongodb start
From 1970-01-01 08:00:00
0
0
0
linux - ubuntu14 error installing mongodb
From 1970-01-01 08:00:00
0
0
0
Use of symfony2 mongodb
From 1970-01-01 08:00:00
0
0
0
mongodb _id rename
From 1970-01-01 08:00:00
0
0
0
Parameter understanding of mongodb
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template