File: FileStore

package info (click to toggle)
imip-agent 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,056 kB
  • sloc: python: 9,888; sh: 4,480; sql: 144; makefile: 8
file content (40 lines) | stat: -rw-r--r-- 1,388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
= File Store =

The file data store is the default mechanism for storing calendar objects and
free/busy details, making use of various directories as described in the
[[../FilesystemUsage|filesystem usage guide]].

Benefits of the file store include transparency and ease of administration:
all data is stored in text files, direct modification of certain files can be
performed to change the system's behaviour, archiving is possible using
traditional filesystem tools. However, the simple representation may make
certain operations costly, such as the modification of tabular data, and
querying of data may not always be particularly convenient.

Thus, the [[../DatabaseStore|database store]] exists as an alternative, offering
different characteristics to those of the file store.

== Configuration Settings ==

The [[../Configuration|configuration]] files (`config.sh` and `config.txt`) need to be
updated when choosing a file store.

{{{#!table
'''File''' || '''Setting''' || '''Value''' || '''Description'''
==
`config.sh`
||<rowspan="2"> `STORE_TYPE`
||<rowspan="2"> `file`
||<rowspan="2"> Selects the default file storage type
==
`config.txt`
==
<rowspan="2"> `config.txt`
|| `STORE_DIR`
|| `/var/lib/imip-agent/store`
|| Indicates the filesystem location of the data store
==
`JOURNAL_DIR`
|| `/var/lib/imip-agent/journal`
|| Indicates the filesystem location of the journal
}}}