Hello @kannan
The best practice of high level steps are:
1.Export the existing AAD Connect configuration from the current server.
2.Install the latest version of AADC on a new or existing Windows Server 2016 computer.
3.Import the AADC configuration, put it into staging mode, and sync.
4.Uninstall AADC from the old server.
5.Remove the new server from staging mode.
As reference for Import/Export operations I can recommend this official Microsoft article:
https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-import-export-config
In regards to the SQL Database, there is a more detailed guide here: https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-move-db
Hope this helps with your query,
--
--If the reply is helpful, please Upvote and Accept as answer--