What are the .lastgood files?

.lastgood files are backup files which are done when an inverter stops working with an error code. The will automatically deleted as soon the inverter starts producing again.