Restore a Partition for a Tenant - Multi-Tenant Guide - EoL - 6.11 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Multi-Tenant Guide

Product
Cortex XSOAR
Version
6.11
Creation date
2022-12-12
Last date published
2024-07-16
Category
Multi-Tenant Guide
End of Life > EoL
Abstract

Restore a partition for a specific tenant in a multi tenant environment

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 XSOAR service that uses the Elasticsearch database no longer runs automatic backups. To back up or restore the contents of your Elasticsearch database, follow the instructions in the Elasticsearch documentation.

  1. Log out all users from Cortex XSOAR.

  2. Stop the tenant process.

    Go to SettingsACCOUNT MANAGEMENTAccounts, select the tenant account, and click Stop.

  3. Backup the index directory. The default directory is /var/lib/demisto/tenants/acc_{TENANT_NAME}/data/demistoidx.

    tar -czvf filename.tar.gz /var/lib/demisto/tenants/acc_{TENANT_NAME}/data/demistoidx

  4. Delete the contents of the index folder.

  5. Move the demisto_XXXXX.db files to the partitionsData folder.

  6. Set permissions.

    sudo chown -R demisto:demisto /var/lib/demisto/tenants/acc_{TENANT_NAME}/data

  7. Restart the tenant process and log in to Cortex XSOAR.

    Go to SettingsACCOUNT MANAGEMENTAccounts, select the tenant account, and click Start. The entire database will be reindexed and the process might take time to complete.