docs
api
Cloud Database(UDB)
RollbackUDBInstance

Rollback Specified Database Table - RollbackUDBInstance

Overview

Rollback specified library table in the original instance

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is RollbackUDBInstance.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
SrcDBIdstringSource Instance's IdYes
RecoveryTimestringTimestamp to restore to a certain point in time (UTC time format, default unit is seconds)Yes
TablesstringSpecify the tables to be restored, in the format (database name.table name), separate multiple tables with commas, eg: [udb.test, mysql_school.my_student]Yes

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DBIdstringSource Instance's IdYes

Example

Request Example

https://api.surfercloud.com/?Action=RollbackUDBInstance
&Region=cn-zj
&SrcDBId=MQGXvuLc
&RecoveryTime=SYFHrhPd
&Tables=GcrbXXIC

Response Example

{
  "Action": "RollbackUDBInstanceResponse",
  "DBId": "udbha-toayxUOA",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved