Bareos backup to Backblaze S3

334 views
Skip to first unread message

JAMES BELLINGER

unread,
Jan 8, 2021, 1:55:38 PM1/8/21
to bareos-users

I succeeded in using the droplet interface to backup to AWS
use_https = false
backend = s3
aws_auth_sign_version = 4

and to our local ceph system
use_https = true
backend = s3
aws_auth_sign_version = 4
[For whatever it may be worth, the local ceph backup was very unstable on writing, and therefore failed on restoration when it hit one of the ubiquitious empty objects.  I suspect our ceph configuration is at fault, since bareos works with amazon.]

But when trying to backup to BackblazeS3 I haven't yet found a configuration that works.
I created a new key pair for the exercise, and which connects using MinIO/client (mc), so I think the authentication is good.  Perhaps authentication needs another step?

What I see in debug mode is
bareos-sd (100): stored/dev.cc:715-348 open disk: mode=OPEN_READ_WRITE open(icecubebareostest01/Full-0271, 00000002, 0640)
bareos-sd (100): backends/droplet_device.cc:357-348 check_path: path=<bareos-test/> (device="bbb" (icecubebareostest01), bucket=icecubebareostest01): Result DPL_FAILURE
bareos-sd (100): backends/droplet_device.cc:357-348 Retry: check_path: path=<bareos-test/> (device="bbb" (icecubebareostest01), bucket=icecubebareostest01): Result DPL_FAILURE

The bareos version is
20.0.0~pre1743.77a9856c8-8.el7
The droplet device is on a different VM from the director VM.

Thank you for any advice you may have.
James Bellinger

JAMES BELLINGER

unread,
Jan 9, 2021, 2:48:13 PM1/9/21
to bareos-users
Followup information: 
If I specify the port number 443 on the url and use_https = true, then in the debug file it claims to write a header into the backblaze bucket, but when it comes time to write the buffered backup data it fails. 

The mc (MinIO Client) tool doesn't see anything in the backblaze bucket, even when I use the mc tool to  write.

Does that mean the the header info is being written into the buffer, and not yet into the actual bucket?
Thank you for any advice you may have.

JAMES BELLINGER

unread,
Jan 12, 2021, 3:15:18 PM1/12/21
to bareos-users



When I specified aws_region it worked, at least for writing.

host = s3.us-west-001.backblazeb2.com:443

aws_region = us-west-001

use_https = true

backend = s3

aws_auth_sign_version = 4

access_key = "REDACTED"

secret_key = "REDACTED"

pricing_dir = ""

Reply all
Reply to author
Forward
0 new messages