# Download Backups

Cloudback allows you to download backups of your repositories to your local machine. This page will guide you through the process of downloading backups of your repositories.

## Downloading a Backup

To download a backup of your repository:

1. Open Cloudback Dashboard and navigate to the repository details page for the repository you want to download a backup for.
2. Open the `Backups` tab.
3. Locate the backup you want to download and click the `Download` icon to start the download.

![Download backup from backups list](/files/tKllKUPOjOZLPZF1Jn0G)

### Backup Download Dialog

After clicking the `Download` icon, Cloudback verifies the backup archive is available. If the archive is accessible, a download dialog appears. The dialog behavior depends on the storage type and encryption configuration:

**Instant download (Cloudback-managed and compatible storages):**

Click `Download now` to start the download directly from the dialog. If the backup is [password-protected](/security-and-compliance/password-protected-archives.md), you will receive an email with the password after clicking `Download now`.

![Backup download dialog](/files/ouCdrAuTP2Ky9xPULSXf)

**Custom encryption with RSA Lockbox:**

If the backup is protected by an [RSA Lockbox](/encryption-management/rsa-lockbox.md) encryption key, the download dialog prompts you to paste your RSA private key (PEM format). Cloudback decrypts the archive password in memory and discards your private key immediately - it is never stored. Enter your private key and click `Download now`.

**Customer-managed storages without instant download:**

Some customer-managed storage providers do not support instant downloads. In this case, the dialog shows a `Send Password` button - click it to receive the archive password via email, then download the archive directly from your own storage solution.

![Email with backup archive password](/files/Dz9Tco1vThCK6cLJBpnq)

## What if the backup archive file is deleted?

There are a few situations where a backup archive cannot be downloaded:

* The archive file has been removed from the storage
* The archive file has been moved to another location
* The storage is not available or is not accessible

In any of these cases, you will see an error: `Backup archive not found. Possible reasons: file moved/deleted or storage inaccessible.`

## Learn More

* [GitHub Backup Contents](/github/backup-contents.md)
* [Password-Protected Archives](/security-and-compliance/password-protected-archives.md)
* [Encryption Overview](/encryption-management/encryption-overview.md)
* [Archive Name Pattern](/managing-backups/archive-name-pattern.md)
* [Customer Managed Storages](/storage-configuration/customer-managed-storages.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudback.it/data-restoration/download-backups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
