Excuse me, mongodb hot backup refers to the operation implemented using mongodump, etc.? What about cold backup?
淡淡烟草味2017-05-17 10:04:47
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!