Restore one or more specific partitions in Cortex XSOAR.
Cortex XSOAR automatically backs up the database. In some cases, you might need to restore one or more partitions, without needing to restore the entire database.
Note
Any Cortex XSOAR service that uses the Elasticsearch database does not run automatic backups. To back up or restore the contents of your Elasticsearch database, follow the instructions for Disaster Recovery for Elasticsearch.
Log out all users from Cortex XSOAR.
Stop the service.
sudo service demisto stopBackup the index directory. The default directory is
/var/lib/demisto/data/demistoidx.tar -czvf filename.tar.gz /var/lib/demisto/data/demistoidxDelete the contents of the index folder.
Move the
demisto_XXXXX.dbfiles to the partitionsData folder.Set permissions.
sudo chown -R demisto:demisto /var/lib/demisto/dataRestart the server and log in to Cortex XSOAR.
sudo service demisto startThe entire database will be reindexed and the process might take time to complete.