simple-backup-mysql Just type ./backup.sh and boom You can change the username and password and directory backup file in file This is the script to backup all mysql databases and keep 3 newest files in local server