Skip to content

Instantly share code, notes, and snippets.

View KaleabTessera's full-sized avatar
🎯
Focusing

Kale-ab Tessera KaleabTessera

🎯
Focusing
View GitHub Profile
@KaleabTessera
KaleabTessera / mongo_backup.sh
Last active October 9, 2018 15:37 — forked from sheharyarn/mongo_backup.sh
Mongodump Shell Script for Cronjob
#!/bin/bash
MONGO_DATABASE="your_db_name"
APP_NAME="your_app_name"
HOST_NAME="host_name_or_localhost"
USERNAME="username_database"
PASSWORD="password_database"
MONGO_HOST="127.0.0.1"
MONGO_PORT="27017"