Update FindFace Security from 1.x to 2.x

To update FindFace Security from 1.x to 2.x, do the following:

  1. Stop the services:

    sudo systemctl stop findface-extraction*
    sudo systemctl stop findface-security*
    sudo systemctl stop findface-videomanager*
    
  2. Install a new version according to your architecture outline, following instructions in Deploy FindFace Security.

  3. Migrate data drom PostgreSQL to Tarantool.

    Important

    Before you proceed, make sure that the size of free disk space is equal or larger than the occupied space.

    sudo findface-security tnt_migrate
    

    Note

    To purge PostgreSQL after migration is completed, execute the command with the option --purge-sql.

    sudo findface-security tnt_migrate --purge-sql
    

    Note

    It is absolutely data-safe to interrupt the migration process and resume it later.