MongoDB MMS Point In Time restores are only available for the last 24 hours.

Error: When restoring DB for replica set using MMS point in time, we have this error:

“You are attempting to restore to a version no longer accessible for restore. Point In Time restores are only available for the last 24 hours.”

Causes: Allow point-in-time restores going back (or oplog stored time) is set to more than 1 day but the snapshots interval is more than 12 hours (min 12 hours for Point in Time to work)

Solutions: Allow point-in-time restores going back should be set to more than 1 days but the snapshot should be also captured at least every 12 hours

Notes: Point in time only works for replica set. If you are using shard cluster, you should use checkpoint restore which allows to restore to any 15 mins point in time.

MongoDB MMS Point In Time restores are only available for the last 24 hours.

MongoDB MMS failed to decrypt password for job when restoring using SCP

Causes:

MMS Application Server and Backup Daemon are installed on different machines. And these two machines do not share the gen.key file.

Solutions:

On the MMS Application Server, run the following:

grep ENC_KEY /opt/mongodb/mms/conf/mms.conf

On the Backup Daemon Server:

grep ENC_KEY /opt/mongodb/mms-backup-daemon/conf/daemon.conf

If the gen.key file is missing on Backup Daemon Server or gen.key are different on the two machines, copy gen.key from MMS Application Server to Backup Daemon Server and restart Backup Daemon:

sudo service mongodb-mms-backup-daemon restart

MongoDB MMS failed to decrypt password for job when restoring using SCP