[Snapshot Pro] Custom S3 (Minio self-hosted S3)

I'd like to be able to use my own Minio self-hosted S3-compatible server. It's available at https://somethingsomethingsomething.something:9000/ and buckets are available as "directories" off the root, such as https://somethingsomethingsomething.something:9000/backupfolder – as opposed to amazon's bucket.something.com DNS-based naming.

  • Nithin
    • Support Wizard

    Hi Alex,

    Hope you are doing good today. :slight_smile:

    I’m bringing this into our developer’s attention so that they could look into the possibilities of implementing such a feature down the plugin’s roadmap.

    Really appreciate your feedback regarding this, have a nice day ahead. :slight_smile:

    Regards,

    Nithin

  • Nithin
    • Support Wizard

    Hi Alex,

    We have now added support for custom S3 locations, now with the current version of Snapshot, once you create a destination under Snapshot > Destinations, you should see the option to select "Non-AWS Host" as shown in the following screenshot:

    Which should help with adding your own location. Please do check, and see whether it works to your need.

    What about OneDrive support?

    This feature is still at works, however, can confirm our team is looking forward regarding OneDrive, and considering new destinations down the roadmap. At the moment, I'm afraid we don't have an exact ETA regarding this.

    Kind Regards,

    Nithin

  • Nithin
    • Support Wizard

    Hi Alex,

    Hope you are doing good today. :slight_smile:

    I’m afraid, the features hasn’t been extensively tested for Minio Host, so there isn’t any example model that we could share regarding this.

    On the “Non AWS Host” you should add the Host URL from what you have mentioned above example, it would be:

    https://somethingsomethingsomething.something:9000/

    And on “Non AWS Region” you should add the region of the Server, much like other compatible S3 locations eg us-east-1

    Once done, the buckets should be available to the selected in the plugin side.

    Please do note that the feature was more to support all non-AWS hosts in general, and wasn’t designed specifically for Minio, but it should support, as it had worked well with other solutions like Wasabi.

    Would recommend you to test, and see how it goes. Have a nice day ahead.

    Kind Regards,

    Nithin

    • Alex
      • WPMU DEV Initiate

      You know there’s no such thing as “the region of the server, much like other compatible s3 locations” because other compatible S3 locations don’t have “locations” per se because they’re self hosted?

      I *have* tried testing, and it didn’t go well since it’s not well documented. I will try to have a nice day, but it’d really help if someone who participated in the modification could give us a clue about how to construct a URL so that a self-hosted S3 compatible host would work.

  • Nithin
    • Support Wizard

    Hi Alex,

    I have already brought this into our developer’s attention, at the moment, I’m afraid support for S3 compatible Non AWS host provided in Snapshot Destination, will require both Non-AWS host, and Non-AWS Region.

    If there aren’t any regions assigned to the buckets used then I’m afraid the current feature in the plugin side won’t be adequate for Minio Self Hosted S3.

    Since Minio is a 3rd party host, I’m afraid we aren’t fully aware of all the custom S3 endpoints, nor it’s been extensively tested. However, checking the docs it does point out Minio supports regions based on these links:

    https://docs.min.io/docs/minio-server-configuration-guide.html?origin_team=T02SUHU7P

    https://blog.alexellis.io/meet-minio/

    For example:

    127.0.0.1 X-Amz-Bucket-Region: us-east-1

    Endpoint:  http://172.17.0.2:9000  http://127.0.0.1:9000
    AccessKey: accessCode
    SecretKey: secretCode
    Region: us-east-1
    SQS ARNs: <none>

    Please do advise if there are any specific settings still require specific for Minio so it could be looked down the plugin’s roadmap.

    Regards,

    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.