OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: msturtz on August 07, 2023, 11:42:48 PM

Title: VnStat included in backup
Post by: msturtz on August 07, 2023, 11:42:48 PM
Hi, I have the VnStat plug-in -- great for monitoring usage against provider caps...

I ran a backup from System -> Configuration -> Backups, including the RRD's.  I'm not positive, but it doesn't *appear* that the VnStat data is included in the XML backup.  (* yes, I realize VnStat has its own data, not associated with RRD's -- I said "including RRD's" thinking that might change the behavior).

Can anyone confirm if that is the case?  If not, could that be a feature request?
Title: Re: VnStat included in backup
Post by: msturtz on August 07, 2023, 11:47:22 PM
FWIW, I just noticed the box I ran the backup *from* is still on 23.1.11.  The purpose of the backup is actually to test out my config on newer hardware (Sophos XG105 instead of UTM220) -- but I'd like the historical vnstat data to come over as well.

If it's not included in the backup, obviously I can just stop vnstat and copy over /var/lib/vnstat/vnstat.db -- no biggie.
Title: Re: VnStat included in backup
Post by: franco on August 08, 2023, 02:23:25 PM
Only vnstat plugin settings are backed up. So you will need to copy the existing database manually.


Cheers,
Franco