Add backup id to logs table

First of all, thanks for this wonderful piece of software. I’m currently using it for files and sql/mysql backups with a great experience, but having issues with statistics.

On incremental backups, size of clients with directory backups are computed as expected, but in sql backups, reported size of backup is always db’s full size +/- diff from incremental.

Long story short, I’m trying to parse via script the “Before compression” value for each row of log_data.data, and updating with that backups.size_bytes value, but not finding a way to join or search between backups and logs tables.

I understand that maybe is not the correct value but it’s the closest i’ve come up to get an accurate statistics chart.

Thanks!