Shell script to backup a Mysql database and save it on a remote server using Ftp

view full story

http://linuxhostingsupport.net – The following shell script will dump the mysql database and will save the .sql file on a remote location using Ftp. This script will create a backup file including the current date so you can have multiple copies of the backups of the same database under one directory. Create a file called mysqlbkup.sh # vi /root/mysqlbkup.sh and paste [...] (Resources)