Integrate Synology Cloud Sync with B2 Cloud Storage
    • Dark
      Light

    Integrate Synology Cloud Sync with B2 Cloud Storage

    • Dark
      Light

    Article Summary

    Synology Cloud Sync is a free tool that is built into Synology DiskStation Manager. You can configure your Synology network-attached storage (NAS) to sync files directly to your Backblaze B2 Cloud Storage bucket.

    Enable Backblaze B2

    Before you begin: You must have a Backblaze B2 Cloud Storage account. You can sign up here. 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 your Backblaze account.
    2. In the left navigation menu under Account, click 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 your Backblaze account.
    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. Click Create a Bucket, and copy the value that is in the Endpoint field; you may need this value for other processes.
    8. 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 your Backblaze account.
    2. In the left navigation menu under Account, 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. In the Allow Access to Bucket(s) dropdown menu, select All or a specific bucket.
    5. Select your access type (for example, Read and Write).
    6. Select the optional Allow List All Bucket Names checkbox (required for the Backblaze B2 S3-compatible API List Buckets operation).
    7. 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.

    Install Synology Cloud Sync

    Before you begin: Update Synology DiskStation Manager to version 7.0 or higher.

    1. Download Synology Cloud Sync from the Synology DiskStation Manager Package Center, and install the application.
    2. Open Synology Cloud Sync.
    3. Search for and select Backblaze B2 as the cloud provider.
    4. Enter your Application Key ID and Application Key, and select the Backblaze B2 bucket that you created for this project.
    5. Select task settings.
      1. Enter a name for your connection.
      2. Select the local path.
      3. Select the remote path.
      4. Select the sync direction.
      5. Select a part size. (Backblaze recommends a value of 128 MB.)
    6. Click Next, and confirm the task settings.

    Your sync begins automatically.

    Thread Your Upload

    The Synology Cloud Sync Settings menu lets you adjust concurrent uploads and downloads. To improve performance, adjust the number of concurrent uploads. If you have fast Internet and a strong processor, increasing the number of threads can greatly reduce the total upload time.

    Throttle Your Upload or Download

    If Synology Cloud Sync is taking up too much bandwidth, you can set traffic control settings to set limits on maximum upload and download rates.

    Edit Class C Transaction Caps

    The Class C Transaction Caps are often met because the Synology sync checks for files that run often and call the Native API list_file_names operation. You can edit your Synology settings to sync less frequently, thus reducing the number of API calls that are made.

    1. Open Synology Cloud Sync.
    2. Click Settings for the connection to B2 Cloud Storage.
    3. In the Polling period field, input (in seconds) how frequently you want this check to occur, for example, every 1 or 12 hours.
    4. To edit caps in Backblaze B2, sign in to your Backblaze account.
    5. In the left navigation menu under B2 Cloud Storage, click Caps & Alerts.
    6. Click Edit Caps.
    7. Select the No Cap checkbox for Class C Transactions.
    8. Click Update Caps.

    For more information about data caps and how they work, see Data Caps and Alerts.


    Was this article helpful?