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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

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