Sql-server – Full Migration 2008R2 -> 2016

migrationsql serversql-server-2008-r2sql-server-2016

We currently have Windows Server 2008 with MS/SQL 2008R2: the default instance and two named instances.
We are spinning up a Windows 2016 Server onto which we will install MS/SQL Server 2016 Standard default instance and two named instances. If I understand what I've read so far I can detach the databases from 2008R2, copy the files to the new 2016 environment and attach to them… enable query store and up the comparability. What I need to know is:

  1. How to migrate the user records with their passwords
  2. How to migrate the Linked Servers with their passwords

I have read posts similar to SQL Server Upgrade 2008 -> 2016 / 100 to 130 compatibility slow queries, new CE killing me but find no info' specific to Users and/or Linked Servers

Best Answer

f I understand what I've read so far I can detach the databases from 2008R2, copy the files to the new 2016 environment and attach to them... enable query store and up the comparability.

No. Dont do detach/attach. Instead use backup/restore.

If you have a very tight migration window, setup logshipping or Mirroring and just do a cutover to new instance.

I have detailed about pre and post steps for migration.

How to migrate the user records with their passwords

Use dbatools to help you out in migration. For logins, just use Copy-DbaLogin.

How to migrate the Linked Servers with their passwords

use Copy-DbaLinkedServer