Changes

From Amahi Wiki
Jump to: navigation, search
29 bytes removed ,  04:08, 6 February 2011
* Download the script to ''/tmp'' directory.
{{Code|cd /tmp
wget http://downloads.sourceforge.net/project/automysqlbackup/AutoMySQLBackup}}/AutoMySQLBackup%20VER%202.5/automysqlbackup-2.5.1-01.sh}}
* Some changes will need to be made for this to work on your HDA. As '''root''' user, update lines indicated in ''automysqlbackup-2.5.1-01.sh'' to read as follows:
  {{Text|Text=Line 39: '''USERNAME=root''' Line 42: '''PASSWORD=hda''' Line 51: '''BACKUPDIR="/var/hda/files/dbbackup'''" Line 65: '''MAILADDR="root"''' Line 76: '''DBEXCLUDE="information_schema"''' Line 79: '''CREATE_DATABASE=yes''' Line 94: '''LATEST=yes'''}}
* Rename and copy the ''automysqlbackup-2.5.1-01.sh'' from ''/tmp'' to ''/usr/bin'' and set the permissions:
12,424

edits