# Sync between s3 7billion objects

**URL:** <https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496>\
**Category:** Help and Support\
**Created:** [March 4, 2026, 12:09pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496 "2026-03-04T12:09:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![allnelone](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@allnelone](https://forum.rclone.org/u/allnelone)\
**Post date:** [March 4, 2026, 12:09pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/1 "2026-03-04T12:09:59Z")

</div>

#### What is the problem you are having with rclone?

I need to set up synchronization between two object storages in different locations, syncing 7 million objects from one bucket to another, with hash comparison. The synchronization needs to run every 4 hours. I'm struggling to find options that allow the process to complete within 2 hours. I've used transfers and checkers set to 900, as well as the fast-list option. On average, synchronization takes 4 hours, sometimes even longer. During synchronization, less than 10,000 objects are copied at a time, and the volume is under 5GB. Please suggest what options I could try adding to speed up the process.

#### Run the command 'rclone version' and share the full output of the command.

rclone v1.73.1

- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-60-generic (x86\_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.7
- go/linking: static
- go/tags: none

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```bash
rclone sync src:backet dst:backet -vv --checksum --transfers=900 --checkers=900 --fast-list --log-file /logs/$(date -I).rclone.log

```

#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

```bash
[dst]
type = s3
provider = AWS
access_key_id = XXX
secret_access_key = XXX
endpoint = dst
acl = private

[src]
type = s3
provider = AWS
access_key_id = XXX
secret_access_key = XXX
endpoint = src
acl = authenticated-read
### Double check the config for sensitive info before posting publicly

```

#### A log from the command that you were trying to run with the `-vv` flag

```auto
2026/03/04 12:03:32 INFO :
Transferred: 560.641 MiB / 560.641 MiB, 100%, 405.887 KiB/s, ETA 0s
Errors: 60 (retrying may help)
Checks: 22013856 / 22013856, 100%, Listed 44078563
Transferred: 6142 / 6142, 100%
Elapsed time: 4h52m28.3s

2026/03/04 12:03:32 DEBUG : 657 go routines active

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [March 4, 2026, 1:14pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/2 "2026-03-04T13:14:58Z")

</div>

welcome to the forum,

> [@allnelone](#):
>
> Please suggest what options I could try adding to speed up the process.

rent a cheap vm in the same region as the bucket.  
run rclone on that.

> [@Recommendations for using rclone with a minio 10M+ files](https://forum.rclone.org/t/recommendations-for-using-rclone-with-a-minio-10m-files/14472):
>
> What is the problem you are having with rclone? First and foremost, thanks for the excellent tool, it's fantastic! We have got an in-house data centre serving all our applications and data services (everything on Kubernetes), we rely on kafka-connect-s3 for exporting our Kafka cluster topics to the Minio object-store as a cold backup option for Kafka (similar to [https://jobs.zalando.com/en/tech/blog/backing-up-kafka-zookeeper/](https://jobs.zalando.com/en/tech/blog/backing-up-kafka-zookeeper/)). The Kafka cluster is pretty big and some of the topics have got 10…

> [@Rclone sync S3 to S3 runs for hours and copy nothing](https://forum.rclone.org/t/rclone-sync-s3-to-s3-runs-for-hours-and-copy-nothing/39687/23):
>
> This is rclone doing HEAD requests to read the modtime most likely. You can stop it doing this with the --size-only or the --checksum flags and the sync should start much quicker. Are a great number of those 80 million files in the same directory? That is what your out of memory makes me think. The problem is big syncs with millions of files in one directory. Rclone syncs on a directory by directory basis so you can have 10,000,000 directories with 1,000 files in and it will sync fine, but …

---

<div class="post-metadata">

**Author:** ![allnelone](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@allnelone](https://forum.rclone.org/u/allnelone)\
**Post date:** [March 4, 2026, 3:37pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/3 "2026-03-04T15:37:58Z")

</div>

The virtual machine is already in the same region. I have considered obtaining listings (e.g., using the `lsf` command), but I thought there might be some options for the `sync` command itself. The `--s3-upload-cutoff` option is not suitable because the files are small (less than 1 GB), and the most time-consuming part is building the file list. In one bucket, running `lsf` takes about 15–20 minutes; in another, it takes around an hour. The remaining time is spent comparing hash sums. I am specifically interested in speeding up the listing and hash comparison stages—the actual copying of new files is fine and does not take much time.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [March 4, 2026, 3:43pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/4 "2026-03-04T15:43:41Z")

</div>

> [@allnelone](#):
>
> speeding up the listing and hash comparison stages

as for listing, might be able to use `--max-age` and/or `--use-server-modtime`  
[https://rclone.org/s3/#avoiding-head-requests-to-read-the-modification-time](https://rclone.org/s3/#avoiding-head-requests-to-read-the-modification-time)

as for hash, if the files in the src bucket and dst bucket were upload by rclone, then rclone does not have to compute checksums.

---

<div class="post-metadata">

**Author:** ![allnelone](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@allnelone](https://forum.rclone.org/u/allnelone)\
**Post date:** [March 4, 2026, 5:00pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/5 "2026-03-04T17:00:58Z")

</div>

I'm not sure if I understood the suggestion correctly. The idea is to check checksums only for new files that have been modified within a certain time period? And also build the file list based on that for the sync command. Suppose we run the command:

```bash
rclone sync src:bucket dst:bucket -vv --checksum --transfers=900 --checkers=900 --fast-list --max-age=1d --use-server-modtime

```

Will it work as follows: it looks at the modification time of the object in `src`, looks at the modification time of the object in `dst`, and if the object's modification time is older than 1 day, it skips those objects? And for all others, it applies listing and checksum comparison. Is that correct?

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [March 4, 2026, 5:29pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/6 "2026-03-04T17:29:05Z")

</div>

> [@allnelone](#):
>
> Will it work as follows

do the test, then you will know. use `--dry-run` and read the debug log

---

<div class="post-metadata">

**Author:** ![allnelone](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/e47c2d/32.png) [@allnelone](https://forum.rclone.org/u/allnelone)\
**Post date:** [March 5, 2026, 8:23am UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/7 "2026-03-05T08:23:37Z")

</div>

Thank you for your help. I’m going to try using the implementation with `--max-age` and `--use-server-modtime`. Based on my tests, this appears to be the most optimal approach.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [March 5, 2026, 5:14pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/8 "2026-03-05T17:14:44Z")

</div>

> [@allnelone](#):
>
> Thank you for your help

welcome

* * *

> [@allnelone](#):
>
> I’m going to try using the implementation with `--max-age` and `--use-server-modtime`. Based on my tests, this appears to be the most optimal approach.

rclone has a lot of flags. and each use-case is different.  
good, that you figured out what works best in your case.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [March 6, 2026, 8:45pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/9 "2026-03-06T20:45:59Z")

</div>

@allnelone this sounds like an Enterprise problem so if you would like some support then If you are working on behalf of a company you might be interested in taking out a [support contract](https://rclone.com/support) which can help you get answers quicker and keeps the rclone project sustainable.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 9, 2026, 8:46pm UTC](https://forum.rclone.org/t/sync-between-s3-7billion-objects/53496/10 "2026-03-09T20:46:49Z")

</div>

Closed on March 9, 2026, 8:46pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
