Backblaze B2

Status
Not open for further replies.

David T

Cadet
Joined
Jan 5, 2016
Messages
8
Has anyone successfully gotten backups to B2 to work?

I've been trying with duplicity but ran into ssl cert errors, will try next with Hash Backup.
 

David T

Cadet
Joined
Jan 5, 2016
Messages
8
I actually got Duplicity to work. The issue was that I had to create a symlink in /etc/ssl` to /usr/local/etc/ssl for the cert.pem a la

ln -s /usr/local/etc/ssl/cert.pem /etc/ssl/cert.pem

In the end, I decided I didn't like duplicity's backup scheme, and it was kind of unreliable with B2. I opted to use Google Cloud Storage Nearline, since they gave me $300 in credit, and their rsync utility works really well. B2 has a b2sync utility that should do something similar, but compiling it in FreeBSD and dealing with the unknown issue whether or not my issues with Duplicity may have actually been B2 related, I'm going to wait til the product matures a little bit.
 

David T

Cadet
Joined
Jan 5, 2016
Messages
8
After some more playing around, I got b2sync working in a debian virtual machine inside a virtualbox jail. I guess I need to determine if it is worth the virtualbox overhead or not. B2 will save me some money in the long run once my $300 Google Cloud credit runs out in 3 months.
 

shnurov

Explorer
Joined
Jul 22, 2015
Messages
74
I'm not sure how I'd go about setting that up in a BSD jail - is there something that could point me in the right direction?
 

David T

Cadet
Joined
Jan 5, 2016
Messages
8
For posterity's sake, I have backblaze's b2 command line utility, running in a jail. It is pretty straightforward. There is a BSD port for b2 but it is a very old version, I recommend installing it from source.

Run the following inside of the jail:
  1. pkg install databases/py-sqlite3
  2. git clone https://github.com/Backblaze/B2_Command_Line_Tool.git
  3. cd B2_Command_Line_Tool
  4. python2.7 setup.py install
Voila! You now have the b2 command at your disposal. I find the b2 sync command especially useful. I would just go ahead and update the b2 port to a later veresion but I have no idea how to. :cool:
 
Status
Not open for further replies.
Top