This is a simple script for add AutoMySQLBackup to cron.daily.
- Save the following as 'runautomysqlbackup.sh' in any directory
- Run the commands included
- You're done!
:::sh
!/bin/sh
AutoMySQLBackup
version=3.0_rc2
This file runs the automatic MySQL backup from CRON
USAGE:
- Copy this file to /usr/local/bin
- Make the file executable by root
- Link it to cron.daily
Commands to do it:
sudo cp runautomysqlbackup.sh /usr/local/bin/
sudo chown root:root /usr/local/bin/runautomysqlbackup.sh
sudo chmod 755 /usr/local/bin/runautomysqlbackup.sh
sudo ln -s /usr/local/bin/runautomysqlbackup.sh /etc/cron.daily/runautomysqlbackup
/usr/local/bin/automysqlbackup /etc/automysqlbackup/myserver.conf
Oops!! Seems that formatting text isn't working very well...
:(