文档数据库服务 DDS-恢复到当前实例:请求示例

时间:2025-01-16 16:22:08

请求示例

  • 使用备份文件恢复,恢复目标实例ID为d8e6ca5a624745bcb546a227aa3ae1cfin02
    {
      "source": {
        "instance_id": "d8e6ca5a624745bcb546a227aa3ae1cfin02",
        "type": "backup",
        "backup_id": "2f4ddb93-b901-4b08-93d8-1d2e472f30fe"
      },
      "target": {
        "instance_id": "d8e6ca5a624745bcb546a227aa3ae1cfin02"
      }
    }
  • 根据时间点恢复(适用于副本集实例和4.0版本的集群实例),恢复目标实例ID为d8e6ca5a624745bcb546a227aa3ae1cfin02
    {
      "source": {
        "instance_id": "d8e6ca5a624745bcb546a227aa3ae1cfin02",
        "type": "timestamp",
        "restore_time": 1532001446987
      },
      "target": {
        "instance_id": "d8e6ca5a624745bcb546a227aa3ae1cfin02"
      }
    }
support.huaweicloud.com/api-dds/dds_api_0083.html