imip-agent

docs/wiki/FileStore

1355:6975cdaac4a4
2017-10-20 Paul Boddie Simplify the interface of the rule periods computation function.
     1 = File Store =     2      3 The file data store is the default mechanism for storing calendar objects and     4 free/busy details, making use of various directories as described in the     5 [[../FilesystemUsage|filesystem usage guide]].     6      7 Benefits of the file store include transparency and ease of administration:     8 all data is stored in text files, direct modification of certain files can be     9 performed to change the system's behaviour, archiving is possible using    10 traditional filesystem tools. However, the simple representation may make    11 certain operations costly, such as the modification of tabular data, and    12 querying of data may not always be particularly convenient.    13     14 Thus, the [[../DatabaseStore|database store]] exists as an alternative, offering    15 different characteristics to those of the file store.    16     17 == Configuration Settings ==    18     19 The [[../Configuration|configuration]] files (`config.sh` and `config.txt`) need to be    20 updated when choosing a file store.    21     22 {{{#!table    23 '''File''' || '''Setting''' || '''Value''' || '''Description'''    24 ==    25 `config.sh`    26 ||<rowspan="2"> `STORE_TYPE`    27 ||<rowspan="2"> `file`    28 ||<rowspan="2"> Selects the default file storage type    29 ==    30 `config.txt`    31 ==    32 <rowspan="2"> `config.txt`    33 || `STORE_DIR`    34 || `/var/lib/imip-agent/store`    35 || Indicates the filesystem location of the data store    36 ==    37 `JOURNAL_DIR`    38 || `/var/lib/imip-agent/journal`    39 || Indicates the filesystem location of the journal    40 }}}