Enabling Two-Factor Verification: When you log in to your Backblaze account, on the left-hand side go to “My Settings”, and navigate towards the middle of the page where you will see your “Sign-In Settings”, click on that to make the change. 2FA not supported. Backup and Sync Docs SMS Phone Call Email Hardware token Software token; Apple iCloud. Tell them to support 2FA! Tell them to support 2FA! Tell them to support 2FA! Today's best Backblaze dealsBackblaze: SpecsNumber of devices backed up per subscription: OneStorage limit: UnlimitedBackups of tethered external drives: YesBackups of network storage drives: NoBackups of mobile devices: NoOperating system/applicatio. Backblaze is being used to backup user's data to Backblaze's cloud. This off-site backup strategy lets me be assured that my data will be secure should tragedy ever strike (flood, fire, etc.). Backblaze does this backup unobtrusively, users hardly notice the applications is ever backing up their data in the background because it does so.
This is one post in a series of tutorials on Duplicity. If you are just getting started with duplicity, I would recommend to head over to the first and second part to get a basic overview of duplicity and get GPG keys setup properly (this will not be covered in this post, but is required for the tutorial to work).
You should also have a look at the duplicity overview post, which contains an overview of this series.
The basic configuration from this post will be used as basis in this post to configure duplicity-backup.sh.
Backblaze
To start with, we will need an account at Backblaze. Once we're setup (verified the account via phone) and have configured 2FA (you do use 2FA, don't you?) we can get started. We'll get 10G Storage for free, free upload and 1Gb free download, just for signing up. This will be enough to get started using backups, and evaluate if this is the right service.
As Backblaze offers a very good tutorial on how to get duplicity setup under Linux, I'll not repeat these steps here.
Rather, we'll jump right in and include Backblaze into the duplicity-backup.sh script, we used previously.
duplicity-backup.sh
The following will assume that Backblaze has been setup and tested successfully using the Backblaze tutorial.
Should you have problems with the above Tutorial and getting setup let me know in the comments down below and I'll update this post to include these steps.
Single site Backup
Backblaze 2fa
To backup to Backblaze using the duplicity-backup.sh script we used previously, change DEST
to the following to the script:
Don't even mind trying using the above line without inserting your own id/key - this is not my account (and a randomized key).
We now run the duplicity-backup.sh script.
Please note that this method is not recommended as the backup is in only one place. Depending on the requirements, the following approach should be preferred.
Multi-site Backup
As explained in this article, we can simply add backup-locations by appending them to the configuration file.
2fa Backup Code
Remember how we configured our DEST
variable:
This mirrors all backups to all configured sites, and fails if one is not available.
Now, open the file configured above and insert the Backblaze configuration
As I already had a backup from previous backups, we need to upload the existing backups first. This way, we won't loose any backup-history.
This can be accomplished by running the following command (please make sure to update both account-id, keys and bucket name to suit your needs)
This way, we keep our history as well.
Closing words
There are a a ton of of options for cloud backups. Backblaze is one of them (and for now, my backup provider of choice). The speed is good (something I complained about in my Hubic Tutorial).
Also the security seems good, and people I trust security-wise like Troy Hunt trust Backblaze with their data.
In the end, it does not matter all that much which provider is used, as long as the backup is executed regularly, tested and implemented following the '3-2-1' rule:
3 total copies of the data - on 2 different mediums, at least 1 off site.
Full disclosure
Backblaze 2fa Ps4
Title photo credit:ChrisDag via photopin(license)