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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -