Updated November 2026
Back up your QNAP to private, encrypted offsite storage with Restic. Files are encrypted before they leave the NAS.
RAID handles drive failures, not fire, theft, ransomware or a silent bit-flip copied to every mirror. If your data lives only on the QNAP, you have a single copy on redundant drives, not a backup.
The 3-2-1 rule asks for one offsite copy, and that is where most QNAP owners fall short. The target should be encrypted client-side, run on a stack you do not operate, and restorable without bandwidth penalties.
Run Restic in Container Station on a schedule, or run it directly from the NAS shell over SSH. Both give you deduplication, client-side encryption and snapshot history.
QNAP's Container Station runs Docker, so you can mount your shares read-only into a Restic container and back them up to ServerCrate on a schedule.
# On the QNAP, install Container Station from App Center if not installed
# SSH into the NAS as admin
ssh admin@your-qnap.local
# Create a persistent dir for Restic cache and env
mkdir -p /share/Container/restic/cache /share/Container/restic/etc
cat > /share/Container/restic/etc/env <<EOF
RESTIC_REPOSITORY=rest:https://vaultuser:YOUR_TOKEN@a1b2c3d4.vault.servercrate.net/
RESTIC_PASSWORD=your-repository-password
EOF
chmod 600 /share/Container/restic/etc/env
Then create a compose file and run nightly:
# /share/Container/restic/docker-compose.yml
services:
restic:
image: restic/restic:latest
env_file: /share/Container/restic/etc/env
volumes:
- /share/Public:/data/Public:ro
- /share/homes:/data/homes:ro
- /share/Container/restic/cache:/root/.cache/restic
command: backup /data --tag qnap-$(hostname)
Schedule docker compose run --rm restic nightly with QNAP's Task Scheduler. Run retention with your maintenance key from one trusted machine, never from the NAS; see retention on ServerCrate vaults.
With SSH enabled (Control Panel -> Telnet/SSH), you can run restic directly: the most control and the fewest moving parts. Install Entware for a package manager, then opkg install restic.
Back up data you cannot re-create. Skip scratch directories, downloads, transcode caches and media ripped from discs you own. Back up:
QNAP has been targeted repeatedly: DeadBolt, Qlocker, eCh0raix. A NAS exposed to the internet, even by accident via UPnP, is a target. What saves you is offsite backup with snapshot history.
When ransomware encrypts your NAS and a sync job copies the encrypted files, Restic still has yesterday's clean snapshot. rsync's mirror model propagates the damage; that is the biggest reason to choose Restic.
Restores are either file-level or full-NAS. For individual files, restic mount the repository on any Linux machine or the QNAP itself, browse the snapshot and copy what you need:
mkdir -p /mnt/restore
docker compose run --rm restic mount /mnt/restore
# in another terminal
cp -a /mnt/restore/snapshots/latest/homes/alice/Documents /share/homes/alice/
For a full-NAS restore after hardware failure, set up a clean QNAP, reinstall Container Station, restore the Restic env and run restic restore latest --target /share. Plan for several hours to a day.
The usual alternatives each miss something: restore costs, encryption, or isolation from an attacker.
Start with a free 10 GB vault and the Container Station steps above. A QNAP with 200 to 500 GB of user data takes roughly 10 to 25 hours to upload the first time; nightly incrementals then finish in under 15 minutes.
gocryptfs / cryfs overlay for sensitive shares, then rsync the encrypted files.Free 10 GB vault. Works with Restic in Container Station. First backup in about 5 minutes.
Cancel anytime. 10 GB free tier never expires. No egress fees.