What to Check Before Moving Your Database to the Cloud
Moving a database to the cloud? Check compatibility, backups, cutover and rollback first. This guide covers the full checklist, phase by phase

Moving a database to the cloud is a different job from moving an application. An application can be redeployed; a database carries your data, your history, and every dependency your software has ever formed. Before you move it, check compatibility, size, performance, security, backups, and the cutover plan.
Most database migrations that go wrong fail on one of those checks, and almost all of them could have been caught in advance.
The single most common cause of a bad migration is not a technical failure. It is an undiscovered dependency: a reporting job nobody remembered, a linked server, a stored procedure that calls an external system, or an application that connects with a hard-coded address.
Work through it in order. Assess the source, prepare the target, prove you can recover, move and synchronise the data, cut over in a controlled way, and validate before retiring the old database.
If you are planning a wider move, start with our guide on what to check before moving to the cloud, which covers the groundwork for the whole migration.

Key Takeaways
- Inventory everything first: databases, versions, jobs, triggers, linked servers, and every application that connects.
- Check compatibility at the engine, version, extension, and feature level before choosing a target.
- Prove recovery before you move data: test a restore on the target and rehearse the rollback.
- Use replication or change data capture for the move, so cutover takes minutes, not hours.
- Validate with real workloads after cutover, and keep the old database available until the new one has proven itself.
What Should You Inventory Before Anything Else?
Start with a full inventory of what actually exists. List every database, its engine and version, its size, and its growth rate. Note the peak write rate and peak connection demand, because those numbers decide the size of the target. Monitor for at least two weeks.
Real usage, not the specification sheet, is what you size from.
Then map the dependencies. Which applications connect to which databases, and which databases talk to each other? Look for stored procedures, triggers, scheduled jobs, and database links. Flag anything undocumented. If nobody can explain what a database does, that is not a sign it is safe to ignore.
It is a sign nobody has found its dependency yet.
Catalog the features your applications rely on. For SQL Server, that means SQL Agent jobs, SSIS packages, Reporting Services reports, CLR assemblies, linked servers, and FILESTREAM usage. For MySQL and PostgreSQL, it means extensions, custom functions, triggers, and scheduled events.
Finally, record the non-technical constraints. Data residency rules may limit which provider and region you can use. Licences may be tied to hardware or core counts and need transferring or repurchasing. Compliance requirements may demand encryption, audit logging, or specific backup retention.
How Do You Check Compatibility?
Compatibility is the gate that decides whether the move is straightforward or a project. Run an assessment tool against every source database. For SQL Server, the Data Migration Assistant and SQL Server Migration Assistant flag deprecated features, breaking changes, and unsupported objects.
For PostgreSQL and MySQL, the cloud providers’ migration services include assessment reports that do the same job.
Check the engine and version first. A managed service may not offer the exact version you run today, and a version jump can change behaviour. Some application code depends on legacy behaviour tied to a specific compatibility level. Confirm the target supports your version, or plan the upgrade and test it.
Check extensions and features next. PostgreSQL extensions, MySQL plugins, collations, and character sets must all exist on the target. A missing extension is a blocker, not a detail, and it is far better to discover it in assessment than on cutover night.
Check authentication and connectivity. SQL logins, Windows Authentication, and Entra ID behave differently on each target, and the choice affects your platform decision. Review the drivers your applications use and test them against the target.
A driver that works against a self-hosted database can fail against a managed one because of TLS requirements or connection limits.
Check the connection model. Managed databases often limit the number of connections, and applications that open a new connection per request can hit the limit quickly. Plan connection pooling before the move. Test the top queries by CPU cost and duration on the target, and investigate anything that runs slower before cutover day.
How Should You Prepare the Target?
Provision the target at the same size as production. Do not rightsize down yet. The migration is not the time to save money on capacity. Match the instance size, storage, and configuration, and validate performance with the same workload. You can optimise after the move, when the new environment is stable.
Set up networking before you move data. The application servers need a private, reliable path to the new database. Design the virtual network, firewall rules, and access controls in advance. Admin access should go through a VPN or fixed addresses, not the open internet.
Configure backups and point-in-time recovery on the target before the first row of data arrives. For managed services, verify that automated backups are enabled and test a restore to a temporary instance. A backup you have never restored is a hope, not a plan.
Set up monitoring and alerts on both the source and the target. Know what you are looking for: connection errors, slow queries, replication lag, and storage growth. Assign an owner for each alert.
Prepare the runbook. Every step of the migration should have an owner, a time, and a decision point. Write down the go and no-go criteria for cutover, who makes the call, and how you roll back.
How Do You Move the Data Safely?
Choose the move method by downtime tolerance. For most small teams, replication or change data capture is the right answer. Tools such as AWS Database Migration Service, Azure Database Migration Service, and Google Cloud’s Database Migration Service copy the existing data and then keep the target in sync as new writes arrive.
Cutover then takes minutes, because only the final changes need to move.
| Move method | Downtime | Best for |
|---|---|---|
| Backup and restore | Hours, while data copies | Small databases with a generous maintenance window |
| Replication / change data capture | Minutes at cutover | Most production databases; the default choice |
| Dump and load | Hours, and slower for large data | Small, simple databases with no replication tooling |
For a small database with a generous maintenance window, a simple backup and restore can work. Take a full backup, restore it on the target, and time the whole process. Record how long it takes. If the restore takes longer than the window allows, you need replication instead.
Whatever the method, run a dry run first. Perform the full cutover procedure on a copy of production data, in a non-production window, so you discover problems when they do not matter. Time every step.
During the move, watch replication lag. For MySQL or PostgreSQL, check the binary log position or log sequence number on the source and the target. They should be nearly identical, with lag under one second before cutover.
What Does Cutover Night Look Like?
Cutover night follows a fixed sequence with timing for each step. An hour before, confirm that the application teams are standing by and that monitoring is active on both databases. Run a final validation query against the source and record the result.
Confirm that the new connection strings are staged and ready to deploy, and that they are stored in secrets management, not in the runbook as plain text.
Thirty minutes before, run the final replication sync and confirm the lag is under one second. Then stop new writes to the source. This is the moment of truth, and it should be short. Deploy the new connection strings, restart the applications, and confirm they connect to the target.
Then validate. Run the business workflows that matter: log in, place an order, run a report, process a payment. Check row counts and checksums between source and target. Run the top queries and confirm they perform as expected. Check that scheduled jobs run and that backups are working on the target.
Lower DNS time-to-live values to 300 seconds a day or two before cutover, so any DNS switch propagates in minutes instead of a full day. This small step prevents a long tail of clients reaching the old database after the move.
Your Database Migration Checklist
Use this checklist as the gate for each phase. Do not advance to the next phase until the current one has its evidence in hand.
- Every database, version, size, job, trigger, and dependency is inventoried and documented.
- Compatibility assessment is complete, with a remediation plan for every blocker found.
- Target is provisioned at production size, with networking, backups, and monitoring configured.
- Backup and restore have been tested on the target, including point-in-time recovery.
- Connection pooling is planned, and drivers are tested against the target.
- A dry run of the full cutover has been completed and timed on a copy of production data.
- Replication lag is under one second, and the rollback plan has a named owner.
- DNS TTL is lowered to 300 seconds at least 24 hours before cutover.
- Go and no-go criteria are written down, with one person authorised to make the call.
- After cutover, business workflows, row counts, jobs, and backups are validated before the source is retired.
Frequently Asked Questions
How long does a database migration take?
It depends on size and method. A small database can move in hours with backup and restore. A large one using replication may take days of syncing, but the cutover itself takes minutes. The planning, assessment, and dry run usually take longer than the move.
Can I migrate a database with zero downtime?
Near-zero, yes, with replication or change data capture. The target stays in sync with the source, and cutover means switching the connection and stopping writes to the old database for a few minutes. True zero downtime is rare, because there is always a brief moment when writes pause.
Plan for a short window and keep it as small as possible.
Should I use a managed database or run my own in the cloud?
For most small teams, a managed database is the better choice. Backups, patching, and high availability are included, and you avoid operating the database yourself. Run your own only when the workload needs operating-system or filesystem control that a managed service cannot provide.
What is the biggest risk when moving a database?
An undiscovered dependency. A reporting job, a linked server, or an application that connects with a hard-coded address will break after the move if nobody knew about it. Inventory thoroughly, run a dry run, and keep the old database available as a rollback until the new one has proven itself.
How do I know the migration actually worked?
Validate with real workloads, not just row counts. Run the business workflows that matter, compare checksums between source and target, run the top queries and check their speed, and confirm that scheduled jobs and backups work on the target.
When can I delete the old database?
Only after the new database has run production traffic for at least one full business cycle, with backups, jobs, and monitoring all proven. Keep a final backup of the old database even after you delete it.
Conclusion
Moving a database to the cloud rewards preparation and punishes haste. Inventory everything, check compatibility early, prove you can recover, move with replication, and validate with real workloads before retiring the source. The migration itself is rarely the hard part. The dependencies, the performance differences, and the cutover discipline are.
Follow the checklist, run a dry run, and keep the old database warm until the new one has earned your trust. Done that way, a database migration is a boring, well-rehearsed process, which is exactly what it should be.