Sync WebDAV for Linux can be used with Hybrid Backup Sync (HBS 3) on a QNAP NAS.
With this setup, the Sync WebDAV server runs directly on the QNAP NAS. HBS 3 connects to Sync WebDAV locally, while Sync WebDAV handles the connection to your Sync account and preserves end-to-end encryption.
You can use this configuration to:
- Back up your QNAP NAS to Sync for an off-site cloud backup.
- Copy files from your Sync account to your QNAP NAS for a local backup.
Before you begin, you'll need:
- A QNAP NAS with HBS 3 (Hybrid Backup Sync) installed.
- SSH access to the NAS.
- A Sync account with WebDAV Early Access enabled. Join the early access program.
Installing the Sync WebDAV server on your QNAP NAS
-
Enable SSH access
In QTS or QuTS hero, open Control Panel → Network & File Services → Telnet / SSH and enable Allow SSH connection. Click Apply.
QNAP restricts SSH access to administrator accounts. -
SSH to your QNAP NAS
From a computer on the same network, open Terminal and connect to your NAS:
ssh admin_username@nas_ip_address
(You can find your NAS IP address Control Panel → Network & Virtual Switch → Interfaces) -
Install and run Sync WebDAV on the NAS
Follow these step-by-step instructions
The goal is to install Sync WebDAV directly on the NAS and run it in --headless mode. While testing, keep your Terminal window open. Once everything is working, run Sync WebDAV in --daemon mode so it continues running in the background and you can close Terminal and disable SSH.
Connecting HBS 3 to Sync
First, create a WebDAV storage space in HBS 3.
- Open HBS 3.
- Go to Storage Spaces.
- Click Create.
- Select WebDAV.
- Enter:
Name: Sync
Server URL: http://127.0.0.1:4918/
User ID: Your Sync email address
Password: Your Sync password
Leave proxy and SSL certificate options disabled. - Click Create.
HBS 3 should now be able to access your Sync files through the locally running Sync WebDAV server.
Backing up your QNAP NAS to Sync
To create a traditional QNAP backup:
- Open HBS 3 → Backup & Restore.
- Click Back Up Now → New backup job.
- Select the folders on your QNAP NAS that you want to back up.
- Select your Sync WebDAV storage space as the destination.
- Choose the destination folder in Sync.
- Configure your backup schedule and other backup rules.
- Review the job and click Create.
You can then run the backup immediately or allow HBS 3 to run it automatically according to your schedule.
Backup vs. one-way sync
HBS 3 backup jobs use QNAP's backup system and are intended to be restored through HBS. If you would rather have the files copied to Sync as regular files and folders, create a One-way Sync Job instead:
- Navigate to HBS 3 → Sync → Sync Now → One-way Sync Job
- Select your QNAP NAS as the source and the Sync WebDAV storage space as the destination.
Backing up your Sync files to the QNAP NAS
HBS 3 can also pull files from Sync onto your NAS using an Active Sync job.
- Make sure Sync WebDAV is running.
- Open HBS 3 → Sync.
- Click Sync Now → Active Sync Job.
- Select your Sync WebDAV storage space.
- Select the Sync folder you want to copy.
- Select a local QNAP folder as the destination.
- Choose the appropriate sync policy and schedule.
- Review the job and click Create.
An Active Sync job copies data from the remote storage space to the local NAS.
Restoring a QNAP backup
For backups created using an HBS 3 backup job:
- Make sure Sync WebDAV is running.
- Open HBS 3 → Backup & Restore.
- Locate the backup job.
- Create or run a restore job.
- Select the files and folders you want to restore.
- Choose the destination on your QNAP NAS and start the restore.
HBS 3 backup data is designed to be restored through HBS 3. QNAP also provides the QuDedup Extract Tool for extracting HBS backup data on supported desktop operating systems.
After restarting your QNAP NAS
If scheduled backups stop working after rebooting the NAS, make sure Sync WebDAV is running.
Troubleshooting
HBS 3 cannot connect to Sync
Confirm that Sync WebDAV is running: sync-webdav --headless --daemon and confirm that your HBS 3 WebDAV storage space uses: http://127.0.0.1:4918/
sync-webdav: command not found
Reconnect your SSH session after installing Sync WebDAV.
If necessary, add the installation directory to your PATH: export PATH="$HOME/.sync-webdav/bin:$PATH
Then restart Sync WebDAV:
Backups stopped after reboot
Confirm that the Sync WebDAV server restarted successfully. HBS 3 cannot reach your Sync account unless the local WebDAV server is running.
Security notes
- Do not expose port 4918 to the Internet.
- Keep Sync WebDAV listening on `localhost` / `127.0.0.1`.
- Restrict QNAP SSH access to trusted devices and networks.
- Disable SSH when you no longer need remote shell access.
- Enable 2FA on your Sync account.
- Test your restore process before relying on the backup for critical data.