Restoring data on the standby site


Use the instructions in this topic to restore your data on the standby site when a disaster occurs.

Important

When you restore data, expect some downtime, which will depend on the size of your data. 

Before you begin

To restore data on the standby site 

  1. Go to /helix-on-prem-deployment-manager/utilities/disaster-recovery/dr-configs
  2. In the disaster-recovery.config file, specify the values of the following parameters:

    Parameter 

    Description 

    Example 

    BUCKET_NAME 

    Specify the name of the bucket used to restore data on MinIO. 

    BUCKET_NAME=helixdr-restore 

    SITE_NAME 

    Specify the name of the site from where you want to restore data.   

    SITE_NAME=India

    NAMESPACE 

    Specify the namespace where you have installed BMC Helix IT Operations Management. 

    NAMESPACE=helix-cluster3  

  3. To restore data, run the following command: 

    ./disaster-recovery.sh restore 
  4. Validate if you can log in to the BMC Helix Portaland can access the required data. 
    The standby site takes over the operations until you fail back to a primary site.
    To know more about the options to fail back to the primary site, see Disaster-recovery-deployment.
  5. Skip this step if you applied the hotfix BMC Helix OnPrem Disaster Recovery v24.1.00.004.
    After data restoration, if Victoria Metrics restarts it restores the older data. To prevent such unintended data restorations, run the following commands:

    export FORCE_DISABLE_VM=1

    ./disaster-recovery.sh disable victoriametrics

(Optional) To back up data on the standby site

  1. After you validate that all your data is available on the standby site, download the backed-up data from the restore bucket (for example, helixdr-restore) and save it on an external storage device (cold backup).
    You can use the MinIO client to download the backed-up data from the restore bucket. For more information, see MinIO Client and mc cp in the MinIO documnetation.

  2. Turn on the backup on the standby site. For more information, see topics: To configure data backup on the primary site and To configure MinIO data replication from the primary site to the standby site on Configuring-disaster-recovery.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*