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

Support downloading a snapshot from LiteFS Cloud #392

Open
quells opened this issue Aug 22, 2023 · 1 comment
Open

Support downloading a snapshot from LiteFS Cloud #392

quells opened this issue Aug 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@quells
Copy link

quells commented Aug 22, 2023

It would be nice if the litefs CLI could download snapshots from LiteFS Cloud. Nothing fancy - just the latest snapshot as if it were another readonly node coming online. This would allow Fly.io customers to backup their databases to another storage provider.

I've got a super rough POC here pieced together from bits from this repo and the LTX library: https://github.com/quells/litefs-dl

Apologies if I've simply missed something - I couldn't get litefs export to work. Although if I understand correctly, you're supposed to mount and then export? But mount doesn't work on macOS.

@benbjohnson benbjohnson added the enhancement New feature or request label Aug 24, 2023
@benbjohnson
Copy link
Collaborator

Thanks for the suggestion. That makes sense. We should add a CLI export into LiteFS Cloud so you can download a snapshot.

The export command is meant to export from a running LiteFS instance so it only works when it's already mounted.

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

No branches or pull requests

2 participants