From self-managed MongoDB to Azure DocumentDB
Follow these simple instructions to get dsync up and running and perform a migration from your self-managed MongoDB to an Azure DocumentDB or Cosmos DB destination.
Step 1: Download dsync
git clone https://github.com/adiom-data/dsync.git
cd dsync
go buildStep 2: Prepare the source MongoDB instance
# Start a new mongod instance on localhost:27017 with dbpath ~/temp/data_d
mkdir ~/temp
cd ~/temp
mkdir data_d
mongod --dbpath data_d --logpath mongod_d.log --fork --port 27017
# Load sample data
git clone https://github.com/mcampo2/mongodb-sample-databases
cd mongodb-sample-databases
mongorestore dump/sample_mflixStep 3: Prepare the destination DocumentDB instance
Step 3: Start dsync
Step 4: Check the data
Contact us
Last updated
