this post was submitted on 19 Nov 2023
11 points (92.3% liked)

Selfhosted

40183 readers
681 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi all. I have a nextcloud install setup using Minio to store the files locally in a bucket. At the moment I just backup the whole data volume that contains the minio bucket as if it were normal files, but it would be nice to mirror my actual bucket to Backblaze, given that it works very similarly.

However when I tried to set up bucket replication in Minio, it said that the Backblaze bucket didn't exist even tho it did, so I assume something is missing.

Did anyone manage to set up Minio to B2 replication for backup?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Did you try to access your Backblaze bucket using your API key and the minio client? It really seems like either a configuration issue or missing permissions issue. I would also try to create an API key with s3:* permissions to all S3 resources just to be on the safe side.

By the way you can also use AWS cli to do that but you need to define the endpoint, the region and set a profile, so it is a bit more complicated.

[–] [email protected] 1 points 1 year ago (1 children)

So I was able to add the backblaze backend as an alias site to minio client and then list my buckets content. Even when it was restricted to that particular bucket it behaved as expected. But if I set up the replication via the GUI in minio, it suddenly logs out that the remote bucket is offline. Both URL and access parameters are the same between CLI and GUI

[–] [email protected] -1 points 1 year ago (1 children)

Try to ping the endpoint URL from your instance where minio is residing, seems to me like a network connectivity issue. Check the ports and configuration of the replication.

[–] [email protected] 2 points 1 year ago (1 children)

Just in case we misunderstood each other. I have executed the minio client inside my minio container deployment. So the network connectivity is exactly the same given that they are inside the same container.

[–] [email protected] -1 points 1 year ago

In that case I don't know, try some forums, check the minio logs, ask ChatGPT, etc.