0

I am new to MongoDB and NodeJS. I am running an ec2 instance on AWS and I want to sync the data of AWS to local systems and local to AWS. I don't have any idea about how to do it. I have tried some configuration in database files but I am not able to connect my local system with remote server.

I found this repository on git hub https://github.com/sheharyarn/mongo-sync but I don't know how to use that repository in my code.

Kindly help me.

Thank you

1 Answer 1

1

Mongodb atlas provides free 512MB of space. You can create cluster in mongoldb atlas and use online database from anywhere. it will work on your local machine and also on aws server.

Just open mongoldb website you can find mongoldb atlas easily. after sign up.

Sign up to request clarification or add additional context in comments.

2 Comments

Is there is any other way to do in mongo db?
yes there are other ways too but it will take some more manual configuration every time. you have to export and import database after every change. so it is better to have database online.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.