Upgrade SQL SErver to version 2019
We want to upgrade to SQL 2019 next month.
I know that when you do native back in SQL (say version 2014) and restore to a newer version SQL (say version 2016), it will upgrade the SQL version to 2016. As part of the restore process.
Question is that: Can I backup using RG SQL backup on server w SQL 2016 and then restore on a new server running version 2019? Will it work? number one
and
Will it upgrade the db to version 2019?
Thank youn in advance!
Best Answer
-
Jon_Kirkwood Posts: 423 Silver 5
Hi @baghul
Thank you for reaching out on the Redgate forums regarding your SQL Backup query.
The behavior with SQL Backup should be much the same as restoring an older SQL Server db through SSMS
1 - Yes you can restore an older db backup to a newer version. It's not the same case going from a newer version to older however.
2 - The restored db should be a SQL Server 2019 database with a compatibility level set to SQL Server 2016 (130)
This can be viewed in SSMS through database properties > Options > Compatibility level
It would certainly be recommended testing a full backup & restore on SQL Server 2019 to verify the database is being created as you expect.
Depending how you conduct your SQL Server upgrade it may be necessary to re-deploy the SQL Backup agent and conduct a manual restore to create a baseline for your backups in the new environment.
Jon Kirkwood | Technical Support Engineer | Redgate Software
Answers
We are continuing to test and will report back.