How to back up a QNAP NAS to dosya with Hybrid Backup Sync 3
Hybrid Backup Sync 3 (HBS 3) is QNAP's backup app. Add dosya as an S3 Compatible storage space and HBS 3 uploads deduplicated, versioned and, if you choose, encrypted backups of your shared folders on a schedule.
- App
- Hybrid Backup Sync 3
- Storage space
- S3 Compatible
- Setup time
- About 15 minutes
- Restores
- Free on paid plans
Before you start
- A dosya account. Free includes 5 GB, enough to test the setup; pick a paid plan for the full backup.
- Hybrid Backup Sync 3 installed and up to date from App Center on QTS or QuTS hero.
- The NAS clock synced with an NTP server. S3 sign-in fails if the clock is off by more than a few minutes.
- A place outside the NAS (a password manager) for your keys and encryption password.
Set up the backup
- 1
Create S3 credentials in dosya
In the dosya web app, open Profile > API keys and create a key for the NAS. Limit it to S3 and to the workspace you will back up to, then turn on S3 credentials. Copy the access key ID and secret key now; the secret is shown once. Your workspace ID, which is the bucket name, is on Integrations > S3.
A key just for this NAS means you can revoke it if the NAS is lost, without breaking anything else.
- 2
Add dosya as a storage space
Open HBS 3, go to Storage Spaces, click Create and choose Amazon S3 & S3 Compatible. Fill in the form like this, then click Create.
- Name
- dosya
- Service provider
- S3 Compatible
- Server address
- s3.dosya.dev
- Signature version
- v4
- Region
- us-east-1
- Access key
- Access key ID from step 1 Starts with DOSYA
- Secret key
- Secret key from step 1
- Use SSL connection
- On
- Validate SSL certificate
- On
- Use a proxy server
- Off Untick it unless your network requires a proxy.
- 3
Create the backup job
Go to Backup & Restore, click Create and choose New backup job. Select the shared folders to protect, then the dosya storage space. Pick your workspace ID as the bucket, select or create a folder inside it (for example HBS3), and name the job.
Choose the existing bucket. dosya buckets are workspaces, so creating a new bucket from HBS 3 is refused.
- 4
Set the schedule and versions
Add a schedule in Scheduler (nightly is typical). Under Version Management, tick Enable Version Management and choose Smart Versioning, then set how many hourly, daily, weekly and monthly versions to keep.
- 5
Turn on QuDedup, compression and encryption
In Methods, tick Use QuDedup and Use data compression. In Policies, tick Use client-side encryption and set a password. Optionally add a quick Data Integrity Check on a schedule.
Keep QuDedup on. QNAP can relink a cloud backup to a new NAS only if the original job used it.
- 6
Run it and test a restore
Click Back up now and let the first run finish. Then restore one folder to a new location (next section) and open a few files, so you know the backup works before you need it.
Restore files
- 1
Restore from the backup job
In HBS 3, open Backup & Restore, select the job and choose Restore. Pick a version, choose Selected location for a safe first restore (or Original location), and pick what happens to existing files: Rename, Replace or Skip.
Restore to a new NAS
- 1
Add the dosya storage space again
On the new NAS, install HBS 3 and create the same S3 Compatible storage space as in step 2. A new dosya key works; the backup does not depend on which key wrote it.
- 2
Create a restore job from the destination
Click Create > Restore job, pick the dosya storage space, browse to the backup folder and select what to restore. Enter the encryption password under Policies.
- 3
Relink to keep backing up
To continue the same backup from the new NAS, choose Create > Relink backup job and select the backup in dosya. HBS 3 pairs it with the source folders and carries on adding versions. This needs QuDedup on the original job.
Questions
Can a QNAP NAS back up to S3-compatible storage?
Yes. In Hybrid Backup Sync 3, create a storage space of type Amazon S3 & S3 Compatible and set the service provider to S3 Compatible. That is the type dosya uses.
What is QuDedup, and should I turn it on?
QuDedup removes duplicate data on the NAS before it is uploaded, so backups are smaller and faster. Turn it on: QNAP only lets you relink a cloud backup to a new job, for example after replacing the NAS, if the original job used QuDedup.
Can I restore an HBS 3 backup without a QNAP NAS?
Yes, for QuDedup backups. Download the backup folder from dosya (for example with rclone) and open the .qdff files with QNAP's free QuDedup Extract Tool for Windows, macOS or Linux. You need the encryption password if the job was encrypted.
Does HBS 3 support SFTP or WebDAV?
HBS 3 does not offer SFTP as a destination; QNAP's remote-server option covers rsync, FTP and SMB. It does support WebDAV: use your workspace's WebDAV address, your account email and an API key. For large backups we recommend S3.
Smart Versioning or Simple Versioning?
Simple Versioning keeps a set number of versions or versions up to a certain age. Smart Versioning keeps hourly, daily, weekly and monthly versions for the periods you choose, which keeps both recent and older restore points without letting the backup grow forever.
Can I change the encryption password later?
No. Client-side encryption cannot be switched off and its password cannot be changed after the job is created. Store the password outside the NAS; without it, nobody can restore the backup, including us.
Why does the dosya storage space fail to connect?
Most often the NAS clock is off (Control Panel > System > Time, sync with an NTP server), a proxy is switched on that you do not need, or the signature version is not v4. Also check the key is allowed to use S3 and the workspace you picked.
How long will the first backup take?
Mostly as long as your upload speed allows. At 50 Mbps upload, 1 TB takes about two days; at 500 Mbps, about five hours. QuDedup and compression shrink that, and later runs send only changes. Turn on Use rate limits in the job's Policies if the backup slows your network during the day.
How much dosya storage will versions use?
About the size of your data after deduplication and compression, plus what changed between the versions you keep. When HBS 3 removes old versions, that data stays in dosya's Trash for 30 days and counts toward your storage until it is emptied.