Skip to content

Instantly share code, notes, and snippets.

@abhinavkorpal
Created July 6, 2017 08:31
Show Gist options
  • Save abhinavkorpal/9a392beeb80bc5aba9994a60cf12a6bb to your computer and use it in GitHub Desktop.
Save abhinavkorpal/9a392beeb80bc5aba9994a60cf12a6bb to your computer and use it in GitHub Desktop.
AutoMySQLBackup
# === AutoMySQLBackup ===
if [[ $run_all = false ]]; then
echo -n "Install AutoMySQLBackup? (y/n) [default: n]: "
read automysqlbackup
fi
if [ "$automysqlbackup" = "y" ] || [ $run_all = true ]; then
show_notice "Installing AutoMySQLBackup..."
apt-get install -y automysqlbackup
show_notice "Finished Installing AutoMySQLBackup..."
fi
# === /AutoMySQLBackup ===
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment