Hello RyanH79,
Welcome to Apple Support Communities. We understand that you're having issues restoring a backup on your iPhone via iTunes, and we'd be happy to look into this with you.
Are you trying to restore a backup made from an iOS device other than your iPhone XR? Also, are you using a PC, or Mac to restore from this backup? Was this backup created on your computer or via iCloud?
Please check out the following link for information on what to do when you get errors like this:
If you see an error when you update or restore your iPhone, iPad, or iPod
iOS update and restore errors
We hope this information is useful. Kind regards.