June 23, 2025 at 12:46 pm
Hi,
Is it possible to upgrade from sql server 2008 to sql server 2022, considering we have hardware req fulfilled?
Or like we have to upgrade to sql server 2014/16 midway and then from there to sql server 2022
A normal backup and restore will suffice?
Any ideas ?
Regards
Sushant Kumar
June 23, 2025 at 6:56 pm
My advice - don't trust random people on a forum - trust the source. Check the Microsoft Docs:
Upgrading to 2022 requires a min version of 2012 SP4.
Now, that being said, I don't like upgrading and skipping major versions. Too many things can go wrong and fixing it can be a huge pain in the butt. My approach to go from 2008 to 2022 would be to start with base 2008 R2 and test things. If things are good, then go to the latest 2008 R2 and retest. Then repeat with 2012, 2014, 2016, 2017, 2019, and finally 2022. LOTS of upgrades with that path, but lowest risk.
Plus it depends on if you are doing in-place upgrades OR migration (backup/restore on new instance) upgrade. In place is nice in that you get to keep all system database objects (logins for example). Migration upgrades are nice because it makes a rollback easy - turn the old instance back on. Migration upgrades also come with a bit of risk because you end up with a new instance name. So any applications that are explicitly looking for that instance will need to have connection string information updated. In place upgrades keep the same connection string, but rollbacks are a LOT more difficult and may even be impossible.
The above is all just my opinion on what you should do.
As with all advice you find on a random internet forum - you shouldn't blindly follow it. Always test on a test server to see if there is negative side effects before making changes to live!
I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.
June 24, 2025 at 10:38 am
Don't perform "in-place" upgrades!
You'll want to migrate to an new ( and supported ) OS anyway.
Request 2 OS : 1 temporary - 1 permanent target
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
June 27, 2025 at 6:29 am
In your position, where the source environment is old and the target is new, I would aim to do it in the fewest steps. For you this means an intermediate host of SQL2014 SP4.
The intermediate is there as a necessary evil. I would not bother with any application testing at the intermediate level, but I would run some SQL scripts to confirm the restore has delivered a useable database.
It is at the target level that the application testing should be done. For me, who cares that the app had issues (say) on Win2012, Win2016 or SQL 2019, when the target is to get it working on Win2022 and SQL2022.
Focus the troubleshooting on the target environment. The business need is the target environment, so that is the only place it needs to work. You already know there are many differences between source and target, so don't expect everything to work first time.
Do what you should normally do - triage the problems into those that must be fixed before go-live and the technical debt that can be scheduled to be fixed later. Also avoid any nice-to-have upgrades as these can expand to fill months of work. The focus should be on getting the MVFS working on the target environment and fixing the rest later.
Original author: https://github.com/SQL-FineBuild/Common/wiki/ 1-click install and best practice configuration of SQL Server 2019, 2017 2016, 2014, 2012, 2008 R2, 2008 and 2005.
When I give food to the poor they call me a saint. When I ask why they are poor they call me a communist - Archbishop Hélder Câmara
June 28, 2025 at 3:33 am
Specefic to your question ; You can just do a direct backup and restore to new instance. Rest I am sure you know how to deal with migration.
"A backup taken on SQL Server 2008 (10.0.x) and later, can be restored to SQL Server 2022 (16.x) without changing its compatibility level, as long as the database backup has a compatibility level of 100 or higher."
Thanks,
Abhinav
July 8, 2025 at 10:19 am
Hi,
Is it possible to upgrade from sql server 2008 to sql server 2022, considering we have hardware req fulfilled?
Or like we have to upgrade to sql server 2014/16 midway and then from there to sql server 2022
A normal backup and restore will suffice?
Any ideas ?
If you going for a side by side upgrade you can do log-shipping from 2008 to 2022 and AFAIK thats the easiest and simplest way to upgrade. Just make sure you move the jobs, logins, audits, extended events and other objects.
The downtime will be minimum and you can individually makes the databases online.
July 17, 2025 at 7:42 am
This was removed by the editor as SPAM
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply