Back Up and Recover FindFace Multi and Its Data
You can back up FindFace Multi before uninstalling it to recover the product and its data later on.
In this section:
Back up FindFace Multi
To back up your FindFace Multi instance and its data, run the following commands:
sudo tar -cvzf ~/configs.tar.gz -C /opt/findface-multi/ configs
sudo tar -cvzf ~/data.tar.gz -C /opt/findface-multi/ data
Recover FindFace Multi and Its Data
To restore FindFace Multi and its data from the backup, do the following:
Download the installer file
findface-*.run
.Put the
.run
file into some directory on the designated host (for example,/home/username
).From this directory, make the
.run
file executable.Note
Be sure to specify the actual file name instead of
findface-*
.chmod +x findface-*.run
Execute the
.run
file.sudo ./findface-*.run
Go through the installation process as described here.
After you have finished the installation, to restore FindFace Multi, its data and configuration files, stop all FindFace Multi containers.
cd /opt/findface-multi sudo docker-compose stop
Remove new configuration files and data generated and created by the installer and restore them from the backup.
sudo rm -r /opt/findface-multi/configs/* sudo tar -xvf ~/configs.tar.gz -C /opt/findface-multi/ sudo rm -r /opt/findface-multi/data/* sudo tar -xvf ~/data.tar.gz -C /opt/findface-multi/
Restart FindFace Multi containers.
cd /opt/findface-multi sudo docker-compose up -d