zhaofeng-shu33 / xingyu

星语志愿项目
Apache License 2.0
1 stars 0 forks source link

database autobackup on production server #4

Open zhaofeng-shu33 opened 5 years ago

zhaofeng-shu33 commented 5 years ago
 mysqldump -uxingyu -pxingyu xingyu > $(xingyu_root)/build/"xingyu-database-$(date +"%Y-%m-%d").sql"

Use this command as cron job.