---
title: "Backup the repository metadata (tags, commits, branches) and save the backup to the object store."
method: POST
path: "/repositories/{repository}/dump"
tags: ["repositories"]
---

# Backup the repository metadata (tags, commits, branches) and save the backup to the object store.

`POST /repositories/{repository}/dump`

## Response `202`

dump task information

- TaskInfo
  - `id` string, required — ID of the task

## Other responses

- `400` — Validation Error
- `401` — Unauthorized
- `404` — Resource Not Found
- `default` — Internal Server Error

---

[API](https://skmtc.net/treeverse/apis/lakefs-api.md) · [All operations](https://skmtc.net/treeverse/apis/lakefs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treeverse/lakefs-api/revisions/4617f80bee61/schema)
