Changes

From Amahi Wiki
Jump to: navigation, search
582 bytes added ,  15:36, 9 September 2013
Added how to do this in ubuntu
== How to Install ==
===In Ubuntu===
* install via apt-get
{{Code|sudo apt-get install automysqlbackup}}
* edit the config file located at {{Text|/etc/default/automysqlbackup}}
{{Code|sudo nano /etc/default/automysqlbackup}}
* At the bare minimun, in the config file, edit the BACKUPDIR variable
* run automysqlbackup to see if it works (you should get backups added to your backupdir directory:
{{Code|sudo automysqlbackup}}
* Edit cron:
{{Code|sudo crontab -e}}
* add the following for running cron everyday at midnight
{{Text|0 0 * * * /usr/sbin/automysqlbackup}}
 
===Installing from project file===
* Create a share called '''dbbackup'''.
* Download the script to ''/tmp'' directory.