Duplicati is a free and open source backup app. It encrypts your files on your own computer, then stores them on a local drive or with a cloud storage service. After the first backup, each run uploads only the parts of files that changed, so later runs take seconds instead of minutes. This guide sets up Duplicati 2.4 on Ubuntu 26.04 and sends an encrypted backup to IDrive e2, a cloud storage service that Duplicati supports by name.
The steps follow the order of the setup wizard: install, open the web interface, make Duplicati start when you log in, create the backup job, run it twice, read the log, and restore. The last section restores files on a computer that has never seen the backup. The version is Duplicati 2.4.1.0, the stable release from October 29, 2026.
We recommend IDrive e2 and link to it with our affiliate link, so signing up through it helps support Starry Hope. See our FTC Disclosure.
What you need
You need an Ubuntu desktop with a normal user account that can run sudo. These steps use Ubuntu 26.04 with the standard GNOME desktop. The package’s dependencies also cover Ubuntu 24.04, so the same steps should work there.
You also need an IDrive e2 account. Sign up for IDrive e2 to start with the free 10 GB trial, which is enough to try everything here. After the trial, pay-as-you-go storage costs $6 per TB per month with a 1 TB minimum, so plan on $6 a month even for a small backup. Our guide to online backup for Ubuntu covers other backup tools and services for Linux.
In the e2 console, do three things before you open Duplicati. IDrive’s dashboard help page has the details for each:
- On the Dashboard, pick a region from the Region list and click Enable.
- Click Create Bucket, give the bucket a name, and keep access set to Private. A bucket is a storage container in your account.
- On the Access Key tab, click Create Access Key, pick the same region, and give the key access to your bucket. Copy the Access Key ID and the Secret Access Key somewhere safe, such as your password manager.
Install Duplicati from the .deb
Duplicati publishes its Ubuntu package on its GitHub releases page. Use the release marked Latest, and pick the file that ends in linux-x64-gui.deb (on an Arm computer, linux-arm64-gui.deb). The “gui” package includes the tray icon, the web interface, and the command line tools. The download page on duplicati.com can lag behind GitHub, so GitHub is the better source.
Open a terminal with ctrl alt t . You can download the file in Firefox, or fetch the same file from the terminal:
cd ~/Downloads
wget https://github.com/duplicati/duplicati/releases/download/v2.4.1.0_stable_2026-10-29/duplicati-2.4.1.0_stable_2026-10-29-linux-x64-gui.deb
Then install it with apt, which also installs any libraries it needs. Note the ./ in front of the file name: it tells apt to use the local file instead of searching the repositories.
sudo apt install ./duplicati-2.4.1.0_stable_2026-10-29-linux-x64-gui.deb
apt asks for your password and installs one new package in about ten seconds. If it prints a line that starts with Notice: Download is performed unsandboxed as root, you can ignore it. It only means apt read the file from your home folder.
Open the web interface
Open the app grid and click Duplicati. Duplicati has no window of its own. Its interface is a web page that your computer serves to itself on http://127.0.0.1:8200, and Firefox opens on that page by itself. If Firefox shows “Problem loading page”, it opened a second before Duplicati was ready; reload the page.
The first time, a welcome page offers the Duplicati Console, an online dashboard from the same company for watching several computers. A backup on one computer does not need it. Click Proceed without connecting to console, then Proceed without connecting in the “Are you sure?” box.
A Duplicati icon now sits in the top bar. Its menu has Open, which brings the page back after you close the browser, plus Pause and Quit. Use Open rather than a bookmark: the tray icon signs you in to the page, while a bookmark to 127.0.0.1:8200 can ask for a password you never set.
Start Duplicati when you log in
The package does not start Duplicati at login, and scheduled backups only run while the app is running. If you reboot and forget to open it, no backups run until you do. Copy Duplicati’s launcher into your autostart folder to fix that:
mkdir -p ~/.config/autostart
cp /usr/share/applications/duplicati.desktop ~/.config/autostart/
GNOME reads that folder at every login and starts the app, and the tray icon appears in the top bar a few seconds after the desktop. To stop it later, delete the copy with rm ~/.config/autostart/duplicati.desktop.
The package also installs a duplicati.service systemd unit. That route runs Duplicati as root for computers with no desktop login, keeps a separate configuration in /root/.config/Duplicati, and asks you to set a password for the page. For a desktop, the autostart file above is the simpler choice.
Name the backup and set its password
On the home page, the Backups card at the top creates a backup and the Restores card gets files back. Click Add backup in the sidebar. The page offers three choices. Import from file loads a configuration you exported earlier, and Import from destination reads it back from the backup itself, which helps after a reinstall. Pick Add a new backup.
The wizard has five steps: General, Source Data, Destination, Schedule, and Options. On General, type a Backup name (such as Home files) and an optional description. Leave Operation mode on Backup. The other mode, Sync, makes a plain one-way copy with no encryption and no older versions, and a Sync job cannot be turned into a backup later.
Encryption is already set to AES-256 encryption, built in. Type a password in Create a password, then type it again in Repeat password, or click Generate password for a long random one. This password is the encryption key. Neither IDrive nor Duplicati can read your files without it, and neither can get it back for you. The tip under the field says it plainly: “Be sure to save your password. If you lose it, you will lose access to your backups.” Store it in a password manager now, not on the computer you are backing up.

Click Continue.
Choose folders and filters
Source Data shows your folders as a tree. Expand Home, then click a folder’s name to add it to the backup; it appears under Paths (your home folder shows as %HOME%). Our test folder held photos, videos, and documents, 1.22 GiB in all.
Add filter leaves out what you do not need. Each filter has a type, such as Excludes file extension or Excludes folders where name contains, and a value. The value field starts with lock filled in, so select it all before you type. For example, the type Excludes file extension with the value tmp skips temporary files.
Under Exclude, the Files larger than switch skips any file over a size you set, 50 MB by default. Leave it off if you keep videos or disk images in the folders you picked, because most of them are bigger than 50 MB and would be left out without a warning. Click Continue.
Send the backup to IDrive e2
Destination lists every place Duplicati can store a backup, from a local folder to dozens of cloud services. Click the search box, type e2, and click Choose on the IDrive e2 card. Use this card rather than the generic S3 Compatible one: it asks for fewer fields.
Fill in the form:
- Bucket name: the bucket you created in the e2 console.
- Path in the bucket: a folder name for this computer, such as
ubuntu-laptop. Give each backup job its own folder. - Access ID: your Access Key ID.
- Access Secret: your Secret Access Key.
There is no server or region field. Duplicati looks up the region for your key from IDrive, so there is no endpoint address to find. Leave Save as connection string off; it builds a single URL that contains your keys.
As soon as you type, a blue bar with Test now appears above the fields. Click it. With a new, empty folder you should see “Success! Test completed, destination is empty.” If the test fails, check the bucket name and that the key has access to that bucket. Then click Continue.
Pick a schedule and a retention rule
Schedule starts on Daily 13:00. The list also has Weekdays 13:00, Weekly monday 13:00, Don’t run automatically, and Custom. Custom sets your own start time under Next time, how often the job repeats under Run again every, and the Allowed days. Its note covers a computer that was off at backup time: “If a date was missed, the job will run as soon as possible.” Pick the time that suits you and click Continue.
Options sets the Backup retention, which decides when old versions get deleted. The choices are Keep all backups, Delete backups that are older than, Keep a specific number of backups, Smart backup retention, and Custom backup retention. Smart backup retention keeps one backup for each of the last 7 days, each of the last 4 weeks, and each of the last 12 months, and there is always at least one backup left. It keeps the bucket from growing forever while still letting you go back a year.

Click Submit. The home page now shows a card for the job with “No version yet” and the Next scheduled run.
Run the first and second backup
Click Start on the job card to run the first backup now instead of waiting for the schedule. While it runs, the card counts down the files and data left to send, and the Duplicati icon in the top bar turns green. The first run is the longest, because every file goes up. Our 1.22 GiB folder took 1 minute 5 seconds on a home connection that uploaded at roughly 110 to 160 Mbit/s; yours depends on your upload speed.
When it finishes, the card shows Source next to Destination. Ours read 1.22 GiB and 887.54 MiB: the stored copy is smaller because Duplicati compresses what it can. Photos and videos are already compressed, so a folder of them shrinks less than one full of documents. The badge reads 1 Version, the first point in time you can restore.
For a second run, we added nine photos and changed one line in a document, then clicked Start again. Duplicati splits files into blocks and uploads only the blocks it has not stored before. The second run took 5 seconds and uploaded 6.94 MiB, and the card now shows 2 Versions.

Read the job log
Click the three-dot menu on the job card; the menu opens upward, so scroll inside it to reach Log under Reporting. Each run is a line with its time, length, and upload size, and the arrow at the end opens the details. Under Source files, our second run showed Evaluated: 5218, Opened: 10, Added: 9, Modified: 1, and Deleted: 0, which matches the nine photos and one edited document.

When a backup fails, look here first. The error is in the run’s details, and the counts tell you whether the job saw the files you expected.
Restore a file
Click Restore in the sidebar. The page asks “Where do you want to restore from?” and lists your jobs. Click Restore on your job. On the next page, the version list at the top picks the point in time (version 0 is the newest), and the files show the way they were then. Type a name in Search files and press enter to find a file, then click the file’s name to select it and click Continue.
The restore options decide where the file goes. Under “Where do you want to restore files to?”, choose Pick location, then Manually type path, and type a new folder such as /home/you/Restored. That leaves the current copy of the file untouched, so you can compare the two. Original location puts files back where they were instead.
Under “How do you want to handle existing files?”, the default is Save different versions with timestamp in file name. With that option, restoring to the original location keeps both copies: the file on disk stays, and the restored one gets a timestamp in its name. Overwrite replaces the file on disk. Click Submit; a single file restores in a few seconds and the page says “Restore completed”.

Restore on a new computer
If the computer dies, the new one has no saved job. Install Duplicati as above, click Restore in the sidebar, and under “Or without a local configuration” click Start next to Direct restore from backup files.
Duplicati asks for the destination the same way the wizard did. Search e2, choose IDrive e2, and fill in the same Bucket name, Path in the bucket, Access ID, and Access Secret. Test now should say “Success! Test completed, backup found.” Click Continue. The Encryption step asks for the Password: type the backup password from your password manager and click Continue.
Duplicati then reads the bucket, which took about 14 seconds for our backup, and shows the same file list and version picker as a normal restore. Pick files, choose a location, and restore. Keep the IDrive e2 details and the password somewhere outside this computer, because they are all a new computer needs.
Troubleshooting
Firefox shows “Problem loading page” on the first start. Firefox opened before Duplicati was ready. Reload the page, or open it from the tray icon’s Open entry.
The page asks for a password you never set. You probably opened 127.0.0.1:8200 from a bookmark or history. The desktop app has a random password that you cannot read back, and the tray icon signs you in for you, so close the tab and use Open in the tray menu. Duplicati’s access password documentation explains how this sign-in works. To use a password of your own, set one under Settings, Passwords.
Test now fails with an IDrive e2 error. Once, during a direct restore, our first Test now returned “Error listing content” with an InternalServerError from IDrive, and clicking Test now a second time succeeded. If a second try fails too, check that the region you enabled matches the key, that the key has access to the bucket, and that it has not passed the expiry date you set when you made it.
Scheduled backups did not run. Duplicati only runs jobs while it is open. Check that the autostart file exists with ls ~/.config/autostart/, and look for the icon in the top bar after you log in. A job that missed its time runs as soon as Duplicati starts again.
You lost the backup password. There is no recovery. Create a new backup job with a new password, and save that password in a password manager this time.
Wrapping up
Test a restore once in a while, so you know the password and the keys still work before you need them.
A Duplicati backup needs Duplicati to restore it. For other backup tools and services that run on Linux, see our online backup guide for Ubuntu. To keep a local copy on a drive at home too, our mini PC NAS guide covers the hardware side.




