HOWTO: Conveniently transfer LuxRiot DVR Server settings to another server computer
The information applies to:
- LuxRiot 1.2.x and more recent
Summary
LuxRiot DVR Server keeps video capture hardware settings, camera and other settings in configuration database which can be transfered to another computer when necessary or can be used to make a backup of and restore in case of crash, hardware failure etc.
Description
LuxRiot DVR Server configuration database file “Digital Video Recorder.mdb” is located in LuxRiot installation directory, typically “C:\Program Files\LuxRiot Digital Video Recorder“.
The configuration database contains configuration of server side objects such as cameras and recording. a backup and restore of the database may be useful to restore configured cameras if necessary, for example, in case of unexpected OS restart (caused by, for example, power outage) at the moment of writing to the database, which under certain circumstances may corrupt the database, or switch server configurations between multiple saved database files.
Server configuration is stored under so called instance name, which identifies LuxRiot DVR Server instance in case the database is shared between two or more LuxRiot DVR based servers. By default the instance name is the name of the computer on network (accessible through My Computer desktop icon, Properties menu item, Computer Name tab):

When the database is transfered to another computer it is required to either replace database instance name with a new computer name that hosts LuxRiot DVR Server software or specify instance name explicitly (override the default) via registry. Otherwise LuxRiot DVR Server will be unable to find its settings and create new default settings (that is based on local hardware with no remote LAN cameras).
To override instance name via registry is is required to open registry editor at the key “HKEY_LOCAL_MACHINE\SOFTWARE\A&H\LuxRiot\Server\Configuration” and edit value “Instance Name” (create new if it does not exist) and specify instance name of LuxRiot DVR Server where the configuration is copied/moved from (that is computer name of this server or registry value if specified as a registry override).

To replace database instance name in the database it is required to open or otherwise access the database using MS Access or a similar tool and edit field Name in Server table.

Once instance name is updated, LuxRiot DVR Server on next startup will use transferred or restored configuration settings.