MariaDB 备份:Cloud Foundry 返回的备份和恢复状态的含义

MariaDB backups: meaning of backup and restore states returned by Cloud Foundry

我没有找到任何关于 MariaDB 备份和恢复状态的文档 (https://docs.developer.swisscom.com/devguide-sc/services/backups.html)。

例如,当我进行 API 调用 GET /custom/service_instances/{service-instance-id}/backups 时,将返回以下 JSON 作为响应。在响应中,备份实体和恢复实体中有属性 "status"。

{
   "total_results": 2,
   "total_pages": 1,
   "prev_url": null,
   "next_url": null,
   "resources": [
      {
         "metadata": {
            "guid": "95b9108a-1903-4cea-b52e-bbb3b0414986",
            "url": "/custom/service_instances/3955ad28-3f47-4f08-8eee-748f6e162d46/backups/95b9108a-1903-4cea-b52e-bbb3b0414986",
            "created_at": "2016-10-03T20:52:04Z",
            "updated_at": "2016-10-03T20:52:34Z"
         },
         "entity": {
            "service_instance_id": "3955ad28-3f47-4f08-8eee-748f6e162d46",
            "status": "CREATE_SUCCEEDED",
            "restores": []
         }
      },
      {
         "metadata": {
            "guid": "4ffff7d4-55a8-4e57-9035-98ed11380991",
            "url": "/custom/service_instances/3955ad28-3f47-4f08-8eee-748f6e162d46/backups/4ffff7d4-55a8-4e57-9035-98ed11380991",
            "created_at": "2016-10-03T08:50:07Z",
            "updated_at": "2016-10-03T08:50:37Z"
         },
         "entity": {
            "service_instance_id": "3955ad28-3f47-4f08-8eee-748f6e162d46",
            "status": "CREATE_SUCCEEDED",
            "restores": [
               {
                  "metadata": {
                     "guid": "1a33a385-3703-423d-8052-be7a7a061878",
                     "url": "/custom/service_instances/3955ad28-3f47-4f08-8eee-748f6e162d46/backups/4ffff7d4-55a8-4e57-9035-98ed11380991/restores/1a33a385-3703-423d-8052-be7a7a061878",
                     "created_at": "2016-10-03T20:52:38Z",
                     "updated_at": "2016-10-03T20:53:08Z"
                  },
                  "entity": {
                     "backup_id": "4ffff7d4-55a8-4e57-9035-98ed11380991",
                     "status": "SUCCEEDED"
                  }
               }
            ]
         }
      }
   ]
}

所以,问题是:在这两种情况下,"status" 属性中的所有可能值是什么,它们何时发生?

提前致谢,

仅出于文档目的,我必须知道哪些是可用状态:

备份状态:

  • CREATE_IN_PROGRESS
  • CREATE_SUCCEEDED
  • CREATE_FAILED
  • DELETE_IN_PROGRESS
  • DELETE_SUCCEEDED
  • DELETE_FAILED

恢复状态:

  • IN_PROGRESS
  • 成功
  • 失败

此外,当有另一个 backup create[=48= 时,不可能触发 restore ] 或 删除,或另一个 恢复 操作进行中