How does mongodb database backup regularly? What should mongodb pay attention to for online projects?

  mongodb, question

For example, how can mongodb database be backed up regularly? At present, the database is on Aliyun. For safety, how can it be automatically backed up to another server every day or at a certain time?
How does mongodump automatically execute at regular intervals?
What do you need to pay attention to in the later maintenance of the projects already on line? ?

If you want to execute it regularly, use it under Linux.crontabJust.

But I think, in order to improve the usability of mongoDB online, useCopy setIs the most appropriate. When a mongo instance is hung up, it will automatically switch to the exception. Also, in certain scenarios, replication sets can improve the performance of reading. Of course, the premise is that you have extra machines.