What is the problem you are having with rclone?
When using the "sync" command to refresh my backup, on a folder structure which has around 45k files, rclone is not done after 8h, having checked more than 100k files. I looked at the -vv log, and I see that files are being checked 3 times (at least), and yet the sync never ends. I do not know whether all files have been checked though.
This computer is running macOS 11.6.1, Intel processor.
The same command on my Windows 10 PC completes in reasonable times, log files show that each file is only ever checked once. However, my PC does not have as many files, the most I have in a "batch" is 18k files, that completes in 1 to 5 minutes, if there are not too many modified or new files to upload.
What is your rclone version (output from rclone version
)
rclone v1.57.0
- os/version: darwin 11.6.1 (64 bit)
- os/kernel: 20.6.0 (x86_64)
- os/type: darwin
- os/arch: amd64
- go/version: go1.17.2
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Dropbox, together with the crypt system (so saving to crypt, which is a specific folder on my Dropbox)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync $SOURCE_PATH $DESTINATION_PATH -P \
--backup-dir $ARCHIVE_DESTINATION_PATH \
--exclude-from ~/rclone/exclude.txt \
--skip-links \
--dropbox-batch-mode sync \
--tpslimit 12 --tpslimit-burst 12 --log-file testlog.txt --log-level DEBUG
The rclone config contents with secrets removed.
[qtdropbox]
type = dropbox
token = {"access_token":"xxxx","token_type":"bearer","refresh_token":"xxxx","expiry":"2021-12-21T08:21:01.469992-05:00"}
client_id = xxxx (my own ID)
client_secret = xxxx (the associated secret)
[qtcrypt]
type = crypt
remote = qtdropbox:/xBackups/macbook/
filename_encryption = off
directory_name_encryption = false
password = xxxx
A log from the command with the -vv
flag
This is a very truncated log, but the log only has entries of this type anyways.
2021/12/20 23:39:19 INFO : Starting transaction limiter: max 12 transactions/s with burst 12
2021/12/20 23:39:23 INFO : rclone/backup.sh: Deleted
2021/12/20 23:39:25 INFO : rclone/backup.sh: Moved (server-side)
2021/12/20 23:39:31 INFO : rclone/backup.sh: Copied (new)
2021/12/20 23:40:01 INFO : Signal received: interrupt
2021/12/20 23:40:01 INFO : Dropbox root 'xBackups/macbook/home.bin': Commiting uploads - please wait...
2021/12/20 23:40:01 INFO : Dropbox root 'xBackups/macbook/home': Commiting uploads - please wait...
2021/12/20 23:40:01 INFO : Dropbox root 'xBackups/macbook/MacBook_archive.bin': Commiting uploads - please wait...
2021/12/20 23:40:01 INFO : Dropbox root 'xBackups/macbook/MacBook_archive': Commiting uploads - please wait...
2021/12/20 23:40:01 INFO : Exiting...
2021/12/20 23:41:00 INFO : Starting transaction limiter: max 12 transactions/s with burst 12
2021/12/20 23:41:04 INFO : rclone/exclude.txt: Deleted
2021/12/20 23:41:06 INFO : rclone/exclude.txt: Moved (server-side)
2021/12/20 23:41:13 INFO : rclone/exclude.txt: Copied (new)
2021/12/20 23:43:19 INFO : Signal received: interrupt
2021/12/20 23:43:19 INFO : Dropbox root 'xBackups/macbook/MacBook_archive.bin': Commiting uploads - please wait...
2021/12/20 23:43:19 INFO : Dropbox root 'xBackups/macbook/MacBook_archive': Commiting uploads - please wait...
2021/12/20 23:43:19 INFO : Dropbox root 'xBackups/macbook/home.bin': Commiting uploads - please wait...
2021/12/20 23:43:19 INFO : Dropbox root 'xBackups/macbook/home': Commiting uploads - please wait...
2021/12/20 23:43:19 INFO : Exiting...
2021/12/20 23:43:47 INFO : Starting transaction limiter: max 12 transactions/s with burst 12
2021/12/20 23:43:47 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "sync" "/Users/myname/" "qtcrypt:home" "-P" "--backup-dir" "qtcrypt:MacBook_archive" "--exclude-from" "/Users/myname/rclone/exclude.txt" "--skip-links" "--dropbox-batch-mode" "sync" "--tpslimit" "12" "--tpslimit-burst" "12" "--log-file" "testlog.txt" "--log-level" "DEBUG"]
2021/12/20 23:43:47 DEBUG : Creating backend with remote "/Users/myname/"
2021/12/20 23:43:47 DEBUG : local: detected overridden config - adding "{HK82T}" suffix to name
2021/12/20 23:43:47 DEBUG : Using config file from "/Users/vincentpelletier/.config/rclone/rclone.conf"
2021/12/20 23:43:47 DEBUG : fs cache: renaming cache item "/Users/vincentpelletier/" to be canonical "local{HK82T}:/Users/vincentpelletier/"
2021/12/20 23:43:47 DEBUG : Creating backend with remote "qtcrypt:home"
2021/12/20 23:43:47 DEBUG : Creating backend with remote "qtdropbox:/xBackups/macbook/home.bin"
2021/12/20 23:43:47 DEBUG : qtdropbox: detected overridden config - adding "{bBI1F}" suffix to name
2021/12/20 23:43:48 DEBUG : Dropbox root '': Using root namespace "45943168"
2021/12/20 23:43:48 DEBUG : fs cache: renaming cache item "qtdropbox:/xBackups/macbook/home.bin" to be canonical "qtdropbox{bBI1F}:xBackups/macbook/home.bin"
2021/12/20 23:43:48 DEBUG : Creating backend with remote "qtdropbox:/xBackups/macbook/home"
2021/12/20 23:43:48 DEBUG : qtdropbox: detected overridden config - adding "{bBI1F}" suffix to name
2021/12/20 23:43:48 DEBUG : Dropbox root '': Using root namespace "45943168"
2021/12/20 23:43:49 DEBUG : fs cache: renaming cache item "qtdropbox:/xBackups/macbook/home" to be canonical "qtdropbox{bBI1F}:xBackups/macbook/home"
2021/12/20 23:43:49 DEBUG : Creating backend with remote "qtcrypt:MacBook_archive"
2021/12/20 23:43:49 DEBUG : Creating backend with remote "qtdropbox:/xBackups/macbook/MacBook_archive.bin"
2021/12/20 23:43:49 DEBUG : qtdropbox: detected overridden config - adding "{bBI1F}" suffix to name
2021/12/20 23:43:49 DEBUG : Dropbox root '': Using root namespace "45943168"
2021/12/20 23:43:49 DEBUG : fs cache: renaming cache item "qtdropbox:/xBackups/macbook/MacBook_archive.bin" to be canonical "qtdropbox{bBI1F}:xBackups/macbook/MacBook_archive.bin"
2021/12/20 23:43:49 DEBUG : Creating backend with remote "qtdropbox:/xBackups/macbook/MacBook_archive"
2021/12/20 23:43:49 DEBUG : qtdropbox: detected overridden config - adding "{bBI1F}" suffix to name
2021/12/20 23:43:50 DEBUG : Dropbox root '': Using root namespace "45943168"
2021/12/20 23:43:50 DEBUG : fs cache: renaming cache item "qtdropbox:/xBackups/macbook/MacBook_archive" to be canonical "qtdropbox{bBI1F}:xBackups/macbook/MacBook_archive"
2021/12/20 23:43:50 DEBUG : testlog.txt: Excluded
2021/12/20 23:43:50 DEBUG : .config: Excluded
2021/12/20 23:43:50 DEBUG : Temp: Excluded
2021/12/20 23:43:50 DEBUG : .DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : .CFUserTextEncoding: Excluded
2021/12/20 23:43:50 DEBUG : .local: Excluded
2021/12/20 23:43:50 DEBUG : .webex: Excluded
2021/12/20 23:43:50 DEBUG : .zsh_history: Excluded
2021/12/20 23:43:50 DEBUG : Library: Excluded
2021/12/20 23:43:50 DEBUG : .oracle_jre_usage: Excluded
2021/12/20 23:43:50 DEBUG : .cups: Excluded
2021/12/20 23:43:50 DEBUG : .bash_sessions: Excluded
2021/12/20 23:43:50 DEBUG : .dropbox: Excluded
2021/12/20 23:43:50 DEBUG : .Trash: Excluded
2021/12/20 23:43:50 DEBUG : .anydesk: Excluded
2021/12/20 23:43:50 DEBUG : .mono: Excluded
2021/12/20 23:43:50 DEBUG : .imacro: Excluded
2021/12/20 23:43:50 DEBUG : .Xauthority: Excluded
2021/12/20 23:43:50 DEBUG : Downloads: Excluded
2021/12/20 23:43:50 DEBUG : .bash_history: Excluded
2021/12/20 23:43:50 DEBUG : .viminfo: Excluded
2021/12/20 23:43:50 DEBUG : .zsh_sessions: Excluded
2021/12/20 23:43:50 DEBUG : .islonline: Excluded
2021/12/20 23:43:50 DEBUG : Library: Excluded
2021/12/20 23:43:50 DEBUG : CDM v2.08.30 WHQL Certified.exe: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : CDM v2.08.30 WHQL Certified.exe: Unchanged skipping
2021/12/20 23:43:50 DEBUG : huygens_msg.txt: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : huygens_msg.txt: Unchanged skipping
2021/12/20 23:43:50 DEBUG : Desktop/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Desktop/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Music/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Music/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Music/iTunes: Excluded
2021/12/20 23:43:50 DEBUG : Movies/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Movies/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Documents/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Documents/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Documents/temp test: Excluded
2021/12/20 23:43:50 DEBUG : Pictures/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Pictures/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Pictures/Photos Library.photoslibrary: Excluded
2021/12/20 23:43:50 DEBUG : Desktop/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Google Drive/Icon␍: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Google Drive/late_stage.tif: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Google Drive/late_stage.tif: Unchanged skipping
2021/12/20 23:43:50 DEBUG : Google Drive/Icon␍: Unchanged skipping
2021/12/20 23:43:50 DEBUG : Desktop/anydesk00000.png: Size and modification time the same (differ by -296.229919ms, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Desktop/anydesk00000.png: Unchanged skipping
2021/12/20 23:43:50 DEBUG : Public/.com.apple.timemachine.supported: Excluded
2021/12/20 23:43:50 DEBUG : Public/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Public/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Mail/PersistenceInfo.plist: Excluded
2021/12/20 23:43:50 DEBUG : Mail/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Music/iTunes: Excluded
2021/12/20 23:43:50 DEBUG : Music/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Sites/.localized: Excluded
2021/12/20 23:43:50 DEBUG : Thunderbird/.DS_Store: Excluded
2021/12/20 23:43:50 DEBUG : Documents/.localized: Excluded
(...)
2021/12/20 23:43:50 DEBUG : Documents/Contrat_Fondatechnique_213252-A-3.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Documents/License_destripe.rtf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Documents/License_destripe.rtf: Unchanged skipping
(...)
2021/12/20 23:43:50 DEBUG : Documents/Contrat_Fondatechnique_213252-A.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Documents/Contrat_Fondatechnique_213252-A.pdf: Unchanged skipping
2021/12/20 23:43:50 DEBUG : Documents/Contrat_Fondatechnique_213252-A-3.pdf: Unchanged skipping
2021/12/20 23:43:50 DEBUG : Documents/VT-iSIM System installation procedure v1.8.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Documents/Contrat_Fondatechnique_213252-A-2.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/20 23:43:50 DEBUG : Documents/Contrat_Fondatechnique_213252-A-2.pdf: Unchanged skipping
Then much later in the same log:
2021/12/21 02:47:51 DEBUG : Documents/Contrat_Fondatechnique_213252-A-3.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/21 02:47:51 DEBUG : Documents/Contrat_Fondatechnique_213252-A-3.pdf: Unchanged skipping
2021/12/21 02:47:51 DEBUG : Documents/Contrat_Fondatechnique_213252-A-2.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/21 02:47:51 DEBUG : Documents/Contrat_Fondatechnique_213252-A-2.pdf: Unchanged skipping
2021/12/21 02:47:51 DEBUG : Documents/License_destripe.rtf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/21 02:47:51 DEBUG : Documents/License_destripe.rtf: Unchanged skipping
Then again much later in the same log:
2021/12/21 05:51:52 DEBUG : Documents/Contrat_Fondatechnique_213252-A.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/21 05:51:52 DEBUG : Documents/Contrat_Fondatechnique_213252-A.pdf: Unchanged skipping
(...)
2021/12/21 05:51:52 DEBUG : Documents/Contrat_Fondatechnique_213252-A-3.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2021/12/21 05:51:52 DEBUG : Documents/Contrat_Fondatechnique_213252-A-3.pdf: Unchanged skipping
2021/12/21 05:51:52 DEBUG : Documents/Contrat_Fondatechnique_213252-A-2.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
(...)
2021/12/21 05:51:52 DEBUG : Documents/Contrat_Fondatechnique_213252-A-2.pdf: Unchanged skipping