What is the problem you are having with rclone?
Hello! We have 2 S3 accounts. I want to copy 10 specific files as quickly as possible, which are listed in the sync_list file. Each file weighs 10-50 KB. But rclone starts checking the entire S3-bucket in the account before it starts copying the files it needs. This takes a huge amount of time as we have millions of files in S3-bucket.
Run the command 'rclone version' and share the full output of the command.
rclone version
rclone v1.65.2
- os/version: debian 11.8 (64 bit)
- os/kernel: 5.10.0-26-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.6
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
ceph
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copyto config_old:bucket_docs config_new:bucket_docs -P -vv --fast-list --no-check-dest --retries 1 --transfers 1000 --files-from sync_list
The rclone config contents with secrets removed.
rclone config show
[config_old]
type = s3
provider = Other
env_auth = false
access_key_id = *****
secret_access_key = *****
endpoint = *****
acl = private
[config_new]
type = s3
provider = Other
env_auth = false
access_key_id = *****
secret_access_key = *****
endpoint = *****
acl = private
A log from the command with the -vv
flag
2024/03/09 17:41:52 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "copyto" "--progress" "config_old:bucket_docs" "config_new:bucket_docs" "-P" "-vv" "--fast-list" "--no-check-dest" "--retries" "1" "--transfers" "1000" "--files-from" "sync_list"]
2024/03/09 17:41:52 DEBUG : Creating backend with remote "config_old:bucket_docs"
2024/03/09 17:41:52 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/03/09 17:41:52 DEBUG : Resolving service "s3" region "us-east-1"
2024/03/09 17:41:52 DEBUG : Creating backend with remote "config_new:bucket_docs"
2024/03/09 17:41:52 DEBUG : Resolving service "s3" region "us-east-1"
2024/03/09 17:43:33 DEBUG : 010223: Excluded
2024/03/09 17:43:33 DEBUG : 010323: Excluded
2024/03/09 17:43:33 DEBUG : 010423: Excluded
2024/03/09 17:43:33 DEBUG : 010523: Excluded
2024/03/09 17:43:33 DEBUG : 010623: Excluded
2024/03/09 17:43:33 DEBUG : 010723: Excluded
2024/03/09 17:43:33 DEBUG : 010823: Excluded
2024/03/09 17:43:33 DEBUG : 010923: Excluded
2024/03/09 17:43:33 DEBUG : 011023: Excluded
2024/03/09 17:43:33 DEBUG : 011123: Excluded
2024/03/09 17:43:33 DEBUG : 020123: Excluded
2024/03/09 17:43:33 DEBUG : 020223: Excluded
2024/03/09 17:43:33 DEBUG : 020323: Excluded
2024/03/09 17:43:33 DEBUG : 020423: Excluded
2024/03/09 17:43:33 DEBUG : 020523: Excluded
2024/03/09 17:43:33 DEBUG : 020623: Excluded
2024/03/09 17:43:33 DEBUG : 020723: Excluded
2024/03/09 17:43:33 DEBUG : 020823: Excluded
2024/03/09 17:43:33 DEBUG : 020923: Excluded
2024/03/09 17:43:33 DEBUG : 021023: Excluded
2024/03/09 17:43:33 DEBUG : 021123: Excluded
2024/03/09 17:43:33 DEBUG : 030123: Excluded
2024/03/09 17:43:33 DEBUG : 030223: Excluded
2024/03/09 17:43:33 DEBUG : 030323: Excluded
2024/03/09 17:43:33 DEBUG : 030423: Excluded
2024/03/09 17:43:33 DEBUG : 030523: Excluded
2024/03/09 17:43:33 DEBUG : 030623: Excluded
2024/03/09 17:43:33 DEBUG : 030723: Excluded
2024/03/09 17:43:33 DEBUG : 030823: Excluded
2024/03/09 17:43:33 DEBUG : 030923: Excluded
2024/03/09 17:43:33 DEBUG : 031023: Excluded
2024/03/09 17:43:33 DEBUG : 031123: Excluded
2024/03/09 17:43:33 DEBUG : 040123: Excluded
2024/03/09 17:43:33 DEBUG : 040223: Excluded
2024/03/09 17:43:33 DEBUG : 040423: Excluded
2024/03/09 17:43:33 DEBUG : 040523: Excluded
2024/03/09 17:43:33 DEBUG : 040623: Excluded
2024/03/09 17:43:33 DEBUG : 040723: Excluded
2024/03/09 17:43:33 DEBUG : 040823: Excluded
2024/03/09 17:43:33 DEBUG : 040923: Excluded
2024/03/09 17:43:33 DEBUG : 041023: Excluded
2024/03/09 17:43:33 DEBUG : 041123: Excluded
2024/03/09 17:43:33 DEBUG : 050123: Excluded
2024/03/09 17:43:33 DEBUG : 050223: Excluded
2024/03/09 17:43:33 DEBUG : 050423: Excluded
2024/03/09 17:43:33 DEBUG : 050523: Excluded
2024/03/09 17:43:33 DEBUG : 050623: Excluded
2024/03/09 17:43:33 DEBUG : 050723: Excluded
2024/03/09 17:43:33 DEBUG : 050823: Excluded
...
...
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time: 46m2.0s
Our list of files
cat sync_list
210123/23333995/23333995.txt
050323/150145599/150145599.txt
010123/23941421/23941421.txt
060123/77107102/77107102.txt
040323/118053120/118053120.txt
200223/106163744/patch_1676922509.txt
110223/91373395/patch_1676086505.txt
070323/16677173/patch_1678179158.txt
110223/106851934/patch_1676081042.txt
290323/76198099/patch_1680086978.txt