Importing the Backup Data of the UltraVR

Function

This operation imports backup data to recover data on the UltraVR. Existing data will be overwritten by the backup data. Ensure that the existing data can be overwritten before importing the backup data.

Format

import.sh

Parameters

None

Usage Guidelines

  • The version of the backed up configuration data must be consistent with the current software version. Otherwise, protection or restoration services may become abnormal.
  • If the original management server is configured with a remote management server, modify the information about the remote management server on the current management server after the backup data of the original management server is imported into the current management server. Otherwise, exceptions may occur during service operation. For example, A and B are the original management servers and are the local and remote management servers of each other. C and D are the current management servers and are the local and remote management servers of each other. After the backup data of A and B is imported into C and D respectively, you must change the remote management servers on C and D to D and C respectively.
  1. Use WinSCP to copy the exported backup file ConfigData.zip to any directory on the UltraVR server, for example, /home/configdata.
  2. Use PuTTY to log in as root to the server where the UltraVR Server is installed.
  3. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.

    After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run exit to exit the system after completing your operations.

  4. Run cd /opt/UltraVR/Runtime/bin command to enter the script save path.

    In Linux, the installation path of the UltraVR Server is /opt/UltraVR. The path is fixed.

  5. Run the sh shutdownSystem.sh command and enter y to stop the UltraVR Server.
  6. Run the sh import.sh command.
  7. Enter the save path of the backup data to be imported and press Enter. For example, the save path can be /home/configdata/ConfigData.zip.
  8. Enter the data encryption password that is configured during the backup data export and press Enter.
  9. Run the sh startSystem.sh command to start the UltraVR.

Example

Linux is used as an example.

linux-h8g4:/opt/UltraVR/Runtime/bin # sh import.sh  
This operation will be overwrite the database, before restore system, please check and stop the system first, do you want to continue? (y/n): 
y 
Please input the restore file: 
/home/configdata/ConfigData.zip 
Please input old encrypt password: 
restore successfully. Please restart the Server.

Copyright © Huawei Technologies Co., Ltd.