| 17 | |
| 18 | |
| 19 | == Mysql Backup == |
| 20 | |
| 21 | A MySQL Backup script from http://worldcommunitypress.com/opensource/mysql-backup is installed in /usr/local/bin and it's set to create backups in /var/backups/mysql/ |
| 22 | |
| 23 | It needed the libmime-lite-perl debian package to be installed. |
| 24 | |
| 25 | To run it: |
| 26 | |
| 27 | {{{ |
| 28 | /usr/local/bin/mysql-backup |
| 29 | }}} |
| 30 | |
| 31 | These lines have been changed from the original at http://worldcommunitypress.com/assets/files/opensource/utilities/mysql_backup.txt : |
| 32 | |
| 33 | {{{ |
| 34 | $admin_email_to = 'chris@webarchitects.co.uk'; |
| 35 | $admin_email_from = 'root@quince.webarch.net'; |
| 36 | $cnf_file = '/root/.my.cnf'; |
| 37 | $site_name = 'quince.webarch.net'; |
| 38 | $mysql_backup_dir = '/var/backups/mysql'; |
| 39 | }}} |
| 40 | |