---
title: "Post-Migration Steps: Cleanup and Optimization"
description: Post-migration steps including backup strategies, monitoring setup, and decommissioning of old SQL environments.
---

# Post-Migration Steps

After successfully migrating and validating your :Nodinite: databases, complete these important final steps.

## Documentation and Communication

* Make sure to update any existing documentation and inform key stakeholders about the outcome of your move operation  

## Backup Strategies

* Make sure to backup the [Configuration Database][ConfigDB], the [Log Databases][], and any [Monitoring Databases][Agent Database] in the new SQL environment (see [Backups][SQL Server Backups])  
* Establish a regular backup schedule matching your business continuity requirements  
* Test backup and restore procedures before resuming normal operations  

## Monitoring Setup

Add SQL Monitoring of new [SQL Instance][](s) using the :Nodinite: [Database Monitoring Agent][]. If you removed old Log Databases with a SQL Server Agent job on the old instance, create the job on the new instance too (see [Automating removal of old Log Databases][AutoRemove]).

Configure alerts for:

* Database growth  
* Free disk space  
* Connection count  
* Query performance  

## Decommission Old SQL Server

### Full Decommissioning

If the old SQL Server instances are no longer needed:

* Decommission the old SQL Server instances (if they are not in use for other purposes)  
* Remove any accounts created for :Nodinite: that are no longer needed  
* Remove [Linked Servers][] that are no longer required  
* Remove [SPNs][SPN] registered for the old SQL Server names, unless a listener or cluster name was re-used  
* Archive or destroy database backups according to your retention policy  

### Partial Decommissioning

If other services continue to use the old SQL Server environment:

* Remove the :Nodinite: accounts that are no longer needed  
* Remove :Nodinite:-specific [Linked Servers][]  
* Ensure no other services depend on these resources before removal  

### Data Cleanup

If you performed a copy (not move) operation:

* The data and log files might now be removed from the old SQL Server environment since they are no longer required  
* Verify all data has been successfully migrated before deletion  

## Performance Tuning

Review the [Post Installation Steps][] guide and the [SQL Server Options][] for optimization recommendations specific to your deployment:

* Index optimization  
* Query performance tuning  
* Statistics updates  
* Log file maintenance  

## :fa-hand-point-right: Next Steps

**Migration complete!** Return to overview or review related topics:  

* :fa-truck-moving: [Database Migration Overview][] - Hub page with decision tree  
* :fa-database: [SQL Server Troubleshooting][SQL Server Overview]  

## :fa-link-horizontal: Related Topics

* :fa-rocket: [Post Installation Steps][] - Performance tuning and optimization  
* :fa-database: [Database Monitoring Agent][] - Monitor new SQL environments  
* :fa-clipboard-check: [Planning][] - Pre-flight checklist  
* :fa-hard-drive: [Local Disk Move][] - For same SQL instance  
* :fa-server: [Remote SQL Instance Move][] - For different SQL instance  
* :fa-gear: [Configuration Changes][] - Connection strings update  
* :fa-circle-check: [Validation and DACPAC Registration][] - Testing and verification  
* :fa-database: [SQL Server Options][]  

[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[AutoRemove]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Automating%20removal%20of%20old%20Log%20Databases.md
[ConfigDB]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[Configuration Changes]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/4.%20Configuration%20Changes.md
[Database Migration Overview]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/Overview.md
[Database Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Database/Overview.md
[Linked Servers]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Servers.md
[Local Disk Move]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/2.%20Local%20Disk%20Move.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Planning]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/1.%20Planning.md
[Post Installation Steps]:{ndr}/Install%20and%20Update/Getting%20started/7.%20Post%20Installation%20Steps.md
[Remote SQL Instance Move]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/3.%20Remote%20SQL%20Instance%20Move.md
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN%20for%20SQL%20Server.md
[SQL Instance]:{ndr}/Logging%20and%20Monitoring/Database/Features/SQL%20Instance/Overview.md
[SQL Server Backups]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Options.md#backups
[SQL Server Options]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Options.md
[SQL Server Overview]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Overview.md
[Validation and DACPAC Registration]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/5.%20Validation%20and%20DACPAC%20Registration.md