The Media Server relies on specific database and index files to manage configuration, events, recorded video, and metadata.
| NOTE: Modify database files only if requested directly by the Nx Support team. |
Site database
The site database contains the core settings required to run a Site. When you create a Site database backup, this file is what gets saved.
- Database technology: SQLite
- Synchronized across site: Yes
- Contents: User rights and settings, system settings, and device configurations
- Database locations:
- Windows:
C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix\Network Optix Media Server\ecs.sqlite - Ubuntu:
/opt/networkoptix/mediaserver/var/ecs.sqlite
Media Server database
The server database tracks local system activity for a single server.
- Database technology: SQLite
- Synchronized across site: No
- Contents: Local events, bookmarks, and operator actions
- Database locations:
- Windows:
C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix\Network Optix Media Server\mserver.sqlite - Ubuntu:
/opt/networkoptix/mediaserver/var/mserver.sqlite
Archive index
The archive index organizes recorded video for playback and timeline display.
- Database technology: Proprietary (
.nxdb) - Synchronized across site: No
- Contents: Storage index for recorded video
- Database locations:
- Windows:
C:\<mediaFolder>\<storageId>\<storageId>.nxdb - Ubuntu:
/<mount>/<user>/data/HD Witness Media/<storageId>/<storageId>.nxdb
Smart motion index
The smart motion index enables motion search across recorded video. While the server is online, it shares motion data with the rest of the system.
- Database technology: Binary index files
- Synchronized across site: No
- Contents: Motion index data for recorded video
- Database locations:
- Windows:
C:\<mediaFolder>\<storageId>\motion_data\metadata\<deviceMacAddress>\<year>\<month>\motion_detailed_data.bin - Ubuntu:
/<mount>/<user>/data/HD Witness Media/<storageId>/<storageId>.bin
Object metadata
Object metadata files store information generated by analytics plugins. The system uses these files to display analytics detections on the timeline and to process search queries from the search bar or API.
- Database technology: Proprietary (
.nxdb) and binary index files - Synchronized across site: No
- Contents: Objects index and analytics object metadata
- Database locations:
- Windows:
C:\<mediaFolder>\<storageId>\object_detection.nxdbC:\<mediaFolder>\<storageId>\archive\metadata\<deviceId>\<year>\<month>\analytics_*_*.bin
- Ubuntu:
/<mediaFolder>/<storageId>/object_detection.nxdb/<mediaFolder>/<storageId>/archive/metadata/<deviceId>/<year>/<month>/analytics_*_*.bin
Find custom object metadata paths
Because you can change the storage path for the analytics database, the file paths listed above are examples.
To find the location of your analytics database:
- Open Server Settings.
- Select the Storage Management tab.
- Locate your storage path, then append the storage ID and subdirectories shown in the location examples above.
Comments
0 comments
Article is closed for comments.