Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
  • For taking the mongodump of single database
$ mongodump --host <hostname> --port 27017 --username <user> --password <password> --authenticationDatabase <usually-admin db> --db <name-of-database-whose-backup-needs-to-be-taken> --gzip --archive=filename.zip
  • For taking complete all databases backup
$ mongodump --host <hostname> --port 27017 --username <username> --password <password> --gzip --archive=standalone-complete-host.gzip