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 more remote cache destinations #79

Open
filiptronicek opened this issue Dec 30, 2021 · 1 comment
Open

Support more remote cache destinations #79

filiptronicek opened this issue Dec 30, 2021 · 1 comment

Comments

@filiptronicek
Copy link
Member

filiptronicek commented Dec 30, 2021

From what I've gathered in

leeway/cmd/root.go

Lines 177 to 189 in 1d0912e

case "GCP":
return leeway.GSUtilRemoteCache{
BucketName: remoteCacheBucket,
}
case "MINIO":
return leeway.MinioRemoteCache{
BucketName: remoteCacheBucket,
}
default:
return leeway.GSUtilRemoteCache{
BucketName: remoteCacheBucket,
}
}

there are only two cache storage providers: GCS and MINIO. I would love to see the adoption of more services, but I understand the potential hassle and the size of this request. With that said, I think something that could help is https://github.com/rclone/rclone. It supports like, everything out there and could be used to store the remote cache on not just standard services like Azure Blob Storage or AWS S3, but also places which everyone has access too, like Google Drive, OneDrive and others.

In addition to all of these, rclone also supports custom FTP and HTTP remotes, which some folks would for sure appreciate being options. I've been using rclone for about 2 years now and had an awesome experience with it, it's very easy to deal with.

Drawbacks

The biggest con of implementing rclone specifically is the fact it is a CLI, not a library, which could limit us in some ways (such as error reporting and checking).

@svenefftinge
Copy link
Member

AFAIR we looked into rclone for incremental backups (cc @meysholdt). To properly prioritize, it would help to outline what actual benefits an additional implementation would provide to users in comparison to the existing ones.

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

2 participants