luci-app-statistics: Add rrd backup option to config file
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 3 Feb 2024 09:59:31 +0000 (11:59 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 3 Feb 2024 10:07:21 +0000 (12:07 +0200)
Commit ad98af3a2 added the statistics data backup capability
to LuCI statistics, but dit not add the option to the config file.

Add the option (as disabled), so that users can easier notice the
feature.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 1e1c6b853157febd3d93cdcbaa059a4f1a80b33b)

applications/luci-app-statistics/root/etc/config/luci_statistics

index f7783d73f30bb136d4fe0fc8a1f55be3c6ddfae2..74456720d30ec72cd691eafb7cf6a31eb1632be0 100644 (file)
@@ -23,6 +23,7 @@ config statistics 'collectd_rrdtool'
        option RRARows '288'
        option RRASingle '1'
        option RRATimespans '2hour 1day 1week 1month 1year'
+       option backup '0'
 
 config statistics 'collectd_csv'
        option enable '0'