Question: how to transfer text messages from iphone 7 to iphone 11?
Answer: Plug your old iPhone in and make sure you are connected to Wi-Fi. Tap on Settings > Apple ID > find your old iPhone click on it to check that iCloud Backup is on. You could click on Back Up Now to force a backup. But before doing that, you will want to check that you are backing up Messages as part of this backup.