This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A Simple Shell Script to Backup Red Hat / CentOS / Fedora / Debian / Ubuntu Apache Webserver and SQL Database | |
# Path to backup directories | |
USER="hery" | |
HOME="/home" | |
# Store only day of month | |
DOM=$(date +"%d") | |
# Temporary backup name |