rsbackup client module

The rsbackup module is designed to parse the reports of backups performed using rsbackup-cs. Since rsbackup-cs only supports e-mail, the module opens an IMAP connection and reads the messages one at a time. It then attempts to match the server name to a device in the CAMP database and, if successful, adds the backup to it.

The last 5 backups are displayed when a device is looked at. At the end of each processing cycle (usually once a day via cron), a report is sent to the administrator summarizing the backups found. Any backups which it expects but did not find are highlighted in this report.