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

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -