How to use FreeNAS with Backblaze B2 Cloud Storage
Welcome to the Backblaze guide for FreeNAS. 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.
Add Backblaze B2 Cloud Storage account. Select System, then choose Cloud Credentials
Then 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.
To add a Cloud Sync Task, select Tasks, then click on Cloud Sync Tasks.
Click Add to add a new Sync Task
- Add a Description
- Pick “Push” for Direction to copy files to your B2 bucket.
- 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.
- 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.
Set the Path to the local Path of the folder you want to to sync to B2
Set the Transfer Mode to Sync
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.
Pick the Task Scheduling Options which match your needs, the default being Daily at midnight.
Click Save, and your sync task is now complete.