Fix restoring backup from the cloud