Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 677 Bytes

demoBackup_readme.md

File metadata and controls

29 lines (22 loc) · 677 Bytes

Performing a database dump

To perform a backup on a running instance of mongod, run:

mongodump -d <nameOfDatabase> -o <desiredPathToDump>

You may need to use 'sudo' to run this command

Restoring from a dump

To restore a backup to a running instance of mongod

mongorestore -d <nameOfDatabase> <pathToDump>

The demo dump folder is called demoBackup. The names of the demo tutors are:

  • Sylvester Goodman
  • Jennie Ryan
  • Hilda Peterson
  • Pablo Jordan
  • Bethany Beck
  • Margie Medina
  • Ted Boone
  • Melba Gonzales
  • Erik Lynch
  • Emmett Farmer

Login / account info