Restoring data on the standby site
Before you begin
- Make sure that you have configured disaster recovery. For configuration steps, see Configuring-disaster-recovery.
Make sure you restore BMC Discovery data.
For more information, see "To failover to the secondary cluster" section in the Creating a disaster recovery cluster for Discovery topic in the BMC Discovery documentation.- We recommend stopping the data backup on the primary site to prevent data corruption.
For more information, see the section To stop the data backup process on the primary site in the Configuring disaster recovery topic.
To restore data on the standby site
- Go to /helix-on-prem-deployment-manager/utilities/disaster-recovery/dr-configs.
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
To restore data, run the following command:
./disaster-recovery.sh restore- 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. 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
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.- 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.