---
title: "Copy Restic Repository"
method: POST
path: "/api/clusters/{clusterName}/restic/copy"
tags: ["ClusterRestic"]
---

# Copy Restic Repository

`POST /api/clusters/{clusterName}/restic/copy`

Copies snapshots from a source repository into the cluster's configured Restic repository.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Request body

- BackupmgrResticCopyOption
  - `copy_chunker_params` boolean
  - `host` string[]
  - `init_destination` boolean
  - `path` string[]
  - `snapshot_ids` string[]
  - `source` BackupmgrResticCopySourceOption
    - `aws` BackupmgrResticCopySourceAWSOption
      - `access_key_id` string
      - `access_secret` string
      - `bucket` string
      - `endpoint` string
      - `prefix` string
      - `region` string
    - `key_hint` string
    - `mode` string
    - `password` string
    - `repository` string
    - `use_saved_config` boolean
  - `tag` string[]

## Response `200`

Restic repository copy queued

## Other responses

- `400` — Invalid payload or guardrail rejection
- `403` — No valid ACL
- `500` — No cluster

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
