Skip to content

Support for DB backup with Digital Ocean Spaces #63

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

Merged

Conversation

charlieroth
Copy link

@charlieroth charlieroth commented Jan 30, 2025

I currently run my personal relay on Digital Ocean and I would like support for database backups via Digital Ocean Spaces, accomplished through github.com/minio/minio-go.

Something to think about, github.com/minio/minio-go could replace the dependency on https://github.com/aws/aws-sdk-go (and the installation of the aws-cli on the host machine) since https://aws/aws-sdk-go is only used for S3 bucket uploads and no other AWS specific logic. So this leads to the question, is it worth exploring only using github.com/minio/minio-go as it is a more general implementation of using S3 buckets or leave both AWS S3 and Digital Ocean Spaces implementations for the sake of backwards compatibility?

Additionally, this PR addresses issue #47

PoW

Screenshot 2025-01-30 at 16 51 02

Using the MinIO SDK, and the necessary environment variables, a relay operator can backup their database to a Digital Ocean Spaces bucket

Updated README.md to include instructions for configuring Digital Ocean
Spaces bucket as backup provider
@charlieroth charlieroth changed the title Add support for database backup with Digital Ocean Spaces Support for DB backup with Digital Ocean Spaces Jan 31, 2025
@barrydeen barrydeen merged commit 9205768 into bitvora:master Feb 5, 2025
ChadFarrow pushed a commit to ChadFarrow/haven that referenced this pull request Jul 25, 2025
…ces-support

Support for DB backup with Digital Ocean Spaces
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