The movers arrive. The IT Director takes one look at the plan and says, “Should be easy.” Then the warehouse door goes up. So who has actually opened that door before moving day?
Short answer: a database migration is rarely just the database. Logins, scheduled jobs, linked servers, credentials, encryption keys and application connections live outside the database, and Microsoft says anything the database needs from outside itself must be made available on the destination server. Inventory those first, rehearse the move in a test environment, and agree on a rollback point before the cutover.
At a glance
- The database is the part you can see. Microsoft says anything stored outside a user database that the database needs must be made available on the destination server.
- The usual hidden items: logins, SQL Server Agent jobs, credentials, linked servers, encryption keys, cross-database settings, server-level triggers and startup procedures.
- A restore that succeeds proves the data arrived. It does not prove the jobs, logins and integrations around the data arrived with it.
- The target changes the list. Azure SQL Database, for example, does not support Windows logins or SQL Agent jobs directly.
- “Easy” is a finding, not an assumption. Some migrations are simple, and an inventory is how you find out which kind you have.
Why does a database migration look easy until moving day?
Because the visible part is easy. You can back up one database, restore it on a new server, compare row counts and see matching numbers. That is the truck in the driveway.
The warehouse is everything else on the server. Over the years, people added a nightly job here, a linked server there, a service account for a vendor tool and a certificate for an encrypted column. None of it sits inside the database you are restoring, and nobody wrote it down, because it already worked.
Microsoft describes it this way: some applications depend on information, entities or objects outside a single user database, typically in the master and msdb databases. Anything stored outside the user database that is required for the database to function correctly must be made available on the destination server instance. Restoring or attaching the database alone isn’t enough.
What is actually behind the warehouse door?
These are the items Microsoft’s documentation lists as living outside the user database, and what typically goes wrong when one is missed.
| Item behind the door | Where it lives | What goes wrong if you miss it |
|---|---|---|
| Logins and server-level permissions | master | People and applications can’t sign in, and database users become orphaned. Scripted logins don’t carry their passwords, so SQL authentication logins need extra handling. |
| SQL Server Agent jobs | msdb | Nightly loads, maintenance and reports quietly stop running. A job also depends on its login, the Agent service account and any proxies. |
| Credentials and proxies | Server level | Jobs that reach file shares or other outside resources fail on the new server. |
| Linked servers and distributed queries | Server level | Queries that read from other systems fail after cutover. |
| Encryption keys | Key protection is tied to master | The database master key may need to be opened and re-protected on the new server before encrypted data can be read automatically. |
| Cross-database queries | Database options (DB_CHAINING, TRUSTWORTHY) | Both are off by default, and attach and detach disable cross-database ownership chaining, so queries that span databases can break. |
| Server-level triggers and startup procedures | master | Behavior that ran automatically on the old server simply doesn’t exist on the new one. |
| Replication and Service Broker | Settings outside the data | Replication settings can’t be preserved by a restore, and Service Broker options are off after an attach. |
| Server configuration settings | Instance | A feature that is off by default on a new installation may be one the application quietly relies on. |
Microsoft’s list covers the SQL Server side. The unlabeled boxes outside SQL Server matter just as much: application connection strings, service accounts, firewall rules, scheduled tasks on other machines, SSIS packages, reports and third-party tools that talk to the database. They need an owner and a line in the inventory too.
How do you find out what you actually have?
Start with read-only queries on the source instance. They use documented catalog views and tables, and they list what exists, which is the first draft of the inventory.
-- 1. SQL Server Agent jobs (is this still needed? who owns it?)
SELECT j.name, j.enabled, SUSER_SNAME(j.owner_sid) AS owner_name
FROM msdb.dbo.sysjobs AS j
ORDER BY j.name;
-- 2. Linked servers
SELECT name, product, provider, data_source
FROM sys.servers
WHERE is_linked = 1;
-- 3. Credentials
SELECT name, credential_identity
FROM sys.credentials;
-- 4. Server-level triggers
SELECT name, type_desc, is_disabled
FROM sys.server_triggers;
-- 5. Startup procedures (run in master)
SELECT name
FROM master.sys.procedures
WHERE is_auto_executed = 1;
-- 6. Logins other than system accounts
SELECT name, type_desc, is_disabled
FROM sys.server_principals
WHERE type IN ('S', 'U', 'G') AND name NOT LIKE '##%'
ORDER BY name;
-- 7. User-defined error messages
SELECT message_id, text
FROM sys.messages
WHERE message_id >= 50000 AND language_id = 1033;
Treat the output as a starting point. A query can tell you a job exists, but not whether anyone still needs it, and it cannot see an application that connects from another machine. For each item, record an owner, what depends on it and whether it moves, changes or retires. Anything with no owner goes on an “unknown” list that someone has to resolve before the cutover.
What changes if the target is the cloud?
The destination decides which boxes can come through the door at all. Microsoft’s migration overview for Azure SQL Database says the key factors for choosing a migration option are the number of servers and databases, the size of the databases and the acceptable business downtime. It also says to review the features available in Azure SQL Database to confirm your target is supportable. Its specific notes include:
- Logins: Windows logins aren’t supported in Azure SQL Database, so you create logins from Microsoft Entra ID instead and recreate SQL logins manually.
- Jobs: SQL Agent jobs aren’t directly supported; Microsoft points to elastic jobs.
- System databases: only
masterandtempdbapply, so anything you stored inmsdbneeds a new home. - SSIS and SSRS: SSIS packages can be redeployed to the Azure-SSIS runtime in Azure Data Factory, and SSRS reports can be migrated to paginated reports in Power BI.
- When a VM fits better: Microsoft suggests considering SQL Server on Azure Virtual Machines if you need operating-system access or depend on features that aren’t supported, such as FileStream/FileTable or PolyBase.
Those notes are for Azure SQL Database. Azure SQL Managed Instance, SQL Server on a virtual machine and other platforms differ, so check the current documentation for the target you are actually considering. The point stands for any move: decide what happens to every item in the inventory before moving day.
What should “easy” actually mean?
A migration earns the word “easy” when these are true, and not before.
- The inventory exists. Databases, jobs, logins, linked servers, credentials, connecting applications and an owner for each.
- The target is confirmed. Version and features are checked against what the applications actually use.
- Downtime is agreed. The business has said how long it can be offline, and the migration method fits that answer.
- The move has been rehearsed. A test migration ran in a non-production environment, with the applications and scheduled jobs exercised afterward.
- A rollback point is written down. Everyone knows the conditions that trigger it and who decides.
- Validation is defined. Logins work, jobs ran on schedule, reports open and integrations respond, and the old server stays available until those checks pass.
Is “should be easy” ever actually true?
Sometimes. A single database with few outside dependencies, a tolerant downtime window and a well-understood application can be a quick move. The difference is that the team knows it is simple because they looked, not because it sounded simple in a meeting.
Our companion article, It’s Just a Small Database Migration. What Could Go Wrong?, covers how discovery improves the estimate. This one is the field guide to what you are likely to find when you look. For ways to shorten the outage itself, see SQL Server migration with minimal downtime: methods compared.
Where should you start?
Pick the one database that someone has called “easy.” Run the inventory queries on its instance, list every job, linked server and login that touches it, and find an owner for each. Anything nobody can explain goes on the unknown list. Then ask the person who said “should be easy” to look at the list with you.
If the list is short, you have your proof. If it is long, you just found the warehouse before the movers did.
Get help
Everconnect Data Systems handles database migration and modernization from discovery and assessment through planning, implementation and validation. See our database migration case studies and the guide to migrating legacy databases to SQL Server. The free SQL Server Migration Readiness Assessment is a self-assessment: it does not connect to or inspect your database.
Want a fixed-price look at the server you are about to move? The SQL Server Health Check is $499 per server: about 200 read-only checks across 10 risk areas, a scored report in 3 business days and a walkthrough with our team. See an example report.
Frequently asked questions
Build an inventory of what is on the source instance and what depends on it: databases, SQL Server Agent jobs, logins, linked servers, credentials, encryption keys and the applications that connect. Give every item an owner. Estimates made before that inventory are guesses.
Anything stored outside the user database. Microsoft lists logins, SQL Server Agent jobs, credentials, linked servers, server-level triggers, startup procedures, replication settings and more as items that may need to be re-created on the destination server. The data moves with the backup; this surrounding configuration does not.
A database user maps to a server login stored in master. When the database is restored or attached on another instance and the matching login is missing or defined differently, the user can’t sign in and is called orphaned. Scripting logins also doesn’t carry passwords, so SQL authentication logins need extra handling.
No. Job metadata is stored in msdb, so jobs must be re-created on the destination instance, along with the logins, Agent service account permissions and proxies they depend on. Microsoft recommends scripting a simple job first and running it to find incompatibilities before relying on the rest.
Not directly. Microsoft’s migration overview says SQL Agent jobs aren’t directly supported in Azure SQL Database and points to elastic jobs instead. Other targets, such as SQL Server on a virtual machine or Azure SQL Managed Instance, differ, so check the documentation for your specific target.
It depends on the environment, and no single number fits every project. Microsoft names the number of servers and databases, the size of the databases and the acceptable business downtime as the key factors, and for logical migrations the number of objects matters as well as size.
The method decides the outage. Microsoft notes that BACPAC import and export and bulk copy require downtime, while transactional replication can keep the source online as changes flow to the target, at the cost of a more complex setup. Match the method to the downtime the business has actually approved.
Yes. Agree the conditions that trigger a rollback and who decides before the change window opens, and keep the source environment available until post-cutover validation passes. A rehearsal in a non-production environment shows whether the rollback steps are realistic.
Related guides
- It’s just a small database migration. What could go wrong?
- SQL Server migration with minimal downtime: methods compared
- SQL Server pre-upgrade checklist: what to check before you upgrade production
- Lift-and-shift vs. refactor: choosing the right migration strategy
- Who gave everyone the crown? Why too many SQL Server sysadmins is a real risk
Updated November 4, 2026. Written by Nathan Jaskot, founder of Everconnect Data Systems, a US-based, veteran-owned database consulting firm founded in 2010. Technical facts were checked against Microsoft documentation on that date (sources below).
Sources (checked November 4, 2026)
- Microsoft Learn: Manage metadata when making a database available on another server
- Microsoft Learn: SQL Server to Azure SQL Database migration overview
About the author. Nathan Jaskot is the founder of Everconnect Data Systems, Inc., a US-based, veteran-owned database and technology consulting company he started in 2010. Everconnect works with SQL Server, PostgreSQL, MySQL, Oracle, Azure and AWS. Learn more about Everconnect.







