Another tip is that it doesn’t have to be the same phone as far as the backup and restore is concerned. Enrollment of the TestFlight app might be impacted if the phone changes but that’s just my concern because I haven’t tested that part.
Here’s some links related to these ideas which may be relevant to your interests.