Softwares |
Main /
Cpanel-mysql-backupMain.Cpanel-mysql-backup HistoryHide minor edits - Show changes to markup Added lines 1-21:
(:Google1:) (:Googletxt:) #!/bin/sh cd /var/lib tar -zcf mysql_$(date +"%F").tar.gz mysql cd /backup/mysql ftp -in <<EOF open 127.0.0.1 user yourusername yourpassword bin hash prompt put mysql_$(date +"%F").tar.gz bye |