Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure Blob Storage replica type #197

Merged
merged 1 commit into from
May 23, 2021
Merged

Add Azure Blob Storage replica type #197

merged 1 commit into from
May 23, 2021

Conversation

benbjohnson
Copy link
Owner

Overview

This pull request implements an Azure Blob Storage (ABS) replica.

Fixes #134

Usage

To use it, specify a replica URL with a type of "abs". The URL host represents the container name and the URL path represents the path within the container:

litestream replicate /path/to/db abs://CONTAINERNAME/db

To use in a config, you can use the URL:

dbs:
  - path: /path/to/db
    replicas:
      - url: abs://mycontainer/db

or split the parts into separate fields:

dbs:
  - path: /path/to/db
    replicas:
      - type: abs
        bucket: mycontainer
        path: db

You can also specify the endpoint field when using the config, however, you typically shouldn't need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Blob Storage integration
1 participant