Last active
January 12, 2024 16:01
-
-
Save travist/8a52cc65eb208dfe298cee4e5474596a to your computer and use it in GitHub Desktop.
MongoDump for DocumentDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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