Monthly Archives: October 2010
Mysql backup on linux using ssh and cron
Sometimes, we may need to backup and synchronize mysql on linux as a background process. Linux has a great program for this called cron. It allows tasks to be automatically run in the background at regular intervals. Create a script file(.sh) using following code snippet to backup and restore database in to another database: ssh…