Know which method you use
iCloud Backup and computer backups are separate approaches.
Check backup recency
Apple's current support guidance provides ways to verify and create device backups.
Account access matters
Restoring from iCloud depends on the correct Apple Account and backup.
Do not erase first and verify later
Confirm that important data is available before wiping the old device.
General consumer technology information only. Interfaces and menu names change. Before resets, reinstalls, storage changes or other major actions, verify that important data is backed up and use current manufacturer/service-provider instructions.