First, the Mongobackup file package that someone else wrote was applied.
Go to this website download: http://pan.baidu.com/s/15YsBs
Download the Mongobackup file to your MongoDB bin directory
Input
chmod a+x mongobackup//Let the system compile it
Then, restart MongoDB
Introduction Mongobackup is an incremental backup and recovery tool for replication sets, which needs to be used in conjunction with full backup and recovery when recovering.
Incremental backup Normal backup
Mongobackup--backup
Stream Mode Backup
Mongobackup--backup--stream
Can specify a backup initial point in time
Mongobackup--backup-s 1385367056,1
Incremental Recovery must specify a start and end point of time, with full complement, can be restored to any point in time (ending point), the starting point can be understood as a fully prepared point in time.
Mongobackup--recovery-s 1385367098,27350-t 1385367132,35490./backup/
MongoDB Incremental Backup method