Freenas Backup To Backblaze

Posted : admin On 1/29/2022

Amazon Affiliate Store ️ we used on Kit (affiliate Links) ️ ITProTV. Even if we overlook the convoluted way to get it working with freenas, it still needs 1gb of ram per terabyte to back up. Compound this with the heavy ram requirements of freenas (because of ZFS), and you need a ton of ram. As an example, minimum requirements for freenas is 8gb of ram. Backing up 10tb? I plan on using FreeNAS, which has B2 compatibility, but I'm guessing I'd have to either create a jail or VM to back up all the data using a personal account, possibly through a Windows 10 installation and iSCSI? Are there other services that are as easy to use and dependable as Backblaze that don't mind home servers using unlimited backup? I plan on using FreeNAS, which has B2 compatibility, but I'm guessing I'd have to either create a jail or VM to back up all the data using a personal account, possibly through a Windows 10 installation and iSCSI? Are there other services that are as easy to use and dependable as Backblaze that don't mind home servers using unlimited backup? With WIndows, I back up 110TB for $10 a month on regular BackBlaze. I dont believe you can use the VM trick to get around this, where you have Windows host OS and FreeNAS VM with shared drives. BackBlaze wont allow you to backup network share drives from another 'computer' from what I remember.

Context

  • I have a FreeNAS setup
  • I want a cheap offsite backup solution
  • Backblaze only offer S3 storage solution
  • I have virtual machines on zvol to backup (not just files)
  • ZFS send/receive is very convenient if you have another zfs system in other
    location

I choose zfsbackup-go, this tool use zfs send/receive to generate archives on S3 storage space. This software is not ready for very critical use, still in « beta » missing some features like deletation on remote location from the command line.

Advantages

Iphone Backup To Freenas

  • Can backup zvol as well as dataset
  • Differential backups based on snapshots
  • Encrypted backups
  • Compressed backups
  • Compatible with all S3 solutions

Drawbacks

  • You can’t use backups without re-import in a ZFS pool (so real backups
    not a archives solution)
  • Still in beta

How to

  1. (Optional) Build zfsbackup-go for freebsd with crosscompile from a linux
    1. You need GO
    2. git clone [email protected]:someone1/zfsbackup-go.git
    3. GOOS=freebsd GOARCH=amd64 go build -o zfsbackup main.go
  2. Generate a gpg key gpg --full-generate-key
  3. Export the private/public gpg keys

    1. gpg --list-keys
    2. gpg --export-secret-keys -a keyid
    3. gpg --export -a keyid
  4. Create the S3 credentials you need
    I use BackBlaze because it’s the cheapper one, but you can use every S3 storage service or implementation you want.

  5. Configure periodic snapshot in FreeNas

  6. Configure zfsbackup cron task

    • You need to ensure the schedule is after the snapshot
    • I have develop a very little script to have a more simpler crontask because zfsbackup only support one Dataset at a time
    • Command DATASETS='Tank/Dataset1 Tank/Group/Data1' /root/zfsbackup.sh

Conclusion

  • This solution offer very good performance like 15MB/s during backup operation with only 10% cpu usage on Xeon D1521. My Orange ISP uplink is the limitation here.
  • With incremental snapshot, BackBlaze is a very effective solution at low cost like less than 60€ a year for a 100GB on disk backuped VM.
  • DO BACKUPS
  • DO BACKUPS
  • DO BACKUPS

Today, we are going to talk about the topic of cloud storage backups. There are several things that we have to look into when selecting a NAS, and backup/replication is always one of the most important. Having RAID protects against data loss in the event of a drive failure, but there are other data loss risks that need to be taken into account. Regularly backing up your data always keeps your data safe in case of fire, theft, or any possible hazard that might damage your data storage device. Thus, backup features are always the first thing we need to dig deep into. In case you are not aware, the officialHybrid Backup Sync just released on QNAP NAS and is available in the App Center. You can click the link above to check it out.

Freenas Backup To BackblazeBackblaze

One of the most important features of Hybrid Backup Sync is the ability to backup or sync to your cloud storage. There are several cloud options available, such as Azure, Amazon S3, and so on. QNAP just recently added Backblaze B2into the supported cloud storage. As for now, QNAP only supports sync functionality on Backblaze B2, but will add more in the future. Thus, today this article is going to discuss about some benefit of the cloud storage Backblaze B2 and backing up data to Backblaze B2. So what is good about Backblaze B2?

1. Affordable

Backblaze B2 offers very competitive pricing in comparison to Amazon S3, Microsoft Azure, and the rest. Backblaze B2 only costs $0.005/GB per month for storage and only $0.02/GB to download data. There’s no charge for uploading data. Even though Backblaze doesn’t offer free one year storage like Amazon does, it offers the first 10GB of storage free of charge, and it even offers 1GB of downloads free EVERY day. This is a very affordable price, not only for casual users of cloud storage, but also intense usage of cloud storage

2. Available

Like Amazon S3, Microsoft Azure and the rest – Data stored in B2 is available for immediate download – there are no nearline or offline delays.

Freenas Backup To Backblaze

3. Easy and Intuitive

Not only is Backblaze’s web GUI user-friendly, but the API for developers is both easy to use and intuitive. Easily upload and download the files without limitation. The id and key for accessing the storage are just as easy generate.

Get Started

Let’s have a quick overview about how to use Hybrid Backup Sync to sync your data to Backblaze B2.

First, acquire the Account ID and Application Key on Backblaze B2. Once you created a bucket in Backblaze B2, you can get the Account ID and Application Key in the link, “Show Account ID and Application Key”.

Second, make sure you have installed Hybrid Backup Sync on your NAS, and open Hybrid Backup Sync.

There are three categories: Restore, Backup, and Sync. Please note that Backblaze B2 is only supported in Sync. Navigate to Sync > Sync with the cloud > Local to cloud sync. Backblaze B2 icon is located in the page below.

Simply click the icon and enter the Account ID, Application Key, and the “Display Name” shown in Hybrid Backup Sync for future use. Once this is done, you will find the profile with the name given listed below.

Freenas Backblaze B2

After profile successfully created, select the data your wanna backup and the bucket shown in the destination folder. The time of backup will depend on the bandwidth between NAS and the cloud storage service.

Backup Freenas To Backblaze

Again, backing up your data to the cloud gives you a second or third replication in case your data is lost due to an unexpected incident. QNAP just added another option, Backblaze B2, and Backblaze B2 is relatively simple, easy, affordable, and reliable for any user, business, or developer. You may want to try it out.