This topic describes how to view restore task information.
You can view restore task information by using the following methods:
Method 1: Log in to the OceanBase Cloud Platform (OCP) console. In the left-side navigation pane, choose
Backup & Recovery >Recovery . You can view restore task information on theRecovery Tasks tab.Method 2: Log in to the OCP console and go to the
Overview page of a cluster. In the left-side navigation pane, clickBackup & Recovery . You can view the restore information of the cluster on theRecovery Tasks tab.Method 3: Log in to the OCP console and go to the
Overview page of a tenant. In the left-side navigation pane, clickBackup & Recovery . You can view the restore information of the tenant on theRecovery Tasks tab.
Prerequisites
To view restore task information by using Method 1, make sure that you have the following permissions:
-
Resource Permissions : Cluster Read-only or Tenant Read-only permission -
Menu Permissions : Permission on the Restore menu ofBackup & Recovery
-
To view restore task information by using Method 2, make sure that you have the following permissions:
-
Resource Permissions : Cluster Read-only permission -
Menu Permissions : Permission on theBackup & Recovery menu ofClusters
-
To view restore task information by using Method 3, make sure that you have the following permissions:
-
Resource Permissions : Cluster Read-only or Tenant Read-only permission -
Menu Permissions : Permission on theBackup & Recovery menu ofTenants
-
Procedure
The procedure of Method 1 is described as follows:
Log in to the OCP console.
In the left-side navigation page, choose
Backup & Recovery >Recovery . TheRecovery tab appears.On the
Recovery Tasks tab, view the task information in the following columns:ID ,Backup Cluster ,Backup Tenant ,Backup Method ,Destination Cluster ,Destination Tenant , Object to Restore,Started At ,Ended At , andStatus . You can also perform operations in theActions column and filter the restore tasks by status. For more information, see Initiate a restore task and Create a sampling strategy for restore.You can click Clean Up in the
Actions column to release the resources occupied by failed restore tasks.You can click
View Cause in theActions column to check the causes of the failure.In the upper-right corner of the tab, you can select
Last 1 Hour ,Last 24 Hours ,Last 7 Days , orLast 30 Days , or selectCustom Time and specify a time range, to view the tasks in the specified time range.
Parameter Description ID The unique identifier of the restore task. Backup Cluster The cluster that is backed up. You can restore the data of the cluster to another cluster. Backup Tenant The tenant that is backed up in the backup cluster. You can restore the data of the tenant to another tenant in the same or another cluster. Backup Method The backup mode of the cluster and tenant. Valid values: Logical Backup andPhysical Backup .Destination Cluster The cluster to which the data of the backup cluster is restored. Destination Tenant The tenant to which the data of the backup tenant is restored. Object to Restore The type of the object to be restored. Started At The time when the restore task started. Ended At The time when the restore task ended. Status You can filter tasks by status. - For a physical backup task, the options of task status include Creating Tenant,
Recovering System Replicas ,Pre-upgrade Check ,Post-upgrade Check ,Modifying Schemas , The user partitions are being created,Recovering User Replicas , The index is being created,In Progress ,Completed , andFailed . - For a logical backup task, the options of task status include
Start ,Restoring ,Canceled ,Failed ,Completed ,Recovering Data ,Recovering Logs , An error occurred while recovering data, and Failed to recover logs.
Note
If the cluster is of OceanBase Database V2.2.77 or later but earlier than V4.0, you can view the task progress in percentage.Actions You can clean up failed tasks or view their failure causes.