File: UPGRADE

package info (click to toggle)
vnstat 2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,148 kB
  • sloc: ansic: 25,669; sh: 4,495; perl: 472; makefile: 179; php: 12
file content (75 lines) | stat: -rw-r--r-- 2,616 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

# New configuration settings

 * 2.13: (none)

 * 2.12: CPercentileLine, CTotal, LiveSpinner

 * 2.11: InterfaceOrder, VacuumOnStartup, VacuumOnHUPSignal

 * 2.10: EstimateVisible, EstimateText

 * 2.9: HourlyGraphMode, InterfaceMatchMethod

 * 2.8: AlwaysAddNewInterfaces, RescanDatabaseOnSave, UseUTC

 * 2.7: 5MinuteGraphHeight, 5MinuteGraphResultCount, BarColumnShowsRate,
        EstimateBarVisible, EstimateStyle, ImageScale, LargeFonts,
        LineSpacingAdjustment, SummaryGraph

 * 2.4 - 2.6: (none)

 * 2.3: DatabaseWriteAheadLogging, DatabaseSynchronous

 * 2.2: 64bitInterfaceCounters

 * 2.1: (none)

 * 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

All past versions starting from 1.3 can be upgraded directly to the current
version without having to use any intermediate versions.

 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, such as unknown keywords
    and additional comments, will get cleaned away.

 2. Review the updated configuration file. Refer to comments in the file and
    the `vnstat.conf` man page for documentation regarding each setting.

 3. After the configuration file has been updated, restart the daemon
    (`vnstatd`) or configure it to use if not previously done already. Note
    that using a cron entry for updates (something like `vnstat -u`) is no
    longer supported and such commands should be removed if still existing.

 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.