What is the problem you are having with rclone?
I have a sync setup that was suddenly not working anymore when combined with the --backup-dir or --suffix options.
I currently have it distilled to a problem in the moveto command that is not working when moving a file from the online protondrive to another folder on the same protondrive, see below.
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.2
- os/version: debian bookworm/sid (64 bit)
- os/kernel: 6.9.3-76060903-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.3
- go/linking: static
- go/tags: none
I was running v1.67.0 and ran in the same problems.
Which cloud storage system are you using? (eg Google Drive)
Proton Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone moveto proton:drive/test_file.bak proton:backup/test_file.bak -vv
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[proton]
type = protondrive
username = <my_email_address>@protonmail.com
password = XXX
2fa = 213722
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
A log from the command that you were trying to run with the -vv
flag
2025/01/03 13:56:33 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "moveto" "proton:drive/test_file.bak" "proton:backup/test_file.bak" "-vv"]
2025/01/03 13:56:33 DEBUG : Creating backend with remote "proton:drive/test_file.bak"
2025/01/03 13:56:33 DEBUG : Using config file from "/home/niels/.config/rclone/rclone.conf"
2025/01/03 13:56:33 DEBUG : proton drive root link ID 'drive/test_file.bak': Has cached credentials
2025/01/03 13:56:35 DEBUG : proton drive root link ID 'drive/test_file.bak': Used cached credential to initialize the ProtonDrive API
2025/01/03 13:56:38 DEBUG : fs cache: adding new entry for parent of "proton:drive/test_file.bak", "proton:drive"
2025/01/03 13:56:38 DEBUG : Creating backend with remote "proton:backup/"
2025/01/03 13:56:38 DEBUG : proton drive root link ID 'backup': Has cached credentials
2025/01/03 13:56:39 DEBUG : proton drive root link ID 'backup': Used cached credential to initialize the ProtonDrive API
2025/01/03 13:56:40 DEBUG : fs cache: renaming cache item "proton:backup/" to be canonical "proton:backup"
2025/01/03 13:56:41 DEBUG : test_file.bak: Need to transfer - File not found at Destination
2025/01/03 13:56:42.296343 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400), Attempt 1
2025/01/03 13:56:42.296388 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:42 ERROR : test_file.bak: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:42 ERROR : Attempt 1/3 failed with 1 errors and: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:43 DEBUG : test_file.bak: Need to transfer - File not found at Destination
2025/01/03 13:56:43.871477 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400), Attempt 1
2025/01/03 13:56:43.871519 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:43 ERROR : test_file.bak: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:43 ERROR : Attempt 2/3 failed with 1 errors and: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:45 DEBUG : test_file.bak: Need to transfer - File not found at Destination
2025/01/03 13:56:45.556743 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400), Attempt 1
2025/01/03 13:56:45.556779 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:45 ERROR : test_file.bak: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:45 ERROR : Attempt 3/3 failed with 1 errors and: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)
2025/01/03 13:56:45 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 11.7s
2025/01/03 13:56:45 DEBUG : 7 go routines active
2025/01/03 13:56:45 NOTICE: Failed to moveto: 400 PUT https://mail.proton.me/api/drive/shares/NdU4ou4vI9QVUZ2eph1KsOM7m6osgi_Vt6vXhcCtyIUwjsFmWjnjkXad7sqn-C1pqyBiJMCtHF4j6C0Sk1ktXQ==/links/-4GED1yN2N9tzNqPXZT2szCjFQaBWVPhCK57n14OPG-4ZcndPPaDge90MMvveYfF1bLk9CaicPtaqCx704Pcaw==/move: Dieser Wert sollte nicht leer sein. (Code=2000, Status=400)