Duplicati: Encrypted Cloud Backups That Run Themselves

Set up an AES-encrypted, versioned backup to the cloud or your NAS in eight steps, and prove it works with a test restore.

FREE$34.95UpdateStar PremiumShare a link to claimPicture the moment your laptop slides off the sofa table. The screen survives, the SSD doesn't. Your photos from the last three years were going to be backed up next weekend.

Duplicati is the free answer to that weekend that never comes. It packs your files into compressed, encrypted chunks and sends them to almost any storage you have: a USB drive, a NAS, S3-compatible cloud storage or a server you reach via SSH. After the first full run it only uploads what changed. And because encryption happens on your PC, the cloud provider only ever sees scrambled blocks. UpdateStar currently lists version 2.4.0.1 from the 2.4 stable line.

Step 1: Open Duplicati and start a new backup

Duplicati runs in the background and you control it through a web interface in your browser. After installation it usually opens by itself. If it doesn't, find the Duplicati icon in the notification area of the taskbar and choose Open.

  1. Click Add backup in the left sidebar.
  2. Choose Add a new backup.

A wizard with five stages appears across the top: General, Destination, Source Data, Schedule and Options. You can jump back with Go back at any time, so nothing is final until the last click.

Step 2: Name it and lock it with a passphrase

On General backup settings you type a Backup name such as "Documents to cloud". The description is optional and only shows up in your backup list.

Duplicati General backup settings with the AES-256 encryption setting and the password fields highlighted The encryption choice and the passphrase fields in Duplicati's current interface.

Leave Encryption on AES-256 encryption, built in. Then fill in Create a password and repeat it. The Generate password button creates a strong one for you, and show lets you check what you typed.

Now the most important sentence in this tutorial: write that passphrase down somewhere safe, outside the computer you're backing up. A password manager works, so does paper in a drawer. Duplicati can't recover your data without it. There's no reset link and no support hotline that can help. Click Continue.

Step 3: Choose where the backup goes

The Backup destination page lists the storage types Duplicati supports, with a search box on top. File system covers external drives and network shares. S3 Compatible covers many cloud storage providers, and SSH works with your own server or a NAS that speaks it. Scroll or search for your provider.

  1. Click Choose next to your storage type.
  2. Enter the folder or bucket and the login details your provider gave you.
  3. Click Test now. Duplicati tries to connect and tells you if something's wrong.
  4. Click Continue.

One rule saves a lot of trouble: give every backup job its own folder at the destination. Two jobs writing into the same folder break each other.

Step 4: Pick your source folders

Tick the folders you want to protect. Selecting a folder includes everything inside it. Untick subfolders you don't need, such as a giant downloads folder full of installers you can get again.

Be picky here. Documents, pictures, the desktop and any project folders are the classics. Program files and Windows itself don't belong in this kind of backup, because you'd reinstall those anyway. Click Continue.

Step 5: Let it run on a schedule

On Schedule, keep Automatically run backups switched on. Set the Next time for the first run, then choose how often under Run again every, for example 1 day. Under Allowed days you can switch individual weekdays off.

Pick an hour when the PC is usually on. If the computer was off at the planned time, Duplicati runs the job as soon as possible after it's back, so a missed evening isn't lost. Click Continue.

Step 6: Volume size and retention

The last page, Options, has two settings that matter.

Remote volume size decides how big each uploaded chunk gets. The default 50 MB is meant as a balance for cloud storage on an ordinary internet line. On a fast local network, larger volumes make sense.

Duplicati Options page with the Backup retention drop-down highlighted Backup retention decides how many old versions Duplicati keeps.

Backup retention starts at Keep all backups. That means nothing is ever deleted and your storage grows with every change. For most home users Smart backup retention is the better pick. It keeps one backup per day for the recent past and gradually fewer versions as they get older. You still get to undo an accidental change from months ago, but your cloud bill stays sane.

Click Submit. The job now appears on the home screen.

Step 7: Run the first backup now

Don't wait for the schedule. Click Start on your new backup and watch the progress bar at the top. The first run is the slowest by far, since Duplicati has to read and upload every file. Later runs only handle new and changed data and often finish in minutes.

If the first upload of a large photo collection takes a whole night on a slow upload connection, that's normal. Leave the PC on and let it finish.

Step 8: Prove it with a test restore

A backup you've never restored from is a hope, not a backup. Do this once right after the first run:

  1. Click Restore in the sidebar, select your backup and click Restore.
  2. The newest version is preselected in the version list. Tick a test file or folder and click Continue.
  3. Under Where do you want to restore files to? choose Pick location and select an empty test folder. That way nothing gets overwritten.
  4. Click Submit and wait for the restore summary.

Duplicati Restore options with Pick location selected for a safe test restore Restoring to a separate folder lets you check files without touching the originals.

Open the restored file. If it looks right, you've got a working backup. For real emergencies you can pick Original location with Overwrite, or choose Save different versions with timestamp in file name to keep both copies side by side.

The emergency plan for a dead PC

If the whole computer is gone, you can still get your files back from a fresh installation. Duplicati can restore directly from the backup files, as long as you know the destination details and the passphrase. That's why the passphrase note from Step 2 matters so much.

To make a rebuild even easier, export the job: open the backup on the home screen, choose Export, then save it To File. With Export passwords ticked, the file contains your credentials and passphrase, so store it as carefully as the passphrase itself or leave the option unticked.

Our verdict

Duplicati suits anyone who wants versioned, encrypted backups to cloud storage without a subscription to a backup service. If you only want a plain 1:1 copy on an external drive, FreeFileSync is simpler. Today, set up one job for your documents folder, run it with Start, and do the test restore before you close the browser tab.

Related on UpdateStar

about author