Migrating ODBC data sources from one server to another
If you want to migrate your ODBC data sources from one server to another, you can do this using regedit...
On the source server/machine...
- Start regedit.exe
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
- Highlight the ODBC.INI key in the left pane
- From the File menu, select Export...
- Enter a suitable file name (odbc.reg), and save it to a network share or external drive (USB Stick)
On the target server/machine...
- Start regedit.exe
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
- Right-click ODBC.INI and choose Rename
- Rename ODBC.INI as ODBC.INI.BACKUP or similar
You can then always roll back to your previous settings by renaming ODBC.INI.BACKUP to ODBC.INI - Highlight (select/left click) ODBC.INI's parent registry key (ODBC)
- From the File menu, select Import...
- Browse to the location of your previously exported odbc.reg file
- Double-click odbc.reg to import it
Test your applications that use the data sources to confirm that the import was successful.


Comments