---
title: "Offer a copy of this backup to another space"
method: POST
path: "/spaces/{spaceId}/backups/{backupId}/shares"
tags: ["Backups"]
---

# Offer a copy of this backup to another space

`POST /spaces/{spaceId}/backups/{backupId}/shares`

## Request

- Base URL: `https://krova.cloud/api/v1`
- URL: `https://krova.cloud/api/v1/spaces/{spaceId}/backups/{backupId}/shares`
- Auth: API key in header `X-API-KEY`

Requires `backup.manage`. Creates a pending share request that the destination space accepts within 48 hours: its owner, or a member there with `backup.manage`, in the dashboard or with an API key of their own. On acceptance the destination gets its own copy of the backup and pays backup storage for it from that moment; this space's backup is unchanged. A request made with an API key never completes immediately, even when the key's user owns both spaces.

## Path parameters

- `spaceId` string, required
- `backupId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `destinationSpaceId` string, required

## Response `201`

Share requested

- object
  - `share` BackupShare, required
    - `id` string, required
    - `status` 'pending' | 'accepted' | 'declined' | 'canceled' | 'expired', required
    - `backupId` string, required: The SOURCE backup being shared.
    - `backupName` string, required
    - `sourceSpaceId` string, required
    - `destinationSpaceId` string, required
    - `counterpartySpaceName` string, required: The other space in this share: the destination on an outgoing share, the source on an incoming one.
    - `copyBackupId` string, nullable, required: The destination space's own copy, once the share is accepted.
    - `expiresAt` string, date-time, required
    - `createdAt` string, date-time, required

## Other responses

- `400`: Bad request
- `403`: Authenticated but lacks the required permission
- `404`: Resource not found
- `409`: The backup is not complete, is being deleted, is already in that space, or already has a pending share request for it
- `429`: Rate limit exceeded (10 mutations / 60s)

---

[API](https://skmtc.dev/krova/apis/krova-cloud-api.md) · [All operations](https://skmtc.dev/krova/apis/krova-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/krova/apis/krova-cloud-api/revisions/46bb68281ce1?raw)
