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 backup and restore #24

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add backup and restore #24

wants to merge 5 commits into from

Conversation

0x3639
Copy link
Contributor

@0x3639 0x3639 commented Dec 17, 2024

This PR adds the ability to backup and restore node data locally. In addition, a user can select to restore from a remote backup at Digital Ocean. A user would need to know the URL of a backup. It cannot be found publicly.

@georgezgeorgez
Copy link
Collaborator

So the way I would approach this would be to use standard APIs such as s3 and to offer flexibility
For example, if there is a restore command then it could take a path argument. That path could be a local path like /path/to/backup/ or a s3 path like s3://my-backup-bucket/path/to/backup. Many cloud storage providers offer object storage with an s3 compatible interface. A few more config flags may be needed for s3 endpoint, regions, etc. As HC1, we could offer a default public backup file. But this way users can upload their own backups and point to them as well.

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.

2 participants