Keepitsafe backup report

Started Run time Backups Errors
<%= start_time.strftime('%Y-%m-%d %H:%M') %> <%= ((end_time - start_time) / 60).to_i %>m <%= ((end_time - start_time) % 60).to_i %>s <%= backups.count %> <%= backups.select {|b| !b.error.nil? }.count %>
<% backups.each do |backup| %> <% end %>
Domain Result Size Time Space left
<%= backup.domain %> ; padding: 10px 0px 10px 10px; border: solid 1px white;"><%= backup.error.nil? ? "Ok" : "Error"%> <%= backup.backup_size %> mb <%= ((backup.end_time - backup.start_time) / 60).to_i %>m <%= ((backup.end_time - backup.start_time) % 60).to_i %>s <%= backup.free_after %> mb
<% backups.each do |backup| %>
<%= backup.domain %>
Result Size Time Space left
; padding: 10px 0px 10px 10px; border: solid 1px white;"><%= backup.error.nil? ? "Ok" : "Error"%> <%= backup.backup_size %> mb <%= ((backup.end_time - backup.start_time) / 60).to_i %>m <%= ((backup.end_time - backup.start_time) % 60).to_i %>s <%= backup.free_after %> mb

Output log

<%= backup.log_buffer.string %>
<% end %>