#!/bin/bash
# add a line to "/etc/crontab" like:
# 30 18   * * 7   root    sh /media/sf_GitHub/crike/src/crike_django/backupdb.sh

DATE=`date +"%Y-%m-%d"`
mongodump --db vinedb --out /opt/backup/mongodb-dump-$DATE

Add a script to do cron job for mongodb backup
Add a script to do cron job for mongodb backup
