MongoDB backup plan

前端 未结 4 824
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-30 15:10

I want to switch from MySQL to MongoDB but great data losses (more than 1 hour) are not acceptable for me.

I need to have 3 backup plans:

  1. Hourly

4条回答
  •  时光说笑
    2021-01-30 15:28

    If you want to outsource the backup solution entirely, MongoDB Management Service takes snapshots every six hours. The default retention policy on the snapshots will allow you to get point-in-time restore for 24 hours, daily snapshots for a week, weekly snapshots for a month, and monthly snapshots for a year.

    This FAQ has the full retention policy.

    The backup service continually backs up your replica set by reading the oplog so the overhead is lower than full local periodic snapshots.

提交回复
热议问题