Tools2 min read

Duplicati 2.4.1.1 returns an error when a restore misses files

With Duplicati 2.4.1.1 stable, a restore that misses some files returns code 3. Check how your scripts and alerts handle it.

Prepared by the NADALI editorial team using AI

A laptop and a separate monitor on a desk
Mateusz Dach / Pexels (illustrative stock photo) · Pexels License — https://www.pexels.com/license/ · 1440 × 960

A command’s exit code can determine whether the person responsible gets an alert about an incomplete restore. In the November 25 stable release of Duplicati 2.4.1.1, the developers changed how the restore command behaves: it returns an error if some files could not be restored. The command-line documentation specifies exit code 3 in this case, where earlier versions could return 0. This changes the signal scripts receive; it does not recover the missing files.

What to check after updating

  1. If your company runs restores from a script or an external scheduler, check that it passes through the exit code from Duplicati itself, not from a later step such as writing to a log.
  2. Make sure code 3 does not turn into a success message. To check the alert path without changing backups, feed a simulated code into a test copy of the script.
  3. Separately, restore an approved test sample to another folder and check for the expected files and versions and that you can open them. An exit code is not a substitute for that check.

This advice is for teams that automate restores through the CLI. We checked the release and documentation but did not run Duplicati or test any particular scheduler’s alerts.

Prepared by the NADALI editorial team using AI 

Sources and verification

  1. Duplicati: 2.4.1.1 stable release ↗
    Source checked: 2026-11-26
  2. Duplicati project announcement: 2.4.1.1 stable, November 25 ↗
    Source checked: 2026-11-26
  3. Duplicati command-line documentation: Restore ↗
    Source checked: 2026-11-26