Shell script to copy remote MongoDB database (and overwrite local copy)