备份脚本
touch uploadftp_dnbame.sh


#/bin/bash
#2018-0713
dbname = "DBName"
ftp -i -v -n <

添加到计划任务
crontab -e

20 0 * /bin/bash /scripts/uploadftp_dnbame.sh