Portal Database Snapshot

Whenever the portaldb.json structure is updated, a snapshot is created in two flat, tab delimited files: access.txt and elements.txt.

Although DivePort creates these files whenever the portaldb file is modified, it waits 10 minutes before writing them in the directory. This allows any additional changes during those 10 minutes to also be captured in the file. These snapshot files are stored on the server: \webdata\<diveport>\database-extract\.

This feature enables you to develop DivePort activity reports in an automated manner, by combining the event and usage logs with the contents of the portal database as saved periodically in the access.txt and elements.txt files.

NOTE: When you start DivePort, it automatically triggers an update to the database-extract files after a few minutes. This ensures that the files remain current if the portaldb file is changed when DivePort is not running.

 

See also: