Skip to content

Instantly share code, notes, and snippets.

@jtarleton
Created January 25, 2013 10:52
Show Gist options
  • Save jtarleton/4633482 to your computer and use it in GitHub Desktop.
Save jtarleton/4633482 to your computer and use it in GitHub Desktop.
Shell script to backup mongoDB to "/dump" in the current working directory
#!/bin/bash
cd /var/ && mongodump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment