Changes

From Amahi Wiki
Jump to: navigation, search
17 bytes added ,  15:54, 18 June 2020
0 0 * * * /usr/sbin/automysqlbackup
<br />
<b><u><big>Fedora (Project file)</big></u></b>
* Create a share called '''dbbackup'''.
* Download the script to ''/tmp'' directory.
<prestyle="white-space: pre-wrap; word-break: keep-all;">cd /tmp
wget http://downloads.sourceforge.net/project/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%202.5/automysqlbackup-2.5.1-01.sh</pre>
* 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:
== Tips ==
* To change day of week (1=Monday thru 7=Sunday; defaults to 6=Saturday) for backup, update the number on the following line in ''automysqlbackup'' as '''root''' user:
{{Text|Text= Line 85: DOWEEKLY=6}}
* To run anytime, as root do the following:
{{Code| automysqlbackup}}
* This script is well documented. Options can be easily customized to meet your specific HDA requirements. The guidance can be found in the ''automysqlbackup'', starting at line 110.
'''NOTE:''' When it's run the first time, it will create the directory structure automatically if it does not already exist.
12,424

edits