If I haven't changed the code...not 100% sure ... this process used to work, but it is not working now.
Perhaps a SQL Server SP update code might have changed the restore process.
Here is the summary:
Totally from script .... I was doing mirroring from 2014 Server to 2016.
Create Mirroring Endpoint, assign it a port number on Principal Server, etc.
Then take a Full DB Backup and the Logs backup on the 2014 Principal Server
Copy the Bak files to the destination Mirror server and restore the DB on the Mirror server
After that Grant Connect to Endpoints, and then set partner properties, etc.
The new problem is that the during the restore process on the 2016 Mirror gets stuck on Restoring status and not switching to Recovering as it used to do.
When I tried the restore from the code just one isolated Restore command on the 2016 Mirror .... it started to "upgrade" the restored database to 2016 version.
Is there a way, at least restoring the 2014 DB into a 2016 DB with the older Compatibility Level 2014 without upgrading on the fly.
Thank you....