These are some notes I used to get BackBlaze B3 setup as a backup store provider. This was done in Virtualmin 7.7 Pro under Ubuntu 22.04 LTS.
First you need the
b3 command line tool. I’ve chosen to build mine from scratch and use the system versions of Python. This seems the most maintainable in the long run.
- Get the required packages
sudo apt-get install python3-pip python3-pip-whl git
- Get the b3 source code, and use the latest version. First go to Tags · Backblaze/B2_Command_Line_Tool · GitHub and see what the latest tag is. For me it was
git clone https://github.com/Backblaze/B2_Command_Line_Tool.git cd B2_Command_Line_Tool git checkout v3.10.0
- Build the tool
sudo -i # yeah this is unsafe cd B2_Command_Line_Tool python3 setup.py build # If this looks good then do the next step python3 setup.py install
If that all went well, you should have the tool installed to
- Create an app key in B3 at https://secure.backblaze.com/app_keys.htm and enter the information you create in Virtualmin under Virtualmin → Backup and Restore → Cloud Storage Providers → Backblaze.