mongodb hot backup and cold backup
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-17 10:02:47
0
1
712

Excuse me, mongodb hot backup refers to the operation implemented using mongodump, etc.? What about cold backup?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
淡淡烟草味

Easy way:

1. Close the database, or lock the database as follows:

db.fsyncLock();

2. Use the cp command in the operating system to copy the DB file/log file, etc. in the backup data directory

For various options/detailed steps, please refer to the official website’s documentation:

https://docs.mongodb.com/manu...

For reference.

Love MongoDB! Have fun!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!