Vnstat2, database resets after reboot

Hello
I have installed vnstat2 on my openwrt.
When i do a reboot all data resets.
Installed usb stick. (nlbwmon works fine with data stored to USB)

I have changed /etc/vnstat.conf to
# location of the database directory ;DatabaseDir "/mnt/sda1/vnstat" (folder vnstat 777 permission)
Still no sucsess.
Please anyone ?

Remove the ; from the line:

DatabaseDir "/mnt/sda1/vnstat" 

Reboot the router.

2 Likes