Update to v26.04

Update procedure to version v26.04 requires additional actions after the standard steps.

  1. Download the script:

    wget https://docs.mitigator.ru/collector/master/maintenance/update/update2604-migrate.py -O /srv/collector/update2604-migrate.py
  2. Navigate to the /srv/collector/ directory:

    cd /srv/collector/
  3. Run the script:

    python3 update2604-migrate.py

    If you previously applied data volume reduction operations, specify parameters via script arguments:

    python3 update2604-migrate.py \
        --zstd8-interval "1 MONTH" \
        --zstd15-interval "6 MONTH" \
        --delete-interval "1 YEAR"
Info

Collector can accept new flow data while the script is running.
Historical data will appear in reports and charts as the script migrates the data.
The script may take a long time to complete some operations.
The script could be stopped and restarted later without data loss.