Skip to content

Instantly share code, notes, and snippets.

@tuliofaria
Created December 15, 2017 14:55
Show Gist options
  • Save tuliofaria/9436bd7266736b371b178a7196871df0 to your computer and use it in GitHub Desktop.
Save tuliofaria/9436bd7266736b371b178a7196871df0 to your computer and use it in GitHub Desktop.
Dumping (with mongodump) an AtlasDB
mongodump --uri "mongodb://<user>:<passwd>@<server1>:27017,<server2>:27017,<server3>:27017/<dbName>?ssl=true&replicaSet=<replicaSetName>&authSource=admin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment