Skip to content

Instantly share code, notes, and snippets.

@travist
Last active January 12, 2024 16:01
Show Gist options
  • Save travist/8a52cc65eb208dfe298cee4e5474596a to your computer and use it in GitHub Desktop.
Save travist/8a52cc65eb208dfe298cee4e5474596a to your computer and use it in GitHub Desktop.
MongoDump for DocumentDB
wget https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem
mongodump --ssl \
--host="<cluster-name>.<region>.docdb.amazonaws.com:27017" \
--db=formio \
--archive=formio.gz --gzip \
--username="<yourUsername>" \
--password="<yourPassword>" \
--sslCAFile global-bundle.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment