December 27, 2019 at 4:56 am
We have a primary server and seconday server both running SQL Server 2012 EE with log shipping configured. We are planning to move to SQL Server 2017 on a new physical primary server soon. Then at a later time we plan to move to SQL Server 2017 on our secondary server. This leads to two questions:
1) Is it possible to log ship from a SQL Server 2017 database to a SQL Server 2012 database?
2) Is it possible to restore a differiential backup file from the SQL Server 2012 Primary Database to the SQL Server 2017 database? Is it possible to restore the log backup files from the SQL Server 2012 Primary Database to the SQL Server 2017 database?
Thanks in advance for any help provided.
December 27, 2019 at 12:20 pm
Muthukkumaran Kaliyamoorthy
https://www.sqlserverblogforum.com/
January 13, 2020 at 3:48 am
1) Is it possible to log ship from a SQL Server 2017 database to a SQL Server 2012 database?
No, you cannot restore a backup to a lower version. If you take the path of upgrading the primary, the secondary must be done at the same time.
2) Is it possible to restore a differiential backup file from the SQL Server 2012 Primary Database to the SQL Server 2017 database? Is it possible to restore the log backup files from the SQL Server 2012 Primary Database to the SQL Server 2017 database?
Yes, this is possible.
What might be a better solution is to build your new 2017 servers (primary and secondary) and add them as log shipping secondaries to your 2012 primary. Then when you wish to cut over to 2017, the process would be:
If at any point you need to rollback to using the 2012 primary, simply point your application(s) at the 2012 primary again. The databases should still be running like normal on your 2012 instances so getting the application back online would be that simple. there would obviously be cleanup tasks to reset the 2017 instances as secondaries to the 2012 primary for the next migration attempt, but this wouldn't impact end users once the app is pointing to 2012 again.
January 15, 2020 at 6:13 pm
Is it possible to restore a differiential backup file from t http://rufushe SQL Server http://uc browser2012 Primary Database to the SQL Server 2017 database? Is it possible to http://filezilla restore the log backup files from the SQL Server 2012 Primary Database to the SQL Server 2017 database?
January 15, 2020 at 10:49 pm
Is it possible to restore a differiential backup file from the SQL Server 2012 Primary Database to the SQL Server 2017 database?
Is it possible to restore the log backup files from the SQL Server 2012 Primary Database to the SQL Server 2017 database?
Yes to both. As long as the 2017 database has had the correct FULL backup restored for those DIFF and LOG backups and has been left in a RESTORING or STANDBY state.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply