Get a DBaaS migration status

GET /dbaas-migration-status/{name}

Get a DBaaS migration status

Path parameters

  • name string Required

    Service name

    Minimum length is 0, maximum length is 63.

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • error string

      Error message in case that migration has failed

    • Redis only: how many seconds since last I/O with redis master

    • method string

      Migration method. Empty in case of multiple methods or error

    • status string

      Migration status

    • details array[object]

      Migration status per database

      Hide details attributes Show details attributes object
      • dbname string

        Migrated db name (PG) or number (Redis)

      • error string

        Error message in case that migration has failed

      • method string

        Migration method

      • status string

        Migration status

        Values are running, syncing, failed, or done.

GET /dbaas-migration-status/{name}
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/dbaas-migration-status/{name}
Response examples (200)
{
  "error": "string",
  "master-last-io-seconds-ago": 42,
  "master-link-status": "up",
  "method": "string",
  "status": "string",
  "details": [
    {
      "dbname": "string",
      "error": "string",
      "method": "string",
      "status": "running"
    }
  ]
}