-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[R2] Adding workflow for using Rclone to upload to R2 #21227
base: production
Are you sure you want to change the base?
Conversation
Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment. We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally. PR Change SummaryAdded a new workflow for using Rclone to upload multiple objects to R2, emphasizing its advantages over the Cloudflare dashboard.
Modified Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
CC: @harshil1712 could you check if the steps for configuring / uploading via Rclone is accurate? I tried it myself, but want to double check. |
Preview URL: https://b005b732.preview.developers.cloudflare.com Files with changes (up to 15)
|
:::note | ||
Use Rclone if you wish to upload multiple objects to R2. | ||
|
||
Cloudflare dashboard only allows you to upload one object at a time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not correct. I was able to upload multiple objects with drag & drop and even going through the File select option.
You can upload objects to your bucket from the Cloudflare dashboard or using the Wrangler. | ||
|
||
## Upload objects via Rclone | ||
|
||
Rclone is a command-line tool which manages files on cloud storage. You can use Rclone to upload objects to R2. To use Rclone, install it onto your machine: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should link to the docs and let the user decide the method based on the OS. Since there are multiple methods for a single OS: https://rclone.org/install/
You can upload objects to your bucket from the Cloudflare dashboard or using the Wrangler. | ||
|
||
## Upload objects via Rclone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have example for rclone
. Should we reference it instead?
https://developers.cloudflare.com/r2/examples/rclone/
Summary
Screenshots (optional)
Documentation checklist