ODBC stores the DSN information in an ODBC.INI tree in the registry.
These posts explain how to export/import individual DSN entries:
- [WayBack] export – Exporting ODBC System DSNs from a windows 2003 machine? – Stack Overflow
regedit /e c:\backup\odbc-system-x86.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI"
regedit /e c:\backup\odbc-system-x64.reg "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI"
regedit /e c:\backup\odbc-user.reg "HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI"
- [WayBack] Export an ODBC Data Source from the registry | Ken Cenerelli:
I recently found myself needing to do some Crystal Reports testing on a virtual machine. The tests were successful on my laptop but we use a virtual machine running Windows Server 2008 R2 and…
–jeroen