Skip to content

Instantly share code, notes, and snippets.

@glpunk
Created November 29, 2013 18:03
Show Gist options
  • Save glpunk/7709655 to your computer and use it in GitHub Desktop.
Save glpunk/7709655 to your computer and use it in GitHub Desktop.
copy mongodb database in localhost, run in shell.
db.copyDatabase("test","test_copy","127.0.0.1");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment