If eReplication encounters anomalies after an upgrade or key data adjustment, you can import the backed up system configuration data to eReplication to implement restoration.
Prerequisites
- The data encryption password configured during configuration data backup has been obtained.
- A cross-platform file transfer tool, such as WinSCP, has been installed.
- A cross-platform remote access tool, such as PuTTY, has been obtained.
- The login password of user root or DRManager in Linux.
- The version of the backed up configuration data must be consistent with the current software version. Otherwise, protection or restoration services may become abnormal.
- eReplication has been stopped before backup data is imported. After eReplication is stopped, you cannot use eReplication to perform DR management. Stop eReplication only for fault diagnosis.
Context
After restoration, data generated between the backup point in time to the restoration point in time is lost.
Procedure
- Import backup data in Linux.
- Use WinSCP to copy the exported backup file ConfigData.zip or DataBackUp.zip to /home/DRManager directory on the eReplication Server.
The following describes the procedure of exporting the ConfigData.zip file. In actual scenarios, export the file of the desired name.
- Use PuTTY to log in to the eReplication management server.
In software package-based installation mode: Log in as user root.
- Run cd /opt/BCManager/Runtime/bin to enter the path.
In Linux, the installation path of eReplication is /opt/BCManager. The path is fixed.
- Run the sh shutdownSystem.sh command to stop eReplication.
eReplication is stopped successfully if the following command output is displayed:
The DR system is shut down successfully.
Before proceeding to the next step, ensure that eReplication is stopped.
- Run the sh import.sh command to import backup data.
- After ensuring that eReplication is stopped, type y in the prompt message and press Enter.
The following command output is displayed:
Please input the restore file:
- Enter the save path of the backup data to be imported as prompted and press Enter. For example, the save path can be /home/configdata/ConfigData.zip.
The following command output is displayed:
Please input old encrypt password:
- Enter the data encryption password that is configured during the backup data export and press Enter.
Backup data is imported successfully if the following command output is displayed:
restore successfully. Please restart the Server.
- Run the sh startSystem.sh command to start the eReplication.
eReplication is started successfully if the following command output is displayed:
System started completely.
Copyright © Huawei Technologies Co., Ltd.