Copy all files of an R2 bucket to another R2 bucket using rclone

Hi, I'm trying to use rclone to copy a R2 bucket to another R2 bucket.
[sample-dev]
type = s3
provider = Cloudflare
access_key_id = secret
secret_access_key = secret
endpoint = https://same-sample-endpoint.r2.cloudflarestorage.com
acl = private

[sample-production]
type = s3
provider = Cloudflare
access_key_id = secret
secret_access_key = secret
endpoint = https://same-sample-endpoint.r2.cloudflarestorage.com
acl = private
[sample-dev]
type = s3
provider = Cloudflare
access_key_id = secret
secret_access_key = secret
endpoint = https://same-sample-endpoint.r2.cloudflarestorage.com
acl = private

[sample-production]
type = s3
provider = Cloudflare
access_key_id = secret
secret_access_key = secret
endpoint = https://same-sample-endpoint.r2.cloudflarestorage.com
acl = private
I have followed the reference: https://developers.cloudflare.com/r2/examples/rclone/ Whenever I run that: (log.txt) I always get error about ListBuckets, and 403. Can someone please help?
Cloudflare Docs
rclone | Cloudflare R2 docs
You must generate an Access Key before getting started. All examples will utilize access_key_id and access_key_secret variables which represent the Access Key ID and Secret Access Key values you generated.
3 Replies
Flare
Flare4w ago
Please do not post your question in multiple channels/post it multiple times per the rules at ⁠#😃welcome-and-rules. It creates confusion for people trying to help you and doesn't get your issue or question solved any faster.
spaueOfficial
spaueOfficialOP4w ago
sorry, I'm new here sir, and very desperate for help, so I thought I would post it here first, but then I noticed there's actually R2 page, very sorry
Want results from more Discord servers?
Add your server