Category Archives: scripts

mysql_backup_by_db.sh

By | September 8, 2015

#!/bin/bash read -e -p “Type host for backup, followed by [ENTER]: ” -i “127.0.0.1” host read -e -p “Type username for $host, followed by [ENTER]: ” -i “root” user read -e -p “Type password for $user, followed by [ENTER]: ” -i “” passwd read -e -p “Database which should be backuped [ENTER]: ” -i “all”… Read More »