Mongorestore Documentdb Instant

For continuous backup and point-in-time recovery, DocumentDB provides native automated snapshots. For cross-region replication, use global clusters. mongorestore is best suited for one-time migrations, smaller datasets (< 1 TB), or restoring from local MongoDB dumps. For huge datasets (multi-TB), consider AWS Database Migration Service (DMS) with parallel full-load tasks.

Using mongorestore is the primary method for performing from MongoDB to Amazon DocumentDB. Since DocumentDB is compatible with the MongoDB wire protocol, you can use standard MongoDB Database Tools to move your data, though it requires specific configurations for security and performance. Prerequisites for Restoration mongorestore documentdb

Restoring large datasets can be time-consuming because mongorestore is an offline process that incurs downtime proportional to data size. For huge datasets (multi-TB)

: DocumentDB requires SSL by default. Download the Amazon RDS Global Bundle and reference it using the --sslCAFile flag. For continuous backup and point-in-time recovery

: Use the cluster endpoint or a specific instance endpoint.