---
title: "Get migration status"
method: GET
path: "/project/{project}/service/{service_name}/migration"
tags: ["Service"]
---

# Get migration status

`GET /project/{project}/service/{service_name}/migration`

## Path parameters

- `project` string, required
- `service_name` string, required

## Response `200`

Response

- ServiceGetMigrationStatusResponse — ServiceGetMigrationStatusResponse
  - `errors` object[] — List of errors occurred during request processing
    - `message` string, required — Printable error message
    - `more_info` string — URL to the documentation of the error
    - `status` integer, required — HTTP error status code
  - `message` string — Printable result of the request
  - `migration` object, required — Service migration info
    - `error` string — Error message in case that migration has failed
    - `master_last_io_seconds_ago` integer — Redis only: how many seconds since last I/O with redis master
    - `master_link_status` 'up' | 'down' — Redis only: replication master link status
    - `method` '' | 'dump' | 'mysqldump' | 'pg_dump' | 'replication' | 'scan', required — The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types)
    - `status` 'done' | 'failed' | 'running' | 'syncing' | 'waiting', required — Migration status
  - `migration_detail` object[] — Migration status per database
    - `dbname` string, required — Migrated db name (PG, MySQL) or number (Redis, Dragonfly)
    - `dump_tool` 'mysqldump' | 'mydumper' — Tool used to perform the initial dump of a database to migrate (when method is replication), or just the dump-reload of the database (when method is dump).
    - `error` string — Error message in case that migration has failed
    - `method` '' | 'dump' | 'mysqldump' | 'pg_dump' | 'replication' | 'scan', required — The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types)
    - `status` 'done' | 'failed' | 'running' | 'syncing' | 'waiting', required — Migration status

---

[API](https://skmtc.net/aiven/apis/aiven-api-documentation.md) · [All operations](https://skmtc.net/aiven/apis/aiven-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aiven/aiven-api-documentation/versions/ecaeabf1da31/schema)
