Collect summary of backup errors
Beginning of a fix for various errors such as gitlab#333034 (comment 726259273)
Start collecting errors so that these can be summarised at the end of the backup run. Previously errors were only reported in logging which is often ignored.
Edited by James Fargher