Is it possible to take incremental backup in MongoDB? if yes then how please guide me?
Asked
Active
Viewed 2,166 times
0
-
but which oplog position we have to take while taking dump. and what is the command for faching that oplog position. – yogesh.j Jan 01 '18 at 12:35
1 Answers
1
MongoDB doesn't provide an incremental backup option out of the box, but it's possible to do a file snapshot and replay the oplog.
As per MongoDB BOL Here If the volume where MongoDB stores its data files supports point-in-time snapshots, you can use these snapshots to create backups of a MongoDB system at an exact moment in time. File system snapshots are an operating system volume manager feature, and are not specific to MongoDB. With file system snapshots, the operating system takes a snapshot of the volume to use as a baseline for data backup. The mechanics of snapshots depend on the underlying storage system.
For example, on Linux, the Logical Volume Manager (LVM) can create snapshots.
Md Haidar Ali Khan
- 6,447
- 9
- 38
- 60