---
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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> accounts that are no longer needed  
* Remove <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>-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  

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

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

* <i class="fal fa-truck-moving" aria-hidden="true"></i> [Database Migration Overview][] - Hub page with decision tree  
* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Troubleshooting][SQL Server Overview]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

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

[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[AutoRemove]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/automating-removal-of-old-log-databases/
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Configuration Changes]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/configuration-changes/
[Database Migration Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/
[Database Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/database/overview/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Local Disk Move]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/local-disk-move/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Planning]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/planning/
[Post Installation Steps]:https://docs.nodinite.com/install-and-update/getting-started/post-installation-steps/
[Remote SQL Instance Move]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/remote-sql-instance-move/
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn-for-sql-server/
[SQL Instance]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-instance/overview/
[SQL Server Backups]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/#backups
[SQL Server Options]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[SQL Server Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/overview/
[Validation and DACPAC Registration]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/validation-and-dacpac-registration/