Improve error logging for incremental backups
Would like to have separate logging of errors for incremental backups in the new backup system.
The code for this already exists - well partially - in the new backup script(via the parse_log_and_notify function), to send errors and notification emails when a backup run completes. However, this function currently is limited to only the first error and is not a good indicator of the full issue. (see bug 91769) Also, relying on email when backing up several hundred servers is not always a viable option.
I would be great if any failures/errors could just be added to the existing file backup_meta_data for each account. The addition of this new file was great to see and can be used for much more, however, at this time that file is updating even when an account fails to backup.(see bug 91773)
Alternatively, all errors could be parsed out to one log within the backup target directory.
If all of these issues were addressed and some form of logging existed for errors only; one could quickly determining the following using common languages like bash/perl/php:
-If all incremental account backups completed successfully
-if incremental backups ran in the requested time frame
-If an incremental backup exists for all accounts
These logs could also be used to display a warning via WHM, such as is done when upcp fails, but that is a whole other request.