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

config location is omitted #590

Open
nnWhisperer opened this issue Jun 19, 2024 · 0 comments
Open

config location is omitted #590

nnWhisperer opened this issue Jun 19, 2024 · 0 comments

Comments

@nnWhisperer
Copy link

Hello,
When I prepare a yml file like the following, and run litestream restore -config /home/user/litestream.yml
/home/user/litestream.yml:

access-key-id: ${LITESTREAM_ACCESS_KEY}
secret-access-key: ${LITESTREAM_SECRET_KEY}

dbs:
  - path: ${LITESTREAM_MY_DB_PATH}
    replicas:
      - url: s3://my-backups/${LITESTREAM_S3_FOLDER_NAME}
        region: eu-west-3

I receive:
ERROR failed to run error="database path or replica URL required"
I must give:
litestream restore -o $LITESTREAM_MY_DB_PATH s3://my-backups/foldername/

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

No branches or pull requests

1 participant