What is the problem you are having with rclone?
Using the --cutoff-mode=soft, max-transfer=100G and --transfers=8. Once the max transfer limit is reached it seems the transfers are killed before they finished. What I was thinking would happen is no new transfers would start and the current ongoing transfers would be allowed to finish. The issue happens every single time so its easy to reproduce.
What is your rclone version (output from rclone version
)
rclone v1.53.0
- os/arch: linux/amd64
- go version: go1.15
Which OS you are using and how many bits (eg Windows 7, 64 bit)
4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy 'pyplexmove1:Plex/backup/!Finished' 'pyteammove1crypt:Current/backup/!Finished' \
--stats-file-name-length 0 \
--checkers 4 \
--transfers 8 \
--size-only \
--stats=1m \
--max-transfer=100G \
--cutoff-mode=soft \
-v
The rclone config contents with secrets removed.
[pyteammove1]
type = drive
client_id = Redacted
client_secret = Redacted
scope = drive
token = Redacted
team_drive = Redacted
root_folder_id =
service_account_file = Redacted
[pyteammove1crypt]
type = crypt
remote = pyteammove1:encrypt
password = Redacted
password2 = Redacted
A log from the command with the -vv
flag
This is not a -vv log and its just an excerpt of the final part of the -v log where the failure happens. Working on getting a -vv log.
Transferred: 102.506G / 270.556 GBytes, 38%, 79.561 MBytes/s, ETA 36m2s
Transferred: 33 / 71, 46%
Elapsed time: 22m3.6s
Transferring:
* File 7: 96% /3.906G, 9.943M/s, 14s
* File 8: 38% /4.219G, 9.624M/s, 4m34s
* File 1: 35% /4.246G, 9.977M/s, 4m40s
* File 2: 24% /4.043G, 10.047M/s, 5m12s
* File 3: 23% /4.125G, 10.232M/s, 5m17s
* File 4: 21% /3.892G, 10.347M/s, 5m1s
* File 5: 9% /4.182G, 9.612M/s, 6m42s
* File 6: 10% /3.974G, 10.719M/s, 5m40s
2020/09/04 09:32:20 INFO : File 7: Copied (new)
2020/09/04 09:32:20 ERROR : Cancelling sync due to fatal error: Max transfer limit reached as set by --max-transfer
2020/09/04 09:32:20 ERROR : File 5: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UzEf6g4-qLBdmFukaddb4PCTdwANdHOypxJl8W9sZfHaDejqy5McpzeWJL8PV_0Q-_TLjmaC6FWig4m9__TM-0H0VFp2w": context canceled
2020/09/04 09:32:20 ERROR : File 4: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UwyLCdE54srakSqysILlJaw6eUTDLiszc-OI0xDy7OyjnxGNPVz_iLHjceky4UFEZiTAg-oZaebA2Ad9c_P99jAdNIdjQ": context canceled
2020/09/04 09:32:20 ERROR : File 2: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UxWJQ2Q0-L3tZe-LN_4oG5QG-pm0Q5iWzeib1C4rZxMjeCCQIlFeqaLx3G0rdyYGy4mWNrcxBZQOrsRYLY3ioFI8dG4Kg": context canceled
2020/09/04 09:32:20 ERROR : File 6: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UxvQ6i7Sbm6Bb06qSxwuDZlNcveSlxK0sXwBTEN4M2ao2xHNhmLT92mEHkbrlIkwqiOVD-huGCywasLrFkfqomfMMYpsg": context canceled
2020/09/04 09:32:20 ERROR : File 3: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UwQfHEFEiTjJQhVoynxhNRKV-SY-wE1uE2L1kpRL45euE7VanupOwmsiHDTipCil4uyLWseNOqxiDjM14DhoLTWOe2vqQ": context canceled
2020/09/04 09:32:20 ERROR : File 1: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UyCejR6uc_wnmMg-VQLpEco7K2kuhQWZJsr2gAWhGA1KubooZguOLXcn793oDjDCFY6C0oG2knrUg42N77ZTY1Km32Bzw": context canceled
2020/09/04 09:32:20 ERROR : File 8: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ABg5-UxWhnF-YJwixjLY_m8FfsKNGPTyqfZvrLZC5Xh9jv4H7I8QRVT0RPbAvAg5Ua6lsMMzw_s-OXFKpUlgLj4wWAHD_Bsoqw": context canceled
2020/09/04 09:32:20 ERROR : Fatal error received - not attempting retries
2020/09/04 09:32:20 INFO :
Transferred: 103.657G / 245.948 GBytes, 42%, 79.546 MBytes/s, ETA 30m31s
Errors: 9 (fatal error encountered)
Transferred: 34 / 63, 54%
Elapsed time: 22m18.7s
2020/09/04 09:32:20 Failed to copy with 9 errors: last error was: Max transfer limit reached as set by --max-transfer