diff options
Diffstat (limited to 'mysql')
-rwxr-xr-x | mysql/mysql_backup.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql/mysql_backup.sh b/mysql/mysql_backup.sh index 108791d..8a22ee5 100755 --- a/mysql/mysql_backup.sh +++ b/mysql/mysql_backup.sh @@ -76,10 +76,13 @@ du -sch * | log # move backups to ftp server for file in * do - ncftpput -u${FTP_USER} -p${FTP_PASSWORD} -DD ${FTP_SERVER} \ + ncftpput -u${FTP_USER} -p${FTP_PASSWORD} -V -DD ${FTP_SERVER} \ ${FTP_TARGET} ${file} >/dev/null done +echo | log +echo "Finished backup of mysql databases ($(date +%c))" | log + # restore old cwd popd >/dev/null 2>&1 rmdir ${TMP_DIR} |