Line 148: |
Line 148: |
| |- | | |- |
| | EmailAddresses | | | EmailAddresses |
− | | name@domain.com,name@domain.com,... || comma separated list of mail addresses, where the messages should be sent to<br>'''Note:''' Affa only sends messages on errors, never on success. | + | | name@domain.com,name@domain.com,... || comma separated list of mail addresses, where the messages should be sent to<br>'''Note:''' By default Affa only sends messages on errors, never on success (see property chattyOnSuccess). |
| + | |- |
| + | | chattyOnSuccess |
| + | | integer >= 0 || when set to a value>0, Affa sends a message on a sucessfully completed job run and decrements the chattyOnSuccess value. When the value has reached zero, Affa falls back to the default and only sends messages on errors. |
| |- | | |- |
| | AutomountDevice<br>AutomountPoint | | | AutomountDevice<br>AutomountPoint |
Line 168: |
Line 171: |
| | yes ''or'' no || set to no, if the rsync versionon the source does not support this option (like rsync on SME6) | | | yes ''or'' no || set to no, if the rsync versionon the source does not support this option (like rsync on SME6) |
| |} | | |} |
| + | |
| | | |
| ==== Default configuration properties ==== | | ==== Default configuration properties ==== |
Line 222: |
Line 226: |
| Displays a table of all configured jobs with enable status, time of last and next run, size, disk usage and the number of scheduled (s), daily (d), weekly (w), monthly (m) and yearly (y) archives. Last time shows 'failed', if a job did not run in the last 24h. For disabled jobs 'Last' always shows 'failed' after 24 h. To see the date and time of the last run of those jobs use the --list-archives option. Column 'Next' shows the time when the next run will be started, if 'Enabled' is 'yes'. Column 'Disk usage' shows the usage of the partion, where the RootDir of the job is located on. If all jobs are located in the same RootDir, identical disk usage is shown for all jobs. If RootDir is /var/affa, the usage of the SME server system partition is shown. | | Displays a table of all configured jobs with enable status, time of last and next run, size, disk usage and the number of scheduled (s), daily (d), weekly (w), monthly (m) and yearly (y) archives. Last time shows 'failed', if a job did not run in the last 24h. For disabled jobs 'Last' always shows 'failed' after 24 h. To see the date and time of the last run of those jobs use the --list-archives option. Column 'Next' shows the time when the next run will be started, if 'Enabled' is 'yes'. Column 'Disk usage' shows the usage of the partion, where the RootDir of the job is located on. If all jobs are located in the same RootDir, identical disk usage is shown for all jobs. If RootDir is /var/affa, the usage of the SME server system partition is shown. |
| <small><pre> | | <small><pre> |
− | Affa version 0.4.1 on backup.mydomain.de (10.204.48.2) | + | Affa version 0.4.2 on backup.mydomain.de (10.204.48.2) |
| +------------+---------+--------+-------+--------+------------+----------------+ | | +------------+---------+--------+-------+--------+------------+----------------+ |
| | Job | Enabled | Last | Next | Size | Disk usage | N of s,d,w,m,y | | | | Job | Enabled | Last | Next | Size | Disk usage | N of s,d,w,m,y | |
Line 248: |
Line 252: |
| <code><b>affa --mailtest JOB</b></code><br> | | <code><b>affa --mailtest JOB</b></code><br> |
| Sends a test email to the email adresses configured in the JOB record. Use this to verify, that your mail processing is functional.<br> | | Sends a test email to the email adresses configured in the JOB record. Use this to verify, that your mail processing is functional.<br> |
− | '''Note:''' Affa only sends messages on errors, never on success. | + | '''Note:''' By default Affa only sends messages on errors, never on success (see property chattyOnSuccess). |
| | | |
| <code><b>affa --cleanup JOB</b></code><br> | | <code><b>affa --cleanup JOB</b></code><br> |
Line 332: |
Line 336: |
| 1. You first must check what backup archives are available. The jobname of this server backup ist 'prodserv'.<br><br><code># affa --list-archives prodserv</code><br> | | 1. You first must check what backup archives are available. The jobname of this server backup ist 'prodserv'.<br><br><code># affa --list-archives prodserv</code><br> |
| <small><pre> | | <small><pre> |
− | Affa version 0.4.1 on affa1.mydomain.de (10.204.48.2) | + | Affa version 0.4.2 on affa1.mydomain.de (10.204.48.2) |
| +-----------------------------------------------------------------------------+ | | +-----------------------------------------------------------------------------+ |
| | Job: prodserv | | | | Job: prodserv | |