What is the problem you are having with rclone?
I’m trying to copy a large bucket from AWS S3 to Cloudflare R2 and struggling to get acceptable performance. My bucket is 4TB and has about 3.5m objects but almost none of the objects are updated since the previous copy and this is the case I want to optimize.
Currently this is taking around 2 hours with rclone. I can sync the same bucket into google using STS in a few minutes (yes I appreciate this isn’t quite the same thing)
I am already using --fast-list --size-only
I’m running the command on an AWS ec2 VM and I have upgraded it to t3.large so it can run without paging. It is not hammering the RAM or CPU while running.
As far as I can see, the ‘list’ phase is very quick on the source bucket but much slower on the destination.
I am trying to investigate the max-age and no-traverse options and I have a smaller bucket of 100k objects that I have been doing some tests with:
- without either it syncs in less than a minute
- with
max-agetakes over an hour, listing both the source and destination are very slow - with
no-traverseit takes around 30 minutes. the listing of the source is quick but the check phase is slow - with both
max-ageandno-traverseit takes around 40 minutes - the listing of the source is slower than the check phase would be withoutmax-age
I haven’t tried these on my main bucket but on the basis of these tests either of these flags is going to make it an order of magnitude slower when I was expecting them to make it faster.
Run the command 'rclone version' and share the full output of the command.
rclone v1.73.5
- os/version: amazon 2023.11.20260413 (64 bit)
- os/kernel: 6.1.166-197.305.amzn2023.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.9
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
from AWS s3 to CloudFlare R2
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone copy aws:source-bucket cloudflare:dest-bucket --transfers 16 --checkers 16 --multi-thread-streams 8 --s3-chunk-size 64M --fast-list --size-only --log-level=INFO --stats 1m
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[aws]
type = s3
provider = AWS
env_auth = false
region = eu-west-1
location_constraint = eu-west-1
access_key_id = XXX
secret_access_key = XXX
[cloudflare]
type = s3
provider = Cloudflare
access_key_id = XXX
secret_access_key = XXX
region = auto
endpoint = https://xxxx.r2.cloudflarestorage.com
A log from the command that you were trying to run with the -vv flag
I can attach logs later if required