192 |
- |
1 |
#
|
|
|
2 |
# This is the rsnapgraph configuration file: the default location for
|
|
|
3 |
# this is in /etc/rsnapgraph.conf.
|
|
|
4 |
#
|
|
|
5 |
# White space is never significant, and empty lines and lines beginning
|
|
|
6 |
# with a '#' are ignored. All other lines are name value pairs, separated
|
|
|
7 |
# by an '='. True and false items can be indicated with a 1/0, true/false,
|
|
|
8 |
# or yes/no, case insensitively.
|
|
|
9 |
#
|
|
|
10 |
###########################################################################
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
# This is the directory containing the rsnapshot-managed directories, ie.
|
|
|
14 |
# the directory containing the daily.*, weekly.*, etc. directories; it is
|
|
|
15 |
# equivalent to the snapshot_root value in the rsnapshot.conf file.
|
|
|
16 |
#
|
|
|
17 |
# There is no default value for this, it must be specified.
|
|
|
18 |
rootdir=/data2/linux
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
# This is the directory which will hold the generated data files: keeping
|
|
|
22 |
# these files available from one call of rsnapgraph to the next will prevent
|
|
|
23 |
# rsnapgraph from having to traverse all the daily.* directories every time.
|
|
|
24 |
#
|
|
|
25 |
# Make sure that this directory is owned by root, and chmod 700.
|
|
|
26 |
# If any other users can read or write to this directory it can have
|
|
|
27 |
# serious security implications!
|
|
|
28 |
#
|
|
|
29 |
# There is no default value for this, it must be specified.
|
|
|
30 |
workdir=/var/cache/rsnapgraph
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
# This is the directory in which the graphs will be created. These files
|
|
|
34 |
# will be called rsnapgraph-files.png and rsnapgraph-files.png, but see the
|
|
|
35 |
# symlink setting below.
|
|
|
36 |
#
|
|
|
37 |
# Make sure only root can write to this directory, although it's fine to
|
|
|
38 |
# allow other users to read it.
|
|
|
39 |
#
|
|
|
40 |
# There is no default value for this, it must be specified.
|
|
|
41 |
graphdir=/var/www/html/rsnapgraph-linux
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
# Over time, the workdir will gradually fill with old work files, which can
|
|
|
45 |
# be quite large. Setting this value to true will cause rsnapgraph to remove
|
|
|
46 |
# all files in the workdir which do not correspond to a directory under the
|
|
|
47 |
# rootdir. (Directories in workdir are not touched.)
|
|
|
48 |
# Thus as rsnapshot ages out directories from workdir, rsnapgraph will age
|
|
|
49 |
# out their data files. Be careful with this: if you specify, say, your
|
|
|
50 |
# home directory, then this will happily delete all the files in it.
|
|
|
51 |
#
|
|
|
52 |
# The default value is false, for safety.
|
|
|
53 |
clean=false
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
# The default graphs are called rsnapgraph-files.png and rsnapgraph-files.png.
|
|
|
57 |
# However, if symlink is set to true, then the graphs will be dated
|
|
|
58 |
# (ie. rsnapgraph-files-YYYY.MM.DD-hh.mm.ss.png), and the most recent graph
|
|
|
59 |
# will be symlinked to rsnapgraph-files.png and rsnapgraph-files.png. This
|
|
|
60 |
# lets you keep a historical view of the data, ripe for animating...
|
|
|
61 |
#
|
|
|
62 |
# The default value for this is false, to prevent large numbers of graphs from
|
|
|
63 |
# accumulating.
|
|
|
64 |
symlink=false
|