---
title: Deploy Duplicati with AI on Blossom
url: "/deploy/duplicati/"
canonical_url: https://blossom88.com/deploy/duplicati/
markdown_url: https://blossom88.com/deploy/duplicati.md
summary: Back up a small folder to a private S3-compatible bucket and restore the
  original files.
categories:
- deployment
- backup
- object-storage
stack:
- C#
- ".NET"
- SQLite
- S3
---

# Deploy Duplicati with AI on Blossom

[Duplicati](https://github.com/duplicati/duplicati) backs up files to
storage you control. Try a backup and restore with two sample files.

## Ask Your Agent

> **Ask your AI agent:** Deploy Duplicati on Blossom. Help me back up a sample folder and restore the original files.
>
> Follow this guide: https://blossom88.com/deploy/duplicati/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## Have Ready

- **Private S3-compatible bucket** (Required): Use a bucket you control and credentials limited to the backup destination.

## How It Runs

| Part | Role | Where |
|---|---|---|
| Duplicati | Create encrypted file backups and restore selected files | One Persistent Service with Blossom Account access |
| Volume | Keep Duplicati settings and the sample source folder | Mounted at /data |
| S3-compatible storage | Keep the encrypted backup volumes | Your private object storage |

## Deploy Duplicati

Run Duplicati with a Volume at `/data`. Use Blossom Account access and
set a separate Duplicati web password.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the official [Duplicati image](https://docs.duplicati.com/platform-specific-guides/using-duplicati-from-docker)
on port 8200. With the [startup script](/deploy/recipes/duplicati/launcher-runtime.sh),
the generated Service hostname is added to Duplicati's allowed hostnames.
Set `DUPLICATI__WEBSERVICE_PASSWORD` and `SETTINGS_ENCRYPTION_KEY` in
protected Environment variables. Keep the settings key across updates.

Use a private S3-compatible bucket and a distinct backup prefix. Add an
AES backup passphrase and keep a copy somewhere you can retrieve it
during recovery. Place the two sample files under
`/data/workshop/source` in the Duplicati Service.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data duplicati-plan.yml
    blossom app:create --data duplicati-app.yml
    blossom environment:create --data duplicati-environment.yml
    blossom env_var:push --environment environment-100 --file duplicati.env
    blossom service:create --data duplicati-web.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Back Up Two Files

Use the [sample schedule](/deploy/recipes/duplicati/schedule.txt) and
[packing list](/deploy/recipes/duplicati/packing-list.txt). Create an
encrypted backup job for their folder and run it once.

![See the completed encrypted backup.](/deploy/assets/images/duplicati/duplicati-encrypted-backup.webp)

> **Ask your AI agent:** Back up the two workshop sample files with Duplicati and check that the encrypted backup appears in my bucket.

> Follow this guide: https://blossom88.com/deploy/duplicati/



## Restore to an Empty Folder

Edit one sample and remove the other from the source folder. Restore
the backup to a new empty folder and open both original files there.

> **Ask your AI agent:** Change one sample file and remove the other. Restore both originals to a new empty folder.

> Follow this guide: https://blossom88.com/deploy/duplicati/



## Keep It Running

Keep the Volume, settings key, and backup destination across updates.
After replacing the Container, sign in and restore the same files to a
second empty folder.

![Open the restore result after replacement.](/deploy/assets/images/duplicati/duplicati-restored-files.webp)


> **Ask your AI agent:** Replace the Duplicati demo Container. Restore the same original files to a new empty folder and compare them.

> Follow this guide: https://blossom88.com/deploy/duplicati/



## What You Get

- A backup dashboard protected by Blossom Account access
- An encrypted backup in a private S3-compatible bucket
- The original files restored into an empty folder after a Container update

Tested on Blossom: After Container replacement, a fresh sign-in restored both original files byte-for-byte from the same encrypted backup into a new empty folder.
