A backup is only worth something if you can get the data back, and most people find out whether they can on the worst day. I run Duplicati on my Unraid server, and this is how I would set it up for the appdata folder, and the part I would not skip: rehearsing the restore.
- Time
- 8 min
- Steps
- 11
- Updated
- 25 Nov 2026
You will learn
- What you are protecting
- What I checked, and what I did not
- Run the container
- Keep the passphrase outside the server
- Create the job
Step 1 of 11: What you are protecting
Your media is big and replaceable, and Unraid’s parity does not protect against deleting a file or a bad update. Your appdata is small and not replaceable: the databases and settings of every container, including the Sonarr database, the Jellyfin library and your Nextcloud config. That folder is what I back up first, and it is cheap to ship off the server.
The usual rule is three copies on two kinds of storage with one off site. Duplicati handles the off-site copy: it sends encrypted, deduplicated backups to a destination you choose, such as a second disk, an SFTP server or a cloud bucket.
The screenshots in this guide come from my own server, where the web interface is set to English. My appdata job and a second job for Lightroom files both go to Google Drive.

Step 2 of 11: What I checked, and what I did not
I checked the container settings against the Unraid Community Apps template for the LinuxServer.io image and Unraid forum threads. I could not find an official Duplicati page for Unraid, so treat the points below as community knowledge and verify them against duplicati.com before relying on a restore.
Step 3 of 11: Run the container
The LinuxServer.io image maps /config (Duplicati’s own settings and job database), /backups (a local destination) and /source (what you back up). The web UI listens on port 8200. On Unraid the user and group are 99 and 100.
docker run -d --name=duplicati \
-p 8200:8200 \
-e PUID=99 -e PGID=100 -e TZ=Europe/Amsterdam \
-e SETTINGS_ENCRYPTION_KEY=<long random string> \
-v /mnt/user/appdata/duplicati:/config \
-v /mnt/user/backups:/backups \
-v /mnt/user/appdata:/source/appdata:ro \
--restart unless-stopped \
lscr.io/linuxserver/duplicati
Mount the source read-only: Duplicati only needs to read it. Create the settings key with openssl rand -base64 32. It encrypts the settings database, and the template asks for at least eight characters.

/backups.Step 4 of 11: Keep the passphrase outside the server
Two secrets matter. The backup passphrase encrypts the backup data with AES-256, and the settings key protects Duplicati’s own database. If the server dies and you do not have them, the backups are noise. Store both in a password manager that does not live on the same machine. This is general advice, not something from the Duplicati docs, but I would not skip it.
Step 5 of 11: Create the job
In the web UI choose Add backup, pick a name, turn on encryption with a long passphrase and select a destination. For an off-site copy, an SFTP target or a bucket at a European provider is easy to explain under GDPR, because the data leaves your house already encrypted and the provider only sees ciphertext. Select /source/appdata as the source. Exclude caches and thumbnails inside the apps’ folders if they are big and rebuildable, for example metadata caches, but check each app first.
Set a schedule, daily at night is enough for appdata, and a retention rule such as keeping a number of recent versions. Smart retention keeps fewer, older versions over time and saves space.
Here is how my own job is set up, screen by screen. The first is the source. Mine points at /source/, which holds one .tar.gz file per container. Those archives are made before Duplicati runs, so Duplicati never reads a live database.

/source/ folder with one archive per container.The destination is Google Drive, in a folder of its own. The authorization code is the thing Duplicati uses to reach your account, so treat it like a password. It is blurred here. Press Test now before you save a job: a wrong folder or an expired code shows up at once instead of at the next nightly run.

The schedule is simple. My appdata job runs every day at 05:05, when nobody is using the server. If a run is missed, Duplicati starts it as soon as it can.

Under Options I keep a specific number of backups, three versions, with zip compression and volumes of 1000 MB. Three versions means a mistake that I only notice after four days is already gone, so choose a number that matches how often you actually look.

Step 6 of 11: What the sizes taught me
My appdata job reports a source of 33.97 GB and a destination of 114.99 GB, with three versions. That is more than three times the source. I expected block deduplication to keep it far smaller, and the likely reason it does not is the archives: a compressed .tar.gz that is rebuilt every night looks mostly new to Duplicati, even when little inside it changed. If space matters to you, back up the folders uncompressed, or keep fewer versions. Check this number once after your first week, because it decides what your cloud plan costs.
Step 7 of 11: The consistency question
A database being written while the backup reads it can produce a copy that does not restore cleanly. Stopping containers before the backup is a common approach on Unraid forums, but I found no definitive recommendation. My view: for busy databases, stop the container or use the app’s own export, and back up that export. For simple config folders a live copy is usually fine. Whichever you choose, the rehearsal below tells you if it works.
Step 8 of 11: Rehearse the restore
This is the step that matters. One Unraid forum user restored their config and then their data and found that Duplicati had to rebuild its local database, since the database was gone with the container. The advice they gave was to delete the container and its config and try a restore as if you had a total failure. I agree.
- Start a second Duplicati container with an empty
/config. - Choose Restore, then Direct restore from backup files, and enter the destination and the passphrase.
- Restore one app’s folder to a scratch location, not over the live one.
- Open the restored files, or start a throwaway container on them, and check that the app sees its data.
The Restore screen lists the jobs Duplicati still knows about, and below them the two options for the day the server is gone: Direct restore from backup files, and Restore from configuration.

If any step fails, you learned it on a quiet afternoon. Write the exact steps down and keep them with the passphrase.
Step 9 of 11: Choosing what goes in the job
I would split the work in two jobs. The first covers /source/appdata and runs every night; it is small, so the nightly cost is low. The second covers the things that are irreplaceable and not in appdata, such as documents and photos you took yourself. Media you can download again does not belong in an off-site job. Splitting them lets you give each its own retention and its own passphrase, and it keeps a failed big job from hiding a failed small one.
Check the size of the first full run before you leave it alone. The first backup uploads everything; later runs only send changed blocks. If the first run is too slow for your upload speed, start with the folders you would miss most and add the rest later.
Step 10 of 11: Know when it fails
A backup that fails quietly is the worst kind. Duplicati can send a report after each run, and I would wire it to a push notification such as ntfy, so a failure reaches your phone the same day. Also keep an eye on the job in a dashboard: if the last successful run is more than two days old, something is wrong.
Step 11 of 11: How it breaks
The usual failures are small. The destination fills up, the passphrase is lost, a source path changes after you move a share, or the job runs but the retention rule deletes more than you expected. Look at the job’s last run and the destination size once a month, and run a small restore test after any change to the job.
Duplicati is not the only choice. Restic and Kopia are command-line friendly alternatives, and Unraid has its own appdata backup plugins. I picked Duplicati because the web UI makes the schedule and the restore easy to see. Whatever you pick, the rehearsal is the same.
