When such errors occur, there is practically no chance to save information. After such a notification, all phone data is deleted. The best option is to restore them from both storage.