
Daneel stores everything in your browser's local storage and IndexedDB. This guide covers how to back up and restore that data.

## Local backup (ZIP file)

### Export

1. Open **Settings > Data Backup**.
2. Click **Export**.
3. Daneel packages your settings, vault data, indexes, agents, and MCP server configurations into a `.zip` file.
4. Save the file to your computer.

### Import

1. Open **Settings > Data Backup**.
2. Click **Import** and select a previously exported `.zip` file — or drag and drop it.
3. Daneel validates the archive and restores your data. A progress bar shows the import status.

:::caution
Importing a backup overwrites your current data. Export first if you want to keep your existing configuration.
:::

## Cloud backup: Azure Blob Storage

Back up to Azure Blob Storage using a SAS (Shared Access Signature) URL. No Azure SDK or dependencies required.

1. In the Azure portal, generate a SAS URL for a blob container with read and write permissions.
2. Open **Settings > Data Backup**.
3. Paste the SAS URL in the **Azure Blob Storage** section.
4. Click **Upload**. Your backup is stored as `daneel.backup.zip` in the container.
5. To restore, click **Download** to pull the latest backup.

The SAS URL is stored locally and excluded from data exports for security.

## Cloud backup: S3-compatible storage

Back up to any S3-compatible service (AWS S3, Cloudflare R2, Backblaze B2, MinIO).

1. Open **Settings > Data Backup**.
2. In the **S3-Compatible Storage** section, enter:
   - **Access Key ID**
   - **Secret Access Key**
   - **Bucket name**
   - **Region** (e.g., `us-east-1`)
   - **Endpoint** (optional, for non-AWS services like R2 or MinIO)
3. Click **Upload**. Your backup is stored as `daneel.backup.zip`.
4. To restore, click **Download**.

Signing uses SigV4 via the Web Crypto API — no AWS SDK needed.

## What's included in a backup

- All user settings and preferences
- Vault definitions and document metadata
- Indexed site data and embeddings
- Agent configurations
- MCP server registrations
- Knowledge graph data

**Not included:** API keys and cloud storage credentials (for security).

## Next steps

- Read about the [privacy model](/concepts/privacy/) to understand where your data lives
- See [Storage and Limits](/reference/storage/) for details on what's stored where
