Integrate QNAP Hybrid Backup Sync 3 with Backblaze B2
    • Dark
      Light

    Integrate QNAP Hybrid Backup Sync 3 with Backblaze B2

    • Dark
      Light

    Article summary

    The QNAP Hybrid Backup Sync 3 application is free on all QNAP network attached storage (NAS) devices. With Backblaze B2 Cloud Storage and QNAP Hybrid Backup Sync 3, you can set up jobs that run backups of your data to secure them offsite.

    This guide explains how to set up QNAP Hybrid Backup Sync 3 on your QNAP device.

    You can also view this video tutorial that walks you through how to set up Backblaze B2 as a secure, affordable, offsite cloud storage destination for your QNAP NAS data using QNAP Hybrid Backup Sync. 

    Enable Backblaze B2

    Before you begin: You must have a Backblaze B2 Cloud Storage account. If you already have a Backblaze account and the left navigation menu contains a B2 Cloud Storage section, your account is already enabled for Backblaze B2.

    1. Sign in to the Backblaze web console.
    2. In the user menu in the upper-right corner of the page, select My Settings.
    3. Under Enabled Products, select the checkbox to enable B2 Cloud Storage.
    4. Review the Terms and Conditions, and click OK to accept them. 

    Create a Bucket

    1. Sign in to the Backblaze web console.
    2. In the left navigation menu under B2 Cloud Storage, click Buckets.
    3. Click Create a Bucket.
    4. Enter a name for your bucket. Bucket names must be at least six characters and globally unique.
      A message is displayed if your bucket name is already in use.
    5. Select a privacy setting: Private or Public. Files that are in a private bucket require authentication to perform an action, for example, downloading. Public buckets do not require authentication so you can easily share files. You can change a bucket's privacy settings at any time.
    6. If applicable, enable a Backblaze B2 server-side encryption key.
    7. Enable Object Lock to restrict a file from being modified or deleted for a specified period of time.
    8. Click Create a Bucket, and copy the value that is in the Endpoint field; you will need this value later.
    9. Click Lifecycle Settings to control how long to keep the files in your new bucket.

    Create an Application Key

    Application keys control access to your Backblaze B2 Cloud Storage account and the buckets that are contained in your account.

    1. Sign in to the Backblaze web console.
    2. In the left navigation menu under B2 Cloud Storage, click Application Keys.
    3. Click Add a New Application Key, and enter an app key name.
      You cannot search an app key by this name; therefore, app key names are not required to be globally unique.
    4. Select All or a specific bucket in the Allow Access to Bucket(s) dropdown menu.
    5. Optionally, select your access type (Read and Write, Read Only, or Write Only).
    6. Optionally, select the Allow List All Bucket Names checkbox (required for the B2 Native API b2_list_buckets and the S3-Compatible API S3 List Buckets operations).
    7. Optionally, enter a file name prefix to restrict application key access only to files with that prefix. Depending on what you selected in step #4, this limits application key access to files with the specified prefix for all buckets or just the selected bucket.
    8. Optionally, enter a positive integer to limit the time, in seconds, before the application key expires. The value must be less than 1000 days (in seconds).
    9. Click Create New Key, and note the resulting keyID and applicationKey values.
    Note
    When you create a new app key, the response contains the actual key string, for example N2Zug0evLcHDlh_L0Z0AJhiGGdY. You can always find the keyID on this page, but for security, the applicationKey appears only once. Make sure you copy and securely save this value elsewhere.

    Set Up a Backblaze B2 Bucket in QNAP Hybrid Backup Sync 3

    1. Download QNAP Hybrid Backup Sync 3 here.
    2. Open QNAP Hybrid Backup Sync 3, click Storage Spaces, and click Create.
    3. Select Backblaze B2 as the cloud storage space.
    4. Enter a name for your storage space, your KeyID, and your Application Key.
    5. Click Create.

    Create a Backup Job

    1. In the Hybrid Backup menu, select(Backup and Restore).
    2. Click Backup now, and click New backup job.
    3. Select the source folders that you want to back up.
    4. Select Backblaze B2 as the destination storage space, select your account, and click Select.
      The account that you configured is highlighted by default.
    5. Select your Backblaze B2 bucket in the drop-down menu, and click Select.
    6. Select a folder in the bucket to store the backup, or clickto create a new folder.
    7. Click OK, enter a name for your backup job, and click Next.
    8. Set your own backup schedule, choose to run the backup once, or click Backup Now to run your job immediately, and click Next.
    9. Select any of the following filters, and click Next.
      • Exclude specific types of files or folders within your selected directories
      • Enable data compression
      • Accept the QuDedup option based on your available system resources
    10. Review the job summary, and click Create.

    Create a Sync Job

    You can select a two-way sync job, a one-way sync job, or an active sync job.

    This task provides steps for a one-way sync from QNAP to a Backblaze B2 bucket.

    This video walks you through how to create a sync job with QNAP and Backblaze B2.

    1. In the Hybrid Backup menu, select(Backup and Restore).
    2. Click Sync Now, and select One-way Sync Job.
    3. Select Backblaze B2 as the destination storage space, select your account, and click Select.
      The account that you configured is highlighted by default.
    4. Select your Backblaze B2 bucket in the drop-down menu, and click Select.
    5. Enter a name for your sync job, select the action (for example, Mirror), and set the local and remote directories that you want to synchronize.
    6. In the Local NAS section, clickto add a personal folder, select a local folder, and click OK.
    7. In the Backblaze B2 section, clickto add a personal folder.
    8. Select the bucket that you want to sync to, enter a folder name, clickto create a folder to sync with your data, and click OK.
    9. Repeat these steps if you want to include multiple folders in one sync job, and click Next.
    10. Set your sync schedule.
      Typically, the synchronization should occur periodically throughout the day to keep data in sync.
      1. Under Schedule, click (+).
      2. Click Periodic, adjust the time (for example, 10 minutes), and click OK.
      3. Click Sync Now to begin the sync immediately, and click Next.
    11. Select rules (such as filtering out specific files, enabling data compression, and encryption), and click Next.
    12. Review the sync job settings, and click Create.

    Additional Information

    The following notes provide additional information to ensure that you have an optimized backup process. Depending on the power of the CPU and the amount of RAM in your machine, you can manipulate these settings to fully take advantage of them and your upload bandwidth.

    Warning
    These settings may cause backups to prematurely fail if the settings are not set correctly. Manipulating them to optimal settings requires trial and error.

    Multipart Size

    When you create the backup job, the default multipart size is set to 100 MB. The multipart size setting dictates the size of the chunks that the backup job splits for uploading. If your Internet connection has a fast upload speed, increasing this size benefits upload speeds of large files like videos and disk images. Increase this option one increment at a time and measure your results.

    Note
    It may be tempting to bump this setting up to large values, but note that the backup job loads this data into system memory (RAM). Keep your memory availability in mind because the backup fails if QNAP Hybrid Backup Sync 3 runs out of memory.

    Data Compression

    In the Rules menu, you can choose whether to use data compression. Enabling data compression allows the upload to transfer faster by minimizing the amount of data that is sent. Under Advanced Settings, click Settings to set rules that determine when to compress data. These options include excluding certain file types, setting a minimum size limit, and setting the compression ratio.

    Encryption

    When you create a job, you can enable client-side encryption for an extra layer of security. In the Rules menu under Policies, select the Use client-side encryption checkbox. This setting lets you enter a password that essentially scrambles your data and prevents third parties from descrambling it.

    Warning
    If you lose your encryption password, there is no way to recover your data because it stays permanently scrambled until you enter the correct password. Backblaze recommends that you store your password in a password vault.

    Concurrent File Processing

    You can increase your transfer speed by increasing the number of files that are processed at the same time. To review this setting, click Edit a Backup Job, select Rules, and select Options. Under Error Handling rules, increase the setting for Concurrent File Processing up to a maximum of 10. This setting increases the number of system resources that are used during the backup. If you decide to modify this number, increase the value in increments of one to two and review the results.


    Was this article helpful?