What is the problem you are having with rclone?
I'm running rclone sync to a dropbox remote from a locally attached disk. The files are already uploaded to dropbox, and I'm only running this to ensure the upload is correct and current.
In the first two minutes I get to around 70k checked files (I believe the total would be just over 200k).
After that, the checking speed decreases to a trickle, barely reaching 80k files by minute 10.
Is this normal/expected? This seems very weird to me.
I've tried running the command with high --checkers up to 48, which is worse, and as low as 1.
Between 2-4 seems to give the best result.
If this is a rate limit issue, it's a very weird one: if I stop and restart the command immediately, I will still reach 70k files in the first minute, which doesn't really make sense if this is a Dropbox-sided rate limit issue.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: darwin 13.3.1 (64 bit)
- os/kernel: 22.4.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.20.2
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using?
Dropbox
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync '/Volumes/Media 1' 'db:Backup/Media 1' \
--progress --dropbox-batch-mode=sync --dropbox-batch-size 256 --dropbox-batch-timeout 10s --checkers 4 --transfers 256 --tpslimit 12 \
--exclude '.Spotlight-V100/**' \
--exclude '.System Volume Information/**' \
--exclude '.Trashes/**' \
--exclude '.TemporaryItems/**' \
--exclude 'desktop.ini' \
--exclude '.DS_STORE' \
--exclude '.fseventsd/**' \
--exclude '._*' \
--delete-excluded \
--max-backlog 200000 \
--size-only \
-vv \
--log-file backup.log \
--backup-dir "$backup_dir"
The rclone config contents with secrets removed.
[Dropbox]
type = dropbox
token = {"access_token":"","token_type":"bearer","refresh_token":"","expiry":""}
client_id = xxx
client_secret = xxx
[db]
type = alias
remote = Dropbox:/XXXXXX
A log from the command with the -vv
flag
2023/06/14 19:41:47 INFO : Starting transaction limiter: max 12 transactions/s with burst 1
2023/06/14 19:47:47 INFO : Dropbox root 'xxx/Backup/Archive/Media 1/2023-06-14': Committing uploads - please wait...
2023/06/14 19:49:56 INFO : Signal received: interrupt
2023/06/14 19:49:56 INFO : Dropbox root 'xxx/Backup/Media 1': Committing uploads - please wait...
2023/06/14 19:49:56 INFO : Exiting...
2023/06/14 19:54:18 INFO : Starting transaction limiter: max 12 transactions/s with burst 1
2023/06/14 19:54:18 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "sync" "/Volumes/Media 1" "db:Backup/Media 1" "--progress" "--dropbox-batch-mode=sync" "--dropbox-batch-size" "256" "--dropbox-batch-timeout" "10s" "--checkers" "3" "--transfers" "256" "--tpslimit" "12" "--exclude" ".Spotlight-V100/**" "--exclude" ".System Volume Information/**" "--exclude" ".Trashes/**" "--exclude" ".TemporaryItems/**" "--exclude" "desktop.ini" "--exclude" ".DS_STORE" "--exclude" ".fseventsd/**" "--exclude" "._*" "--delete-excluded" "--max-backlog" "200000" "--size-only" "-vv" "--log-file" "backup.log" "--backup-dir" "db:Backup/Archive/Media 1/2023-06-14"]
2023/06/14 19:54:18 DEBUG : Creating backend with remote "/Volumes/Media 1"
2023/06/14 19:54:18 DEBUG : Using config file from "/Users/fabian/.config/rclone/rclone.conf"
2023/06/14 19:54:18 DEBUG : Creating backend with remote "db:Backup/Media 1"
2023/06/14 19:54:18 DEBUG : Creating backend with remote "Dropbox:/xxx/Backup/Media 1"
2023/06/14 19:54:18 DEBUG : Dropbox: detected overridden config - adding "{3NXTF}" suffix to name
2023/06/14 19:54:19 DEBUG : Dropbox root '': Using root namespace "xxx"
2023/06/14 19:54:20 DEBUG : fs cache: renaming cache item "Dropbox:/xxx/Backup/Media 1" to be canonical "Dropbox{3NXTF}:xxx/Backup/Media 1"
2023/06/14 19:54:20 DEBUG : fs cache: renaming cache item "db:Backup/Media 1" to be canonical "Dropbox{3NXTF}:xxx/Backup/Media 1"
2023/06/14 19:54:20 DEBUG : Creating backend with remote "db:Backup/Archive/Media 1/2023-06-14"
2023/06/14 19:54:20 DEBUG : Creating backend with remote "Dropbox:/xxx/Backup/Archive/Media 1/2023-06-14"
2023/06/14 19:54:20 DEBUG : Dropbox: detected overridden config - adding "{3NXTF}" suffix to name
2023/06/14 19:54:20 DEBUG : Dropbox root '': Using root namespace "xxx"
2023/06/14 19:54:20 DEBUG : fs cache: renaming cache item "Dropbox:/xxx/Backup/Archive/Media 1/2023-06-14" to be canonical "Dropbox{3NXTF}:xxx/Backup/Archive/Media 1/2023-06-14"
2023/06/14 19:54:20 DEBUG : fs cache: renaming cache item "db:Backup/Archive/Media 1/2023-06-14" to be canonical "Dropbox{3NXTF}:xxx/Backup/Archive/Media 1/2023-06-14"
2023/06/14 19:54:20 DEBUG : .fseventsd: Excluded
2023/06/14 19:54:20 DEBUG : .Spotlight-V100: Excluded
2023/06/14 19:54:20 DEBUG : .Trashes: Excluded
2023/06/14 19:54:20 DEBUG : .TemporaryItems: Excluded
2023/06/14 19:54:21 DEBUG : XXX: Sizes identical
2023/06/14 19:54:21 DEBUG : XXX: Unchanged skipping
...
The ~70k filepaths after that seem unnecessary to post here. Nothing indicating anything apart from filesize identical and then the same filepath 'unchanged skipping'.
Thanks for your help!
Cheers,
Fabian