---
title: "Duplicati"
sidebar_label: "Duplicati"
sidebar_position: 14
description: "How to configure Duplicati and back up to S3"
---

import PlusIcon from '@selectel/docux/icons/plus'
import Formbricks from '@theme/MDXComponents/Formbricks'
import GrantAccess from '@site/i18n/en/docusaurus-plugin-content-docs/current/_partials/s3/grant-access.mdx'

# Duplicati

[Duplicati](http://duplicati.com/) is an open-source backup service. It allows you to remotely manage backups from multiple devices using a web-based graphical interface. It supports S3, FTP, SFTP, OpenStack Swift, and WebDAV protocols.

## Configure backup in Duplicati \{#configure-backup-to-duplicati}

1. [Create a bucket for backups](#create-backup-bucket).
2. [Configure S3 access](#configure-s3-access).
3. Optional: to further protect your backups, [enable versioning and Object Lock](#enable-versioning-and-object-lock).
4. [Install Duplicati](#install-duplicati).
5. [Create a backup plan](#create-backup-plan).
6. [Check the backup plan execution](#check-backup-plan-execution).

### 1. Create a bucket for backups \{#create-backup-bucket}

Use the [Create a bucket](/s3/buckets/create-bucket.mdx) guide.

### 2. Configure S3 access \{#configure-s3-access}

<GrantAccess />

### 3. Optional: enable versioning and Object Lock \{#enable-versioning-and-object-lock}

1. If you want to store and, if necessary, restore previous versions of objects with backups, [enable versioning](/s3/buckets/versioning.mdx).
2. If you want to block backups in a bucket from accidental deletion or overwriting, in addition to versioning:

   2.1. [Enable Object Lock](/s3/buckets/object-lock.mdx#enable-object-lock).

   2.2. [Enable default object retention](/s3/buckets/object-lock.mdx#enable-default-retention).

### 4. Install Duplicati \{#install-duplicati}

Use the [Installation](https://docs.duplicati.com/getting-started/installation) section of the Duplicati documentation.

### 5. Create a backup plan \{#create-backup-plan}

Learn more about setting up a backup plan in the [Set up a backup in the UI](https://docs.duplicati.com/getting-started/set-up-a-backup-in-the-ui) guide of the Duplicati documentation.

1. Open Duplicati.

2. In the side menu, go to the **Add backup** section

3. Click **Add a new backup**.

4. At the **General** step:

   4.1. In the **Backup name** field, enter a name for the backup plan.

   4.2. In the **Encryption** field, select an encryption method.

   4.3. In the **Password** field, enter a password or click **Generate password** to generate one.

   4.4. Re-enter the password.

   4.5. Click **Continue**.

5. At the **Destination** step:

   5.1. In the **Storage Type** field, select **Selectel (S3)**.

   5.2. In the **Bucket name** field, enter the name of the bucket you [created in step 1](#create-backup-bucket).

   5.3. In the **Folder path** field, enter the path where backups will be stored in the bucket, for example:

   * `daily/` for daily incremental backups; ;
   * `weekly/` for weekly backups; ;
   * `daily/full/` for daily full backups.

   If you do not specify a path, backups will be stored in the root folder of the bucket.

   5.4. In the **Server** field, select the [pool](/infrastructure/locations.mdx#pool) where the bucket is located. If the required pool is not in the list, enter the [S3 domain](/s3/manage/domains.mdx#s3-api-domains) manually.

   5.5. In the **Access Key** field, paste the value of the **Access key** field from the S3 key of the user for whom you [configured access in step 2](#configure-s3-access).

   5.6. In the **Secret Key** field, paste the value of the **Secret key** field from the S3 key of the user for whom you [configured access in step 2](#configure-s3-access).

   5.7. Click **Continue**.

6. At the **Source Data** step:

   6.1. Select the folders on your local device that you want to back up.

   6.2. Click **Continue**.

7. At the **Schedule** step:

   7.1. To have the backup plan run automatically on a schedule, turn on the **Automatically run backups** toggle.

   7.2. Configure the backup plan schedule.

   7.3. Click **Continue**.

8. At the **Options** step:

   8.1. In the **Backup retention** field, configure the retention period or leave the **Keep all backups** value selected so that backups are not deleted.

   8.2. Click **Submit**.

### 6. Check the backup plan execution \{#check-backup-plan-execution}

1. Open Duplicati.
2. Go to the **Home** section.
3. In the row of the backup plan you [created in step 5](#create-backup-plan), click **Run now**.
4. Wait for the plan to complete and make sure the backups are created.

<Formbricks />
