Changes

From Amahi Wiki
Jump to: navigation, search
15 bytes removed ,  01:27, 26 January 2011
* Create a share called '''dbbackup'''.
* 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:
* Rename and copy the ''automysqlbackup-2.5.1-01.sh'' from ''/tmp'' to ''/usr/bin'' and set the permissions:
{{Code|cd /usr/bin cp /tmp/automysqlbackup-2.5.1-01.sh automysqlbackup chmod 755 automysqlbackup}}
* Set ''automysqlbackup'' as a daily cron job (Optional):
{{Code|cd /etc/cron.daily ln -s /usr/bin/automysqlbackup}}
== Tips ==
12,424

edits