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).
Backing Up Redis Data

Backing Up Redis Data

Scenario

To ensure data security of Redis routinely, or before or 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 if an exception occurs or the expected result has not been achieved, minimizing the adverse impact on services.

System administrators can create a backup Redis task in FusionInsight Manager to back up Redis data. To prevent the Redis service from being severely affected, manually back up data.

Prerequisites

  • You have checked that HDFS services have been deployed in the current cluster.
  • You have checked whether HDFS of the standby cluster has sufficient space. You are advised to use a user-defined directory as the directory for storing backup files.
  • You have logged in to FusionInsight Manager. For details, see Logging In toFusionInsight Manager in the FusionInsight HD 6.5.0 Product Documentation.

Procedure

  1. On FusionInsight Manager, choose O&M > Backup and Restoration > Backup Management.
  2. Click Create.
  3. In the Task Name text box, enter the name of a backup task.
  4. Set Mode to Periodic or Manual as required. Periodic indicates that a backup task is periodically executed, and Manual indicates that a backup task is manually executed.
  5. To create a periodic backup task, set the following parameters:

    • Started: indicates the time when the task is started for the first time.
    • Period: indicates the task execution interval. The options include Hours and Days.
    • Backup Policy: Only Full backup every time is supported.
    NOTE:

    AOF persistency is performed on full data when a backup task is executed on Redis. If the service data volume is large, the performance is greatly affected. You are advised not to periodically back up Redis.

    Manually back up Redis during off-peak hours.

  6. Select Redis in the Backup Configuration page.
  7. Select a backup directory type for Path Type.

    The following backup path types of Redis are supported:

    • 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:
      • Target Path: indicates the backup file save path in the HDFS. The path cannot be an HDFS hidden directory, such as a snapshot or recycle bin directory, or a default system directory, such as /hbase or /user/hbase/backup.
      • Maximum Number of Backup Copies: indicates the number of backup file sets that can be retained in the backup directory.
      • Target NameService name: indicates the NameService name of the backup directory. The default value is hacluster.

  8. Click OK.
  9. In the Operation column, choose More> Back Up Now to execute the backup task.

    After the backup task is executed, the system automatically creates a subdirectory for the backup task in the backup directory. The format of the subdirectory name is backup task name_data source_taskcreation time.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6071

Downloads: 12

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