Migration tools

This page lists some migration tools you can use to upload data to Firestore with MongoDB compatibility short.

mongoexport and mongoimprt

Use the following process to upload one or more collections to Firestore with MongoDB compatibility

  1. Use mongoexport to export the data in a collection. Repeat for each collection.
  2. Import that data into your Firestore with MongoDB compatibility database with mongoimport.

    To find the connection string for your Firestore with MongoDB compatibility database, see Retrieve the connection string.

    Follow the best practices for bulk data loading.

Streaming data migration with Kafka

You can use Apache Kafka and the MongoDB Kafka Connector to stream changes from one database to another. Use the following steps and documentation to set up the process:

  1. Set up Apache Kafka. For example, the following guides show you how to set up Kafka on Google Kubernetes Engine:

  2. Install the MongoDB Kafka Connector

  3. Connect to your source and sink databases.

    To find the connection string for your Firestore with MongoDB compatibility database, see Retrieve the connection string.

What's next