forked from vergoh/vnstat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUPGRADE
48 lines (30 loc) · 1.61 KB
/
UPGRADE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
New configuration settings
::::::::::::::::::::::::::
2.0: List5Mins, ListHours, ListDays, ListMonths, ListYears, ListTop,
5MinuteHours, HourlyDays, DailyDays, MonthlyMonths, YearlyYears,
TopDayEntries, MonthRotateAffectsYears, TrafficlessEntries
1.18: TimeSyncWait, DefaultDecimals, HourlyDecimals, HourlySectionStyle
1.17: (none)
1.16: RateUnitMode
1.14 - 1.15: (none)
1.13: BandwidthDetection, BandwidthDetectionInterval
1.12: DaemonUser, DaemonGroup, CreateDirs, UpdateFileOwner
1.10 - 1.11: (none)
1.9: OutputStyle, SummaryLayout, SummaryRate, SaveOnStatusChange,
OfflineSaveInterval
1.8: ShowRate, RateUnit, TrafficlessDays, HourlyRate, TransparentBg
1.7: UnitMode + all settings under vnstatd and vnstati
Upgrading from versions 1.3 and later
:::::::::::::::::::::::::::::::::::::
1) Follow the normal install procedure, 'make install' step will upgrade the
configuration file if it exists in the usual location. All user settings
will be kept. However, unidentified content will get cleaned away.
2) Review the updated configuration file. Refer to the vnstat.conf man page
for more detailed documentation regarding each setting.
3) If the daemon (vnstatd) is used then restart the daemon after the
configuration file has been updated.
4) Upgrades from 1.x to 2.x will result in data being imported from the
legacy databases of each interface during the first start of the new
daemon (vnstatd) binary. The vnstat and vnstati commands will not be able
to access any data before this part of the upgrade has been completed.
The legacy databases will be left untouched by the import.