linux - Auto-Backup script for mysql in Unix -
I am a Windows user, but I have been asked to write a script that runs on the script that automatically backs up the MySQL database I know how to backup (using mysqldump), but I do not know how to write a script in Linux and how to schedule it to run daily. How can this be done?
Just a shell script? Bash should be quite easy for it:
For scheduling, you would like to use cron:
Comments
Post a Comment