Line 26: |
Line 26: |
| ====Backup directory==== | | ====Backup directory==== |
| it is the folder where you will save you database backup (default is /root/backup/db) | | it is the folder where you will save you database backup (default is /root/backup/db) |
− | config setprop automysqlbackup Backupdir "path/to/other/folder" | + | config setprop automysqlbackup Backupdir path/to/other/folder |
| you have to create your new backup directory | | you have to create your new backup directory |
| mkdir -p /path/to/other/folder | | mkdir -p /path/to/other/folder |
Line 32: |
Line 32: |
| ====Encryption==== | | ====Encryption==== |
| If you wish to encrypt your backups using openssl (no is default) | | If you wish to encrypt your backups using openssl (no is default) |
− | config setprop automysqlbackup Encrypt "yes" | + | config setprop automysqlbackup Encrypt yes |
| you need to set a password (default is 01234567899876543210) | | you need to set a password (default is 01234567899876543210) |
− | config setprop automysqlbackup Dbencrypt_password "your-password" | + | config setprop automysqlbackup Dbencrypt_password your-password |
| | | |
| =====Decryption===== | | =====Decryption===== |
Line 47: |
Line 47: |
| ====Mailcontent==== | | ====Mailcontent==== |
| you can choose your type of mail send to the admin (log by default) | | you can choose your type of mail send to the admin (log by default) |
− | config setprop automysqlbackup Mailcontent "option" | + | config setprop automysqlbackup Mailcontent option |
| | | |
| *log : send only log file (default) | | *log : send only log file (default) |
Line 57: |
Line 57: |
| you can choose the mail account where you sent your mails (default is admin). | | you can choose the mail account where you sent your mails (default is admin). |
| | | |
− | config setprop automysqlbackup Mailto "foo@foo.com" | + | config setprop automysqlbackup Mailto foo@foo.com |
| | | |
| ====Sizemail==== | | ====Sizemail==== |
| | | |
| you can determine the size of mails sent (default is 8000 KB). | | you can determine the size of mails sent (default is 8000 KB). |
− | config setprop automysqlbackup Sizemail "8000" | + | config setprop automysqlbackup Sizemail 8000 |
| {{note box|keep in mind that a lot of smtp server reject mail bigger than 10 000 KB or 10MB}} | | {{note box|keep in mind that a lot of smtp server reject mail bigger than 10 000 KB or 10MB}} |
| | | |