Giter Site home page Giter Site logo

Comments (6)

bobek avatar bobek commented on May 17, 2024 4

Hello, first of all, thank you for a great project. I wanted to try litestream with MinIO. Unfortunately it is not that simple as one need to specify endpoint (otherwise go-aws will try to create it from bucket and region) and also path style has to be forced. Otherwise bucket will be passed as prefix of the hostname, which will not work with MinIO.

Changes have been based on https://docs.min.io/docs/how-to-use-aws-sdk-for-go-with-minio-server.html

I am attaching patch and configuration file, which I have ended with, as an inspiration (happy to open PR, if you want):

from litestream.

benbjohnson avatar benbjohnson commented on May 17, 2024 1

I added support and wrote up some brief docs in the PR for running Litestream with MinIO, B2, & GCS: #66

The code was a bit more complicated as I wanted to support easily running these using the replica URL instead of requiring folks to set up a configuration file. Feedback is welcome if you get a chance to try it. I'll post guides for each backend once the v0.3.3 is cut.

from litestream.

bwghughes avatar bwghughes commented on May 17, 2024

+1 - Thanks Ben !! Same on Backblaze, no way of explicitly calling out region, as such:

litestream replicate db.sqlite3 s3://s3.us-west-000.backblazeb2.com/octo-litestream

Errors with:

litestream v0.3.2
initialized db: /Users/ben/db.sqlite3
replicating to: name="s3" type="s3" bucket="s3.us-west-000.backblazeb2.com" path="octo-litestream" region="us-west1"
/Users/ben/db.sqlite3(s3): monitor error: RequestError: send request failed
caused by: Get "https://s3.us-west1.amazonaws.com/s3.us-west-000.backblazeb2.com?delimiter=%2F&prefix=octo-litestream%2Fgenerations%2F": dial tcp: lookup s3.us-west1.amazonaws.com: no such host

from litestream.

oderwat avatar oderwat commented on May 17, 2024

I can confirm that the minio patch works for me too with an external https minio server. Very nice and just what I needed.

from litestream.

benbjohnson avatar benbjohnson commented on May 17, 2024

Thanks for all the testing everyone. I'm trying to wrap up Windows support (#7) first and then I'll get this functionality working and tested and merged in.

from litestream.

oderwat avatar oderwat commented on May 17, 2024

I added my observations in #66

from litestream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.