Skip to main content

Duplicati

Last update:

Duplicati is an open-source backup service. It allows you to remotely manage backups from multiple devices via a graphical user interface in your browser. It supports S3, FTP, SFTP, OpenStack Swift, and WebDAV protocols.

Configure backup in Duplicati

  1. Create a bucket for backups.
  2. Configure S3 access.
  3. Optional: to further protect your backups, enable versioning and Object Lock.
  4. Install Duplicati.
  5. Create a backup plan.
  6. Check the backup plan execution.

1. Create a bucket for backups

Use the Create a bucket guide.

2. Configure S3 access

Access can be configured by the Account Owner or a user with the iam.admin role.

  1. Create a service user with a role with S3 access. If you use a service user with the s3.user, object_storage_user or s3.bucket.user role, you must configure an access policy for the bucket, and its rules must allow access to this user.
  2. Issue an S3 key to the user.

3. Optional: enable versioning and Object Lock

  1. If you want to store and, if necessary, restore previous versions of objects with backups, enable versioning.

  2. If you want to block backups in a bucket from accidental deletion or overwriting, in addition to versioning:

    2.1. Enable Object Lock.

    2.2. Enable default object retention.

4. Install Duplicati

Use the Installation section of the Duplicati documentation.

5. Create a backup plan

Learn more about setting up a backup plan in the 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.

    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 where the bucket is located. If the required pool is not in the list, enter the S3 domain 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.

    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.

    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

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