OS and SQL server upgrade

AJCV 0 Reputation points
2024-07-23T12:00:18.7866667+00:00

What could be the best upgrade plan for MS SQL server 2012 and Windows server 2012?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,953 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,205 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Zahid Butt 956 Reputation points
    2024-07-23T14:18:47.8333333+00:00

    Hi,

    You may chose in place upgrade or prepare parallel machines (remaining old machines untouched) , restore everything from old machines and go live.

    We recently went through this , had SQL server 2014 & windows 2012 on old machines. We got new machines ready with Windows 2019 & SQL server 2022 , took backups from old machines & restored on new machines.

    Before doing in place upgrade consider few things, go through below links:

    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/install/windows/use-sql-server-in-windows

    https://learn.microsoft.com/en-us/sql/database-engine/install-windows/upgrade-sql-server?view=sql-server-ver16

    https://learn.microsoft.com/en-us/sql/database-engine/install-windows/supported-version-and-edition-upgrades?view=sql-server-ver16


  2. LucyChenMSFT-4874 5,060 Reputation points
    2024-07-24T02:27:40.3166667+00:00

    Hi @AJCV ,

    Thank you for your reaching out and welcome to Microsoft Q&A!

    In addition to Zahid's answer, here are my suggestions below:

    Upgrading from SQL Server 2012 requires careful planning to ensure a smooth transition.

    The first step in pre-upgrade planning is to assess the current environment. This includes identifying the current version of SQL Server, operating system, disk space and hardware specifications.

    SQL Server supports various upgrade paths, including in-place upgrades, side-by-side upgrades, and rolling upgrades.

    Before upgrading to the version of SQL Server which you want to upgrade (I recommend the SQL Server 2022 here), it is essential to review the feature compatibility between SQL Server 2012 and 2022. We'd better review the release notes and documentation to understand the changes in features and functionality.

    Before upgrading, it is crucial to back up all databases. This ensures that in case anything goes wrong during the upgrade process, you can quickly restore the databases to their previous state.

    For older versions of SQL Server, you can also Migrate to SQL Server 2022.

    Here is a link explains the preparation before the upgrade, upgrade implementation steps and the maintenance steps in detail after the upgrade.

    About the Windows Server 2012 upgrading, please refer to this official document, we can get the information:

    You can only upgrade to up to two versions of Windows Server at a time. Therefore, the upgrade path supported by Windows Server 2012 is Windows Server 2012R2 or Windows Server 2016.

    User's image

    Feel free to share your issues here if you have any concerns.

    Best regards,

    Lucy Chen


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.