General information

This document describes the process of migrating the system from version 1.3.1 to version 1.4.0.
Migration includes updating the PostgreSQL and ClickHouse database schemas, as well as transferring data.

Before starting the migration, be sure to back up all data as described in Preliminary steps section 

System requirements

Recommended resources for successful migration (based on a system with 3,000 employees, 2,200 passes, and 300 cameras):

  • Free disk space: no less than 25 GB;
  • RAM: no less than 16 GB;
  • Services: PostgreSQL and ClickHouse must be running on the same host;
  • Internet connection: stable (for downloading the migration archive);
  • Installed software: clickhouse-client.

Migration scenarios

Use Migration on the current server scenario if the update is performed on the same server where the system with version 1.3.1 is already running.

Use Migration on a new server scenario, if the migration is performed on a new clean server. 

  • Нет меток