Backup Mongo Atlas in EC2 instance

Hi Team. When restoring the snapshot in the ec2 instance, not all the data is in some collections, there is a third of the information, how can we adjust so that when a restore is performed, all the information is available?

Hi @Jimmy_Muchachasoy - Welcome to the community!

When restoring the snapshot in the ec2 instance

How are you performing this restore? Are you following the Restore a cluster from a Cloud Backup procedure? I am a bit confused regarding the ec2 instance you have mentioned. Please clarify the context of the “ec2 instance” you have mentioned.

not all the data is in some collections, there is a third of the information, how can we adjust so that when a restore is performed, all the information is available?

This does sound a bit odd. However, along with the restore information requested above, can you advise how you are verifying that only a third of the information is available?

Lastly, please advise the following details:

  • MongoDB version of the source and destination cluster
  • Any errors or warnings received when restoring

Regards,
Jason

1 Like

hi @Jason_Tran nice to me you!.
In the ec2 instance we have a local environment deployed with docker-compose version mongo image 4.4.15 with this we lift the database and perform the restore with the shanpshot downloaded from mongo atlas and put the data pointing to a volume of the container.
We also validate with mongorestore downloading the bson files
thanks

Hi @Jimmy_Muchachasoy :slight_smile:

Thanks for clarifying the environment details.

with this we lift the database and perform the restore with the shanpshot downloaded from mongo atlas and put the data pointing to a volume of the container.
We also validate with mongorestore downloading the bson files

When doing the validation, is it at this point (before even restoring) you have calculated that the snapshot is only a third of the original size? How are you calculating the original size?

Additionally, have you performed a direct restore to another test Atlas cluster to see if the full content of the restore is there? This does sound a bit odd only have a “third of the information”.

Regards,
Jason