There is a mobile backup for your iPhone called iCloud Backup?

Enabling the backup to iCloud will ensure that your iPhone, including all data and settings, is backed up nightly.

Also, migrating to a new iPhone in the future will be seamless as your iCloud backup can be used to restore your data and settings to your new iPhone.