The software has backup facility to save data in such circumstances. One
can automate it to take at constant period of time so the user doesn’t need to
worry about it. The restore is a well defined interface that helps user to
restore the data at any stage.