Last active
June 6, 2018 18:04
-
-
Save cdimascio/35e4179543435a5df4878952d94c887e to your computer and use it in GitHub Desktop.
Compose MongoDB mongodump/mongorestore
This file contains hidden or 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
mongodump --host your-hostname --port your-port --ssl --sslAllowInvalidCertificates --db=your-db-name --archive=./ep-ao-dump -u admin -p your-password --authenticationDatabase admin |
This file contains hidden or 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
mongorestore --host your-host --port your-port --ssl --sslAllowInvalidCertificates --db=your-db-name --archive=ep-ao-dump -u admin -p your-password --authenticationDatabase admin dump/your-db-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment