No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionInsight HD 6.5.0 Administrator Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Restoring Redis Data

Restoring Redis Data

Scenario

To ensure Redis data security or before and after a critical operation (such as upgrade and migration) on Redis, Redis data needs to be backed up. The backup data can be used to recover the system in time if an exception occurs or the expected result has not been achieved, minimizing the adverse impact on services.

The system administrator can create a Redis restoration task in FusionInsight Manager to recover Redis data. The data can only be restored manually.

NOTE:

Data restoration can be performed only when the system version during data backup is consistent with the current system version.

Impact on the System

After the data is restored, the data generated between the backup time and restoration time is lost.

Prerequisites

  • You have checked that HDFS services have been deployed in the current cluster.
  • Ensure that the name of the cluster created by Redis is the same as the cluster name in the backup task.
    • You have logged in to FusionInsight Manager. For details, see Logging In to FusionInsightManager in the FusionInsight HD 6.5.0 Product Documentation.

Procedure

  1. On FusionInsight Manager, choose O&M > Backup and Restoration > Backup Management.
  2. In the Operation column of a specified task in the task list, choose More > View History to view historical backup task execution records.

    • In the displayed window, locate a specified success record. Select Backup Path, click View to open the backup path. Find the following information:
    • Backup Object specifies the data source of the backup data.
    • Backup Path specifies the full path where the backup files are saved.
    • Select the correct item, and manually copy the full path of backup files in Backup Path.

  3. On FusionInsight Manager, choose O&M > Backup and Restoration > Restoration Management.
  4. Click Create.
  5. In the Task Name text box, enter the name of a restoration task.
  6. After the Restoration Configuration option, select Redis under Metadata and other data.
  7. Set Path Type under Redis to a backup directory type.
  8. Configure the parameters under Path Configuration by referring to following information:

    • LocalHDFS: indicates that the backup files are stored in the HDFS directory of the current cluster. If you select this value, set the following parameters:
    • Source Path: indicates the full path where the backup files are saved in HDFS. The specific path is the backup path set in Step 2.
    • Source NameService Name: indicates the NameService name corresponding to the backup directory when a restoration task is executed. The default value is hacluster.

  9. Click OK.
  10. In the restoration task list, click Restore in the Operation column to restore the task.

    • After the restoration is successful, the progress bar turns green.
    • After the restoration is successful, the restoration task cannot be executed again.
    • If the restoration task fails during the first execution, rectify the fault, click Retry to execute the task restoration.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 7342

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next