Installing AutoMySQLBackup

Help
2010-05-14
2013-05-29
  • Glenn Clarkson
    Glenn Clarkson
    2010-05-14

    I have downloaded AutoMySQLBackup how do I install it so that it backs up my live databases to my local machine?

     
  • Mark Richards
    Mark Richards
    2010-06-26

    Red Hat:

    in /etc/cron.daily place a symlink to the script file

    cd /etc/cron.daily
    ln -sf /path/to/automysqlbackup.sh.2.5 automysqlbackup.sh.2.5

     
  • AutoMySQLBackup is installed by

    1) just copying it to a path where additional code is located at the machine (eg /srv/bin, /usr/local/bin …),
    2) setting variables inside the script* and
    3) adding a line to /etc/crontab to tell crond wich time the script should run.

    * Later versions will provide a separate config file.

    Is it worth to write an installation routine for this 3 steps?

     
  • FewG2010
    FewG2010
    2010-07-04

    Should I rename automysqlbackup.sh.2.5  ti automysqlbackup.sh?

     
  • Harley
    Harley
    2010-07-04

    You can rename it anything you like as long as it is executable..