QNAP Hybrid Backup Sync 3
With Hybrid Backup Sync 3 (HBS 3) you back up a QNAP NAS to S3-compatible storage. This guide shows the values for chili. The full guide is in the QNAP documentation.
You have two options:
Option | Protection | Bucket in the chili Console |
|---|---|---|
Standard | HBS 3 manages versions and deletes old backups itself | template |
Immutable | backed-up data cannot be deleted or overwritten during the lock period, not even with stolen credentials | template |
Prerequisites
- QNAP NAS with a current version of HBS 3; for the immutable option HBS 3 version 18.0.1012 or later
- chili access keys (access key and secret key) from the chili Console
- a bucket created in the chili Console (see step 1)
- for the immutable option: HBS 3 locks backups in compliance mode. chili support enables this mode once for your account.
1. Create the bucket in the chili Console
Create the bucket with the wizard in the chili Console:
Setting | Standard | Immutable |
|---|---|---|
Template |
|
|
Object Lock | off | on |
Retention period | not applicable |
|
With the immutable option, HBS 3 sets the lock period per object itself. Do not choose a fixed period on the bucket. Object Lock can only be enabled when the bucket is created, not later.
2. Add a storage space for chili
Open HBS 3, go to Storage Spaces and click Create. Select Amazon S3 & S3-compatible and enter:
Field | Value |
|---|---|
Name | any name, for example |
Service provider | S3-compatible |
Server address |
|
Region |
|
Signature version |
|
Access key | your chili access key |
Secret key | your chili secret key |
Use SSL connection | enabled (port 443) |
With Use a specific bucket you limit the storage space to your chili bucket. Finish with Create.
3. Create a backup job
- Go to
Backup & Restore, clickCreateand thenNew Backup Job. - Select the source folders and click
Next. - Select the chili storage space as the destination and, in it, the bucket you created in step 1. Do not create a new bucket with
+ New Bucket; on chili, buckets are created in the Console. - Set the schedule and version management in the advanced settings.
- Check the summary and click
Create.
HBS 3 client-side encryption is recommended if only the NAS should be able to read the data. Keep the password somewhere else.
4. Immutable backups with Object Lock
For the immutable option, HBS 3 detects that the selected bucket supports Object Lock and locks every uploaded backup. You set the lock period in the backup job:
Setting in HBS 3 | QNAP default | Meaning |
|---|---|---|
Immutability period | 30 days | how long a backup can be neither deleted nor overwritten |
Extended retention period | 10 days | extra days HBS 3 adds to the lock period |
During the lock period nobody can delete the locked data, not even chili. The storage used is billed for the full period. Choose the duration to match your retention policy and plan capacity accordingly. More under Object Lock.
Verify
Run the job once manually, then restore a few files to a test folder with Restore. The restore costs nothing on chili, because there are no egress fees.
Common pitfalls
- Authentication errors with v4: some older HBS 3 versions had problems with signature version 4. Update HBS 3 instead of switching to
v2. - Object Lock settings missing in the job: the HBS 3 version is older than 18.0.1012, or the bucket was created without Object Lock.
- Upload to the locked bucket fails: compliance mode has not been enabled for your account yet.
- Standard option: old versions cannot be deleted: the bucket was created with Object Lock. For the standard option, create a bucket without Object Lock.
- Server address including the bucket name: enter only
s3-ch-east.chilistorage.com; you select the bucket separately.