How to use FreeNAS with Backblaze B2 Cloud Storage

 

Note:  As of version 12, FreeNAS and TrueNAS have now merged, and this guide has been updated to show the current screens in this combined version, as well as new options available.

 

Introduction

FreeNAS is a free and open-source network-attached storage operating system based on FreeBSD and the OpenZFS file system. With Backblaze B2 and FreeNAS, all your data can be safely backed up to the cloud.

 

FreeNAS can be configured with B2 Cloud Storage by following the steps below.

 

Guide

1) Add Backblaze B2 Cloud Storage account.  Select System, then choose Cloud Credentials

 

 

2) Click Add

  • Enter a profile name (Ex. B2)
  • Change cloud provider to be Backblaze B2
  • Fill in the form with your B2 credentials
  • Click Verify Credential
  • Click Save

 

3) Add a Cloud Sync Task, select Tasks,  then click on Cloud Sync Tasks

 

 

4) Click Add to add a new Sync Task.

     Within the Transfer window...

    • Add a Description
    • Pick Push for Direction to copy files to your B2 bucket
    • Set Transfer mode to Sync
    • Browse to the local Path of the folder you want to sync to B2

Screenshot_2021-12-21_at_08.08.02.png

 

   Within Remote window

    • Pick your Cloud Credential from above for Provider  (Backblaze B2)
    • Pick the bucket the sync is pushing to for Backblaze B2 Buckets, and 0ptionally create a folder in the Bucket for this Sync task.

Screenshot_2021-12-21_at_08.10.02.png

 

 

5) Pick the Task Scheduling Options which match your needs, the default being Daily at midnight.

 

 

 

6) Advanced Remote Options

  • Enter an Upload Chunk Size in MB, or accept the default of 96.
    • If you have a fast internet connection and are syncing large files, increasing this size will give you better performance.
  • Enable Fast-list
    • This will reduce the number of transactions, and potentially increase your transfer speed, but will use more RAM.

Screenshot_2021-12-21_at_08.55.13.png

 

 

7) Optionally enable client-side encryption

     If you want to encrypt your data prior to uploading it to Backblaze, you can enable Remote Encryption.

    • Enter an Encryption Password.  This should be a long password, with upper/lowercase letters and include numbers and ideally special characters.
    • Enter an Encryption Salt.  This should be a random string of characters and is added to the password to strengthen
    • Note:  Store both the Encryption Password and the Encryption Salt in a password vault or other secure location. You can not retrieve your data without both the password and the salt.

 

Screenshot_2021-12-21_at_08.21.43.png

 

8) The default number of threads to use for file transfers is 4. The faster your internet connection,  the more increasing this value will help your file transfer speed.  For most people,  setting this to 10-20 threads will be more than enough.

Screenshot_2021-12-21_at_08.53.43.png

 

Click Save, and your sync task is now complete.

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk