Make sure the site you restored has connection with a Microsoft 365 group.
Form for Excel will be available in the document library of modern SharePoint team sites (O365 group backed):
More information for your reference:
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.