====== data directory ====== The location of the ''data'' directory is configurable (in [[util:SCFG]]->System->Advanced Options), but defaults to a sub-directory named **''data''** off of the installation directory (e.g. ''/sbbs/data/''). ===== Directory Contents ===== The Synchronet Data directory contains the run-time data created during the normal operation of the BBS. Examples include: - ''mail.*'' - Private email and netmail message base - ''spam.hash'' - Database of known-SPAM message body hashes (used by the [[server:Mail]] Server) - ''logon.jsonl'' - List of user logons to the [[server:Terminal]] Server (''logon.*.jsonl'' files are previous days logons) - ''logon.lst'' - List of user logons to the [[server:Terminal]] Server - //legacy format// - ''areas.bbs'' - FidoNet-style message areas (used by [[util:SBBSecho]]) - ''badareas.lst'' - Unconnected FidoNet-style message areas (used by [[util:SBBSecho]]) - ''echostats.ini'' - FidoNet-style message area statistics (used by [[util:SBBSecho]]) - ''sbbslist.json'' - BBS List (used by [[module:sbbslist]]) - ''*.log'' - Log files created by Synchronet and some utilities (e.g. [[util:SBBSecho]]) - ''*.now'' - [[config:semfiles|Semaphore files]] used by Synchronet ===== Sub-directories ===== Typical sub-directories of the Data directory include: ==== user ==== Where user data is stored. - ''user.dat'' - user database - ''name.dat'' - username index - ''.sig'' - user signature - ''.*'' - other user file - ''.ini'' - user configuration settings (used by JS modules) - ''ptrs/.ixb'' - user message scan configuration and pointers ==== subs ==== Synchronet message-base (SMB) files for configured sub-boards ([[util:SCFG]]->Message Areas) reside here. - ''.shd'' - message headers - ''.sha'' - message header allocation (optional) - ''.sid'' - message indexes - ''.sdt'' - message data - ''.sda'' - message data allocation (optional) - ''.sch'' - message CRC history (for duplicate message body text checking) - ''.ini'' - message base auxiliary configuration and state information - ''.hash'' - message hashes (for indexing and duplicate message ID and body text checking) - ''.sfp'' - SBBSecho FidoNet export pointer (old/deprecated style, replaced with ''*.ini'') - ''.list.sub'' - Synchronet ListServer subscribers - ''.list.ptr'' - Synchronet ListServer export pointer (old/deprecated style, replaced with ''*.ini'') - ''.smm'' - Synchronet Match Maker import pointer ==== dirs ==== File transfer directory database files reside here. - ''.shd'' - file headers (metadata about files) - ''.sha'' - file header allocation - ''.sid'' - file indexes (filenames and hash values) - ''.sdt'' - file extended descriptions and aux data - ''.sda'' - file extended descriptions and aux data allocation - ''.ini'' - filebase metadata ==== file ==== This directory contains various file transfer: - User download queues (''.dwn'') - Pre-packed QWK packets (''.qwk'') - Uploaded QWK reply packets (''.rep'') - Files received via QWK reply packet (''.in/*'') ==== logs ==== Various dated activity log files are stored in this directory. ==== qnet ==== QWK networking files are stored in this directory. - ''.ptr'' - QWKnet hub export pointer - ''.out/*'' - File to send to QWKnet node or hub - ''.in/*'' - Files received from QWKnet node or hub - ''.avatars.ini'' - Users avatars received from QWKnet node or hub - ''.*.bin'' - Avatar collections received from QWKnet node or hub - ''route.dat'' - QWKnet route table - ''NODES.DAT'' - QWKnet node list - ''USERS.DAT'' - QWKnet user list ==== fido==== FidoNet-style networking files are stored in this directory ('''' is in hexadecimal net/node format). - ''.avatars.ini'' - Users avatars received from FidoNet-style node - ''.*.bin'' - Avatar collections received from FidoNet-style ==== finger ==== Files placed here can be queried using "special finger requests" to the [[service:finger]] service. ==== msgs ==== Short text messages are stored here: - ''.msg'' - user-to-user short message (a.k.a. telegram) - ''n.msg'' - node-to-node short message - ''auto.msg'' - system auto-message ==== text ==== Hierarchy and index files utilized for the //text files// BBS subsection. ===== See Also ===== * [[./index|Directory structure]]