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?

    • huangrydude@lm.boing.icuOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      I tried both a general purpose key that had access to all buckets, and one limited to the test bucket. Both times with read-and-write

  • filister@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    edit-2
    7 months ago

    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.

    • huangrydude@lm.boing.icuOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      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

      • filister@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        7 months ago

        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.

        • huangrydude@lm.boing.icuOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          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.

          • filister@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            7 months ago

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