Excuse me, mongodb hot backup refers to the operation implemented using mongodump, etc.? What about cold backup?
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!
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!