luci/applications/luci-app-statistics
Hosted Weblate 1953553d54 Translated using Weblate (Lithuanian)
Currently translated at 69.1% (1567 of 2265 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/

Translated using Weblate (Lithuanian)

Currently translated at 68.8% (1560 of 2265 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/

Translated using Weblate (Lithuanian)

Currently translated at 10.0% (15 of 150 strings)

Translation: OpenWrt/LuCI/applications/adblock-fast
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock-fast/lt/

Translated using Weblate (Lithuanian)

Currently translated at 14.5% (9 of 62 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/lt/

Translated using Weblate (Lithuanian)

Currently translated at 24.1% (15 of 62 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/lt/

Translated using Weblate (Lithuanian)

Currently translated at 17.6% (3 of 17 strings)

Translation: OpenWrt/LuCI/applications/omcproxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsomcproxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/lt/

Translated using Weblate (Lithuanian)

Currently translated at 41.1% (7 of 17 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 9.4% (7 of 74 strings)

Translated using Weblate (Lithuanian)

Currently translated at 33.3% (11 of 33 strings)

Translated using Weblate (Lithuanian)

Currently translated at 25.6% (21 of 82 strings)

Translated using Weblate (Lithuanian)

Currently translated at 17.2% (10 of 58 strings)

Translated using Weblate (Lithuanian)

Currently translated at 37.0% (63 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/lt/

Translated using Weblate (Lithuanian)

Currently translated at 7.8% (8 of 102 strings)

Translated using Weblate (Lithuanian)

Currently translated at 12.9% (16 of 124 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/lt/

Translated using Weblate (Lithuanian)

Currently translated at 9.6% (6 of 62 strings)

Translated using Weblate (Lithuanian)

Currently translated at 12.3% (14 of 113 strings)

Translated using Weblate (Lithuanian)

Currently translated at 19.2% (24 of 125 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 16.9% (10 of 59 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/lt/

Translated using Weblate (Lithuanian)

Currently translated at 95.8% (23 of 24 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/lt/

Translated using Weblate (Lithuanian)

Currently translated at 18.4% (31 of 168 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/lt/

Translated using Weblate (Lithuanian)

Currently translated at 46.1% (12 of 26 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/lt/

Translated using Weblate (Lithuanian)

Currently translated at 36.0% (48 of 133 strings)

Translated using Weblate (Lithuanian)

Currently translated at 28.0% (7 of 25 strings)

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (15 of 15 strings)

Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/lt/

Translated using Weblate (Lithuanian)

Currently translated at 12.5% (16 of 127 strings)

Translation: OpenWrt/LuCI/applications/pbr
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspbr/lt/

Translated using Weblate (Lithuanian)

Currently translated at 58.3% (7 of 12 strings)

Translation: OpenWrt/LuCI/applications/bcp38
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/lt/

Translated using Weblate (Lithuanian)

Currently translated at 18.7% (3 of 16 strings)

Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/lt/

Translated using Weblate (Lithuanian)

Currently translated at 25.0% (13 of 52 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/lt/

Translated using Weblate (Lithuanian)

Currently translated at 50.3% (72 of 143 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (40 of 40 strings)

Translation: OpenWrt/LuCI/applications/clamav
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsclamav/lt/

Translated using Weblate (Lithuanian)

Currently translated at 36.7% (18 of 49 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/lt/

Translated using Weblate (Lithuanian)

Currently translated at 35.0% (7 of 20 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/lt/

Translated using Weblate (Lithuanian)

Currently translated at 24.1% (15 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/lt/

Translated using Weblate (Lithuanian)

Currently translated at 22.5% (7 of 31 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/lt/

Translated using Weblate (Lithuanian)

Currently translated at 44.1% (15 of 34 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/lt/

Translated using Weblate (Lithuanian)

Currently translated at 36.0% (9 of 25 strings)

Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/lt/

Translated using Weblate (Lithuanian)

Currently translated at 27.2% (12 of 44 strings)

Translated using Weblate (Lithuanian)

Currently translated at 8.0% (15 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/lt/

Translated using Weblate (Lithuanian)

Currently translated at 14.2% (2 of 14 strings)

Translation: OpenWrt/LuCI/applications/pagekitec
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspagekitec/lt/

Translated using Weblate (Lithuanian)

Currently translated at 78.9% (30 of 38 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/lt/

Translated using Weblate (Lithuanian)

Currently translated at 15.3% (28 of 183 strings)

Translated using Weblate (Lithuanian)

Currently translated at 17.3% (4 of 23 strings)

Translated using Weblate (Lithuanian)

Currently translated at 12.5% (2 of 16 strings)

Translated using Weblate (Lithuanian)

Currently translated at 17.6% (3 of 17 strings)

Translation: OpenWrt/LuCI/applications/eoip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationseoip/lt/

Translated using Weblate (Lithuanian)

Currently translated at 19.8% (23 of 116 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/lt/

Translated using Weblate (Lithuanian)

Currently translated at 63.6% (7 of 11 strings)

Translated using Weblate (Lithuanian)

Currently translated at 17.0% (15 of 88 strings)

Translation: OpenWrt/LuCI/applications/mosquitto
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmosquitto/lt/

Translated using Weblate (Lithuanian)

Currently translated at 13.8% (9 of 65 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 7.1% (4 of 56 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/lt/

Translated using Weblate (Lithuanian)

Currently translated at 27.2% (9 of 33 strings)

Translated using Weblate (Lithuanian)

Currently translated at 68.2% (1545 of 2265 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/

Translated using Weblate (Lithuanian)

Currently translated at 13.3% (2 of 15 strings)

Translation: OpenWrt/LuCI/applications/snmpd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssnmpd/lt/

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (14 of 14 strings)

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (7 of 7 strings)

Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/lt/

Translated using Weblate (Lithuanian)

Currently translated at 100.0% (211 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/lt/

Translated using Weblate (Polish)

Currently translated at 100.0% (279 of 279 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (177 of 177 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (279 of 279 strings)

Translated using Weblate (Lithuanian)

Currently translated at 16.2% (12 of 74 strings)

Translation: OpenWrt/LuCI/applications/xinetd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/lt/

Translated using Weblate (Lithuanian)

Currently translated at 19.3% (12 of 62 strings)

Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/lt/

Translated using Weblate (Lithuanian)

Currently translated at 11.7% (2 of 17 strings)

Translation: OpenWrt/LuCI/applications/omcproxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsomcproxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 15.5% (9 of 58 strings)

Translated using Weblate (Lithuanian)

Currently translated at 19.2% (24 of 125 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 15.2% (9 of 59 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/lt/

Translated using Weblate (Lithuanian)

Currently translated at 95.8% (23 of 24 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/lt/

Translated using Weblate (Lithuanian)

Currently translated at 24.0% (6 of 25 strings)

Translated using Weblate (Lithuanian)

Currently translated at 14.0% (27 of 192 strings)

Translated using Weblate (Lithuanian)

Currently translated at 7.5% (14 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/lt/

Translated using Weblate (Lithuanian)

Currently translated at 10.6% (40 of 376 strings)

Translated using Weblate (Lithuanian)

Currently translated at 18.9% (22 of 116 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/lt/

Translated using Weblate (Lithuanian)

Currently translated at 15.7% (31 of 197 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/lt/

Translated using Weblate (Lithuanian)

Currently translated at 5.5% (11 of 200 strings)

Translation: OpenWrt/LuCI/applications/smartdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/lt/

Translated using Weblate (Persian)

Currently translated at 95.8% (46 of 48 strings)

Translated using Weblate (Persian)

Currently translated at 2.9% (5 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/fa/

Translated using Weblate (Persian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Lithuanian)

Currently translated at 8.6% (13 of 150 strings)

Translation: OpenWrt/LuCI/applications/adblock-fast
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock-fast/lt/

Translated using Weblate (Lithuanian)

Currently translated at 14.8% (11 of 74 strings)

Translation: OpenWrt/LuCI/applications/xinetd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/lt/

Translated using Weblate (Lithuanian)

Currently translated at 12.4% (22 of 177 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/lt/

Translated using Weblate (Lithuanian)

Currently translated at 10.4% (13 of 125 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/lt/

Translated using Weblate (Lithuanian)

Currently translated at 18.9% (37 of 195 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/lt/

Translated using Weblate (Lithuanian)

Currently translated at 11.0% (14 of 127 strings)

Translation: OpenWrt/LuCI/applications/pbr
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspbr/lt/

Translated using Weblate (Lithuanian)

Currently translated at 37.5% (90 of 240 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/lt/

Translated using Weblate (Lithuanian)

Currently translated at 22.5% (14 of 62 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/lt/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (279 of 279 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (49 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/fa/

Translated using Weblate (Persian)

Currently translated at 100.0% (192 of 192 strings)

Translated using Weblate (Persian)

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/fa/

Translated using Weblate (Persian)

Currently translated at 99.5% (210 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/fa/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (66 of 66 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/zh_Hans/

Added translation using Weblate (Persian)

Translated using Weblate (Persian)

Currently translated at 50.0% (31 of 62 strings)

Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/fa/

Translated using Weblate (Persian)

Currently translated at 0.5% (1 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/fa/

Translated using Weblate (Persian)

Currently translated at 1.0% (2 of 197 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/fa/

Translated using Weblate (Lithuanian)

Currently translated at 68.1% (1544 of 2265 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/

Translated using Weblate (Persian)

Currently translated at 100.0% (37 of 37 strings)

Translated using Weblate (Persian)

Currently translated at 99.2% (277 of 279 strings)

Added translation using Weblate (Persian)

Translated using Weblate (Lithuanian)

Currently translated at 68.1% (1544 of 2265 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/

Translated using Weblate (Lithuanian)

Currently translated at 67.3% (1526 of 2265 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/

Co-authored-by: Ashkan Jazayeri <ashkanull@gmail.com>
Co-authored-by: Džiugas J <dziugas1959@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: MkQtS <MkQtS@users.noreply.hosted.weblate.org>
Co-authored-by: Xtremo3 <a.lewicki95@gmail.com>
Signed-off-by: Ashkan Jazayeri <ashkanull@gmail.com>
Signed-off-by: Džiugas J <dziugas1959@hotmail.com>
Signed-off-by: MkQtS <MkQtS@users.noreply.hosted.weblate.org>
Signed-off-by: Xtremo3 <a.lewicki95@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscoovachilli/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnatmap/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsqos/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsrp-pppoe-server/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/fa/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat/lt/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/fa/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/coovachilli
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/fwknopd
Translation: OpenWrt/LuCI/applications/natmap
Translation: OpenWrt/LuCI/applications/ntpc
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/p910nd
Translation: OpenWrt/LuCI/applications/polipo
Translation: OpenWrt/LuCI/applications/qos
Translation: OpenWrt/LuCI/applications/radicale2
Translation: OpenWrt/LuCI/applications/rp-pppoe-server
Translation: OpenWrt/LuCI/applications/samba4
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/transmission
Translation: OpenWrt/LuCI/applications/uhttpd
Translation: OpenWrt/LuCI/applications/vnstat
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2023-12-02 23:14:56 +02:00
..
htdocs/luci-static/resources luci-app-statistics: Add backup/restore for RRD statistics 2023-10-29 19:48:38 -04:00
po Translated using Weblate (Lithuanian) 2023-12-02 23:14:56 +02:00
root luci-app-statistics: harden sysupgrade_backup 2023-11-11 18:55:47 +02:00
Makefile luci-app-statistics: rewrite stat-genconfig in ucode 2022-10-25 01:03:37 +02:00
README.md luci-app-statistics: Add backup/restore for RRD statistics 2023-10-29 19:48:38 -04:00

Backups

The backup scheme implemented in /etc/init.d/luci_statistics aims to limit writes to stable storage, to preserve flash memory lifetime. (Flash-memory based routers may have limited lifetime of write cycles, we want to conserve those.) While it would be simpler to run a periodic backup as a cron job, you'd risk wearing out the flash memory. This scheme only writes backups to flash during shutdowns/reboots and upgrades.

The backup is only enabled if the administrator sets luci_statistics.collectd_rrdtool.backup=1.

We only want to restore a sysupgrade backup file if:

  1. It was installed by sysupgrade -r (restore configuration files), and we have rebooted. In this case, there is an orderly shutdown that calls the shutdown methods. We do not want to overwrite the restored sysupgrade backup file during shutdown, but after reboot we do want to restore it.

  2. It was generated during a true sysupgrade, and we are rebooting into the new image: sysupgrade with any or none of -o, -c, -f, -u, resulting in a new image being installed and a config file being preserved for processing after reboot. In this case we do not want to overwrite the backup while rebooting during the upgrade. sysupgrade in this case stores a .tgz archive of all preserved files where it can be found after rebooting into the new image, and it does not run the shutdown scripts before rebooting.

When the administrator runs sysupgrade -b (command line or LuCI), we create a sysupgrade backup file and it is included in the combined backup. Then the system continues running. When we later stop or restart or reboot (orderly conditions, when /etc/init.d/luci_statistics is called to shut down), we do not want to use the saved sysupgrade backup. If we had a control path after sysupgrade -b that would allow us to remove the sysupgrade backup, this would be simple. But we don't!

What we can do is arrange that a sysupgrade backup contains enough information to indicate if it should be restored.

  1. True sysupgrade is straightforward: we arrange that the backed-up file list only includes the sysupgrade backup file and one twin file (see below). The next starting of /etc/init.d/luci_statistics after a sysupgrade will restore the sysupgrade backup.

  2. Continued system operation after sysupgrade -b: next time we stop the service (during reboot or during other init script actions), we check for a stale sysupgrade backup, and if we detect it we remove it.

  3. sysupgrade -r only unpacks the backup files, it does not erase other non-backed-up files still in the overlay. Its intended use is to then immediately reboot, which will run an orderly shutdown/normal backup. We must ensure the orderly shutdown in this case preserves the sysupgrade backup, unlike the previous case.

To implement these cases, we use a pair of twinned files, only one of which is included in the list of files preserved by sysupgrade. If we detect mismatched files (or only one file present) during service shutdown or startup, we trust that the sysupgrade backup should be kept and restored. If the files are matched, that indicates that we have not restored files since the sysupgrade backup, and the current normal backup should be used instead.

During sysupgrade backup

/etc/init.d/luci_statistics sysupgrade_backup is invoked by sysupgrade for true upgrade or for the -l or -b flags. We detect the list flag (-l) by checking the process environment, and if found, we only generate a list: we don't actually do a backup. For all cases, we edit the list of files listed already and remove any other mentions of /etc/luci_statistics to ensure that only the backup file and one of the twin files is in the backup list.

During sysupgrade

During a true sysupgrade, only the sysupgrade backup file and one of the twin files is restored after the image reboots, so the first running of startup scripting will restore the sysupgrade backup. This could be at the time of first boot, if the image has been built to include this package, or it could be later when the package is downloaded, installed, and the service is started.

During backup (including orderly shutdown)

During backup (run during shutdown), if there is a matched set of twins, then we know that sometime since the last service start the administrator ran sysupgrade -b and had the chance to copy the resulting backup. We can now erase the twins and the sysupgrade backup.

If there is a mismatched set of twins, then someone restored a backup such as with sysupgrade -r and we should now be rebooting, so we should leave the sysupgrade files alone to be processed on service restart (after reboot).

If someone takes a sysupgrade -b backup and then restores it before they reboot or restart statistics, the twins will still match, and we then don't keep the statistics from the restored backup, we instead take a new backup from current data and use that on reboot.

During startup

If there are matched twin files (the normal case for shutdown/reboot without sysupgrade), then the sysupgrade backup is ignored and the regular backup is restored. If there are mismatched twin files, then the sysupgrade backup is restored.

During disorderly reboot

In a system crash or other disorderly reboot, the shutdown scripts do not run. What remains on the system is the previous contents of /etc/luci_statistics.

  • If the system never started luci_statistics, or it was cleanly shut down before the crash, then there is no difference in behavior from normal startup: we restore either the sysupgrade backup (if luci_statistics had never run) or the regular backup (if luci_statistics was cleanly stopped)

  • If luci_statistics and collectd were running at the time of the crash, there could be a regular backup and a sysupgrade backup present, plus volatile data in /tmp (which are lost in the crash). The regular backup would be from the most recent time the system cleanly stopped luci_statistics. During the subsequent reboot/service start up:

    • If there is a sysupgrade backup on disk from having run sysupgrade -b, with both twin files matching (meaning the administrator had taken a backup sometime during the life of the system, before the crash), they are ignored and a regular backup (if any) is restored.

    • If the sysupgrade backup has mismatched twin files or only one twin, then it is used to restore state. This would be the case if a sysupgrade restored configuration (sysupgrade -r), whether or not it did an orderly shutdown/reboot, or if the file system were damaged in a crash and only one of the twin files survived.