Offsite Encrypted Backup
for QNAP NAS

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.

Why QNAP needs offsite backup

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.

Need the offsite target for this setup?
Free 10 GB encrypted vault, ready in under a minute. No card.
Start Free →

Three ways to back up a QNAP offsite

Option 1: Restic in Container Station (recommended)

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.

Option 2: Direct SSH with rclone or restic

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.

What to back up from a QNAP

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:

  • /share/homes - user home directories with documents, photos, and config
  • /share/Public and any other share with unique data
  • Container Station volumes with application data (Home Assistant DB, Nextcloud data, databases)
  • System config exports from Control Panel -> Backup/Restore -> System Settings
  • QNAP Notes Station, Photo Station, and Music Station databases if you use them

Ransomware and QNAP

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.

Restoring a QNAP from ServerCrate

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.

ServerCrate vs other QNAP backup targets

The common alternatives:

  • Backblaze B2 / AWS S3 - cheap ingress, but restores can cost extra. B2 includes free egress up to three times what you store, then $0.01/GB; a 500 GB restore from S3 is about $45. Restore cost matters more than storage cost for backups.
  • Google Drive / OneDrive via HBS 3 - rate-limited, opaque TOS, no client-side encryption by default. Works, but not a serious backup target.
  • A second QNAP at a friend's house - works, requires their uptime and goodwill, and has no snapshot isolation from an attacker who gets into either side.
  • ServerCrate - Restic-native over HTTPS, zero-knowledge, ZFS storage, flat monthly price, no egress fees. Built for this exact use case.

Getting started

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.

FAQ

Yes. Both platforms support Container Station and SSH, which are the two things the Restic approach needs. QuTS hero's ZFS layer is complementary - you get ZFS locally and ZFS on the backup side.
HBS 3 cannot write to a ServerCrate vault: vaults speak Restic's REST protocol over HTTPS, not rsync. HybridMount is for mounting remote storage as a local share, which is not a backup pattern - a mounted share means ransomware on the NAS can reach the backup files. Use the Container Station Restic approach instead.
Not to a ServerCrate vault, which accepts Restic only. For another rsync target, enable volume-level encryption in QNAP first, or use a gocryptfs / cryfs overlay for sensitive shares, then rsync the encrypted files. For ServerCrate, use the Container Station Restic approach above.
For Restic, plan on about 1.3x your unique data - deduplication and compression typically save 15-25%, and snapshot history adds 10-15%. A QNAP with 400 GB of unique user data fits comfortably in a 1 TB Standard vault.
Restic is CPU-intensive during initial backup because of chunking and encryption. On a modern x86 QNAP this is negligible; on an ARM-based QNAP the initial backup will peg cores for a while. Run the first backup overnight. Incremental backups after that are fast - only changed blocks are processed.
Get started today

Back up your QNAP. Tonight.

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.

Next steps
How we protect your data
Zero-knowledge encryption, ZFS isolation, what we log
Who runs ServerCrate
Operating commitments, where data lives, transparency
First backup in 5 min
Sign up, init vault, run your first Restic backup