Coder Social home page Coder Social logo

sajixinc / mongo2mongo Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 76 KB

Import export toolkit for MongoDB to MongoDB

Home Page: https://vivifyhealthcare.com/blogs

License: MIT License

Python 40.68% HTML 59.32%
database datatransfer mongodb mongotomongo django djongo lifeeazy pymongo vivifyhealthcare

mongo2mongo's Introduction

Mongodb to Mongodb
Data transfer

About

To convert data from one MongoDB database to another using Python, we can use the PyMongo library.

Use Cases

here are a few use cases where you may want to convert data from one MongoDB instance to another MongoDB Instance using Python:

  • from Server to Local Mongo db
  • from Local to Server Mongo Db
  • from Server to Server Mongo Db

In all of these use cases, Python and the pymongo library provide a powerful and flexible way to manipulate MongoDB data and transfer it between instances.

Summary

some times we have the data in server, but not in the local
in that time it is very useful to take the data from
server database into local database
here we use the languages are python,django,html

Requirements

  • pip install pymongo
  • pip install django
  • pip install djongo

Running Mongodb 2 mongodb

To run this, you have to follow the below steps

  • first, clone the repositry
  • Ensure you are in mongo2mongo folder, if not please change directory to mongo2mongo folder
  • Then run this command in terminal python manage.py runserver
  • click on the local host (http://127.0.0.1:8000/)

For developers

developers can modify the file (views.py)

Steps to Access the Application

  1. Clone the Repository

  2. python manage.py runserver

  3. Open the application on local host (http://127.0.0.1:8000/) and add below mentioned URL parameters for the functionality required.

    3.1. for Server to Local enter "/servertolocal"

    3.2. for local to server enter "/localtoserver"

    3.3. for server to server enter "/servertoserver"

image

  • Server to Local (best use for taking manual backup) image

  • Local to Server (best use for updating / or deploying new db to server) image

  • Server to Server (best use for migrating database to another instance) image

mongo2mongo's People

Contributors

pentakotamadhusudhan avatar rakeshjanapareddy avatar rdooda avatar sacredabhishek avatar srujithapyla avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

mongo2mongo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.