# Performing a Disaster Recovery Restore for a CommServe Computer Container

You can perform a disaster recovery restore for a CommServe computer container using Helm.

## Before You Begin

Locate the database dump files (.dmp files) from the disaster recovery backups. For more information, see Performing a Disaster Recovery Backup.

## Procedure

1. Deploy a new Helm chart for the CommServe computer, but change the image repository to nginx so that you can copy the disaster recovery dumps to the persistent volume. Use the following commands:

       helm upgrade --install config commvault/config --set csOrGatewayHostName=$[CS Hostname] --set secret.user=$[CS username] --set secret.password=$[CS password] --set namespace.create=$[false/true] --set global.namespace=$[namespace]

       helm upgrade --install commserve commvault/commserve --set clientName=$[CS Client Name] --set image.repository=nginx --set global.namespace=$[namespace] --set global.image.namespace=library

2. Copy all dump files to the /opt/commvaultDR/restore folder. The following command can be used to copy the dump files from the host machine to the container’s persistent volume:

       kubectl cp /tmp/foo <some-namespace>/<some-pod>:/opt/commvaultDR/restore

3. Upgrade the container with the desired CommServe computer image using the following command:

       helm upgrade --install commserve commvault/commserve --set clientName=$[CS Cientname] --set global.namespace=$[namespace] --set global.image.tag=$[tag]

4. When the commserve pod starts up, it will detect a database dump in the /opt/commvaultDR/restore folder and then restore the database before continuing. This restore operation may take some time.

   After the restore is complete, the database dump in the /opt/commvaultDR/restore folder is deleted automatically so that the CommServe computer does not go into recovery mode when the CommServe computer pod is restarted again.

×

Loading...