Those of us who work with computers have had more than one occasion the light and loss of information introduced until then.
We can be cautious and keep the information every half an hour or every hour, but nevertheless we will not completely solve the problem, since at least we believe a power outage can occur.
Powersave
This is an internal card that has been released for PCs and is put into operation at the same time as the voltage interruption is generated. When the power is returned, computers are reset without data loss. The copy and reset system is automatic even if you are not currently using the PC.
When it detects a power failure, Powersav copies the entire PC RAM to the disk. When the current is reset, the system automatically returns to the same state as before.