Code

collectd-core.{postrm,templates}: Prompt the user when purging the data dir.
[pkg-collectd.git] / debian / collectd-core.templates
1 Template: collectd/migration-3-4
2 Type: note
3 _Description: Layout of RRD files has changed
4  The layout of the RRD files created by collectd has changed significantly
5  since version 3.x. In order to keep your old data you have to migrate it.
6  This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px.
7  .
8  This step requires both the perl and the rrdtool packages to be installed,
9  which is currently not the case. You need to perform the migration manually.
10  .
11  See /usr/share/doc/collectd-core/NEWS.Debian for details.
13 Template: collectd/auto-migrate-3-4
14 Type: boolean
15 Default: false
16 _Description: Automatically try to migrate your RRD files?
17  The layout of the RRD files created by collectd has changed significantly
18  since version 3.x. In order to keep your old data you have to migrate it.
19  This can be done by using /usr/lib/collectd-core/utils/migrate-3-4.px.
20  .
21  This step can be done automatically. In this case a backup of
22  /var/lib/collectd/ is made in /var/backups/. This script is still
23  experimental, though. Do not expect it to work in all cases.
24  .
25  See /usr/share/doc/collectd-core/NEWS.Debian for details.
27 Template: collectd/postrm_purge_data
28 Type: boolean
29 Default: true
30 _Description: Remove all collected data (e.g. RRD files)?
31  The /var/lib/collectd/ directory which contains the data files containing the
32  collected statistics is about to be removed. For example, this directory
33  includes (in the default configuration) all RRD files.
34  .
35  If you're purging the collectd package in order to replace it with a more
36  recent or custom version or if you want to keep the data for further
37  analysis, the data should be kept.