Updated on 2024-09-23 GMT+08:00

Managing MRS Cluster Backup and Restoration Tasks

This topic describes how to modify the parameters of a created backup task on Manager to meet changing service requirements. The parameters of restoration tasks can be viewed but not modified.

Impact on the System

After a backup task is modified, the new parameters take effect when the task is executed next time.

Prerequisites

  • A backup task has been created.
  • A new backup task policy has been planned based on the actual situation.

Modifying a Backup Task (MRS 3.x and Later)

  1. On FusionInsight Manager, choose O&M > Backup and Restoration > Backup Management.
  2. In the task list, locate a specified task, click Configure in the Operation column to go to the configuration modification page.

    On the displayed page, modify the following parameters:

    • Started
    • Period
    • Destination NameService Name
    • Target NameNode IP Address
    • Target Path
    • Max Number of Backup Copies
    • Maximum Number of Recovery Points
    • Maximum Number of Maps
    • Maximum Bandwidth of a Map

    After the Target Path parameter of a backup task is modified, this task will be performed as a full backup task for the first time by default.

  3. Click OK to save the settings.

Modifying a Backup Task (MRS 2.x and Earlier)

  1. On MRS Manager, choose System > Back Up Data.
  2. In the task list, locate a specified task, click Modify in the Operation column to go to the configuration modification page.
  3. Modify the following parameters on the displayed page:

    • Manual backup:
      • Target Path
      • Max Number of Backup Copies
    • Periodic backup:
      • Started
      • Period
      • Target Path
      • Max Number of Backup Copies
      • When Path Type is set to LocalHDFS, Target Path is valid for modifying a backup task.
      • After the Target Path parameter of a backup task is modified, this task will be performed as a full backup task for the first time by default.

  4. Click OK to save the settings.

Viewing Backup and Restoration Tasks (MRS 3.x and Later)

  1. On FusionInsight Manager, choose O&M > Backup and Restoration.
  2. Click Backup Management or Restoration Management.
  3. In the task list, obtain the previous execution result in the Task Status and Task Progress column. Green indicates that the task is executed successfully, and red indicates that the execution fails.
  4. In the Operation column of a specified task in the task list, choose More > View History or click View History to view the historical record of backup and restoration task execution.

    In the displayed window, click before a specified record to display log information about the execution.

    You can also perform more maintenance operations listed in Table 1 in the Operation column of a specified task.

    Table 1 Maintenance and management operations

    Operation Entry

    Description

    More > Back Up Now or Start

    Start a backup or restoration task that is ready or fails to be executed. Executed restoration tasks cannot be repeatedly executed.

    Configure

    Modify parameters for a backup task.

    Restore

    After data backup, click Restore to quickly restore data.

    More > Back Up Now

    Execute a backup task immediately.

    More > Stop or Stop

    Stop a running backup or restoration task. After the task is stopped, its Task Status changes to Stopped.

    More > Delete or Delete

    Delete a backup or restoration task. After a task is deleted, the backup data is retained by default.

    More > Suspend

    Suspend a backup task. Only periodic backup tasks can be suspended. Suspended backup tasks are no longer executed automatically. If you suspend a backup task that is being executed, the task execution stops. To unlock the task and run it again, choose More > Run Again.

    More > Resume

    Enable automatic backup.

    More > View History or View History

    Switch to the task run log page to view the task running details and backup path.

    View

    Check the parameter settings of a restoration task.

    Start

    Run a restoration task.

Viewing Backup and Restoration Tasks (MRS 2.x and Earlier)

  1. On MRS Manager, click System.
  2. Click Backup Management or Restoration Management.
  3. In the task list, obtain the previous execution result in the Task Progress column. Green indicates that the task is executed successfully, and red indicates that the execution fails.
  4. In the Operation column of a specified task in the task list, choose More > View History to view the historical record of backup and restoration execution.

    In the displayed window, click View in the Details column. The task execution logs and paths are displayed.

    Other related operations are as follows:

    • Viewing a restoration task

      In the Operation column of the specified task in the task list, click View Details to view the restoration task. You can only view but cannot modify the parameters of a restoration task.

    • Executing a backup or restoration task

      In the task list, locate a specified task and click Start in the Operation column to start a backup or restoration task that is ready or fails to be executed. Executed restoration tasks cannot be repeatedly executed.

    • Stopping a backup task

      In the task list, locate a specified task and choose More > Stop in the Operation column to stop a backup task that is running.

    • Deleting a backup or restoration task

      In the Operation column of the specified task in the task list, choose More > Delete to delete the backup or restoration task. After a task is deleted, the backup data is retained by default.

    • Suspending a backup task

      In the task list, locate a specified task and choose More > Suspend in the Operation column to suspend the backup task. Only periodic backup tasks can be suspended. Suspended backup tasks are no longer executed automatically. When you suspend a backup task that is being executed, the task execution stops. To cancel the suspension status of a task, choose More > Resume.