MDL-36126 backup: ensure the backup_logs message does not exceed the maximum allowed length in the DB