.. _remove-instance: Remove FindFace Multi Instance ============================================== You can automatically remove FindFace Multi along with the :ref:`data storages ` by using the :download:`ffmulti_uninstall.sh <_scripts/ffmulti_uninstall.sh>` script. The FindFace Multi configuration files and data storages will be backed up if you request it. .. important:: Regarding directories with the FindFace Multi :ref:`artifacts `, the script will back up and clean only ``/var/lib/findface-security/uploads`` and ``/var/lib/ffupload/`` (set by default). If you modified the artifacts' location, you will have to create a backup and purge them by yourself. See :ref:`backup-restore` for reference. Do the following: #. Download the :download:`ffmulti_uninstall.sh <_scripts/ffmulti_uninstall.sh>` script to some directory on a designated host (for example, to ``/home/username/``). #. From this directory, make the script executable.  .. code:: sudo chmod +x ffmulti_uninstall.sh #. Run the script.  .. code:: sudo ./ffmulti_uninstall.sh #. Answer **backup** to create a backup and then remove FindFace Multi along with the data storages. Answer **all** to completely wipe out FindFace Multi and the data storages without a backup. #. The script purges all content from the ``/var/lib/ffupload`` directory. However, the directory itself will remain in your file system. Remove ``/var/lib/ffupload`` manually by executing: .. code:: sudo rmdir /var/lib/ffupload .. important:: To recover FindFace Multi from the backup, see :ref:`backup-restore`.