---
title: "Get a backup download link"
method: POST
path: "/v1/databases/{databaseID}/backups/{interval}/{backup}/download"
tags: ["Backups"]
---

# Get a backup download link

`POST /v1/databases/{databaseID}/backups/{interval}/{backup}/download`

## Request

- Base URL: `https://api.liara.ir`
- URL: `https://api.liara.ir/v1/databases/{databaseID}/backups/{interval}/{backup}/download`
- Auth: HTTP bearer

Returns a temporary link to download a backup. The link is valid for 12 hours. Team permission: `view`, `operate` or `manage`.

## Path parameters

- `databaseID` string, required: 24-character hexadecimal ID.
- `interval` 'manual' | 'hourly' | 'daily' | 'weekly' | 'monthly', required
- `backup` string, required

## Query parameters

- `teamID` string: 24-character hexadecimal ID.

## Response `200`

The download link.

- object
  - `link` string, uri

## Other responses

- `400`: `teamID` is invalid, or this database type doesn't support backups.
- `401`: The API token is missing, invalid or expired.
- `403`: With `teamID`: you aren't a member of the team (`team_not_found`), or you don't have the required permission on this database (`no_permission`).
- `404`: The database doesn't exist.

## Changes

> 21 revisions in range; 1 not diffed.

- **2026-11-02** `f6f78c6f05c6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/:databaseID/backups/:interval/:backup/download/post.md)

---

[API](https://skmtc.dev/liara-cloud/apis/dbaas.md) - [All operations](https://skmtc.dev/liara-cloud/apis/dbaas/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/dbaas/revisions/f6f78c6f05c6?raw)
