Back up your QNAP to private, encrypted offsite storage. Works with Restic in Container Station or from the NAS shell over SSH. Your files are encrypted before they leave the NAS. We have no way to read them.
A NAS is one machine. RAID handles drive failures; it does not handle fires, theft, ransomware, or a silent bit-flip that propagates to all mirrors before you notice. If everything important lives on your QNAP and only your QNAP, you do not have a backup - you have a single copy on redundant drives.
The 3-2-1 rule applies: three copies, two media types, one offsite. Offsite is where most homelab and small-business QNAP owners fall short. Cloud buckets with egress fees make restores expensive. Consumer cloud sync services are not backups - they mirror deletion and corruption.
A proper offsite backup target for a QNAP is: encrypted client-side, stored on an independent stack you do not operate, restorable without bandwidth penalties, and cheap enough to keep running without babying the bill.
Restic gives you deduplication, encryption, and snapshot history. QNAP's Container Station runs Docker, so you can mount your shares 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 with QNAP's built-in Task Scheduler to run docker compose run --rm restic nightly. Retention runs with your maintenance key from one trusted machine, never from the hosts you back up. See retention on ServerCrate vaults.
If you have SSH access to your QNAP (enabled from Control Panel -> Telnet/SSH), you can run restic or rclone directly. This gives you the most control and the fewest moving parts. Install Entware to get a proper package manager, then opkg install restic.
Not everything on a NAS is worth backing up. Scratch directories, downloads, transcode caches, and media libraries that come from physical originals (DVDs you own) waste storage and bandwidth. Back up:
QNAP has been targeted repeatedly - DeadBolt, Qlocker, eCh0raix. If your NAS is ever exposed to the internet (even by accident via UPnP), you are a target. A proper offsite backup with snapshot history is what saves you. Restic keeps all snapshots by default; when ransomware encrypts your NAS and HBS 3 dutifully syncs the encrypted files to your backup, Restic still has yesterday's clean snapshot sitting in the repository.
This is the single biggest reason to use Restic over rsync for QNAP backups. rsync's "mirror" model propagates corruption. Restic's snapshot model preserves history.
Two scenarios: file-level restore and bare-metal restore.
For individual files, restic mount your repository on any Linux machine (or the QNAP itself via Container Station), browse the snapshot tree, 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 full-NAS restore after a hardware failure, set up a clean QNAP, reinstall Container Station, restore the Restic env, and run restic restore latest --target /share. Depending on data size and upload speed, plan for several hours to a day.
The common alternatives:
Sign up for a free 10 GB vault, no card required. Follow the Restic in Container Station steps above. A typical homelab QNAP with 200-500 GB of user data takes roughly 10 to 25 hours for the initial upload, so start it on a Friday evening. Nightly incrementals finish in under 15 minutes after that.
gocryptfs / cryfs overlay for sensitive shares, then rsync the encrypted files. For ServerCrate, use the Container Station Restic approach above.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.