how to recover backup data from icloud?
Go to Settings > General > Reset, then tap “Erase all content and settings.” On the Apps & Data screen, tap Restore from iCloud Backup, then sign in to iCloud. Proceed to “Choose backup,” then choose from a list of available backups in iCloud.