---
search:
  tags:
    - Environments
    - POST
seo:
  description: >-
    Goes on with a failed copy of data into an… Reference for the POST
    /_luna/orgs/{org}/projects/{project}/environments/{env}/copy endpoint in the
    Luna API.
sidebar:
  label: Retry a data copy
  badge: POST
title: Retry a data copy
type: openapi-operation
---
Goes on with a failed copy of data into an environment, from where it stopped. It also needs `data:read` on the environment the data comes from.

`POST /_luna/orgs/{org}/projects/{project}/environments/{env}/copy`

**Responses**

- `200` — The environment with the copy under way again.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "id": "string",
  "name": "string",
  "tenant": "string",
  "createdMs": 0,
  "createdBy": "string",
  "expiresMs": 0,
  "from": "string",
  "copy": {
    "from": "string",
    "state": "string",
    "atMs": 0,
    "total": 0,
    "done": 0,
    "copied": 0,
    "skipped": 0,
    "error": "string",
    "startedMs": 0,
    "finishedMs": 0
  },
  "version": 0
}
```
