Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
VnStat included in backup
« previous
next »
Print
Pages: [
1
]
Author
Topic: VnStat included in backup (Read 832 times)
msturtz
Newbie
Posts: 8
Karma: 0
VnStat included in backup
«
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?
Logged
msturtz
Newbie
Posts: 8
Karma: 0
Re: VnStat included in backup
«
Reply #1 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.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1611
Re: VnStat included in backup
«
Reply #2 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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
VnStat included in backup