the backup script and restore db script for mongo database in mac.