What is the problem you are having with rclone?
Previously working backup to Backblaze B2 fails with error: ERROR File name in UTF8 must be no more than 1024 bytes. After the third such error the backup
fails. Takes about 10 minutes. I'm trying to backup about 1TB.
Yes, I understand that this is similar to an old forum post here. I tried what that old post suggested but I'm still in the dark.
I sure wish that error message told me WHICH file was causing trouble, or rclone
could munge filenames appropriately so this didn't happen or could be ignored. But I guess that's not possible?
I used the rclone lsf command to scan for long files and the longest found is only 300 characters. I'm using the --skip-symblinks switch so it shouldn't be a symblink issue? No? Yes?
The original post linked above says something about when he 'set the dest' he saw the problem. I didn't understand what it was he did at that point. Maybe I could do the same?
I'm seeking some advice.
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.2
- os/version: freebsd 13.1-release-p7 (64 bit)
- os/kernel: 13.1-release-p7 (amd64)
- os/type: freebsd
- os/arch: amd64
- go/version: go1.21.3
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Backblaze B2
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync --skip-links --b2-hard-delete --modify-window 1s --fast-list --min-age 15m --log-level DEBUG --log-file /root/rclone-debug.log /mnt/NADODATA secret:
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[remote]
type = b2
account = XXX
key = XXX
endpoint =
[secret]
type = crypt
remote = remote:NADOBACK
filename_encryption = standard
password = XXX
password2 = XXX
A log from the command that you were trying to run with the -vv
flag
2023/11/22 19:55:43 DEBUG : --min-age 15m0s to 2023-11-22 19:40:43.965102049 +0000 UTC m=-899.826410527
2023/11/22 19:55:43 DEBUG : rclone: Version "v1.64.2" starting with parameters ["install/rclone" "sync" "--skip-links" "--b2-hard-delete" "--modify-window" "1s" "--fast-list" "--min-age" "15m" "--log-level" "DEBUG" "--log-file" "/root/rclone-debug.log" "/mnt/NADODATA" "secret:"]
2023/11/22 19:55:43 DEBUG : Creating backend with remote "/mnt/NADODATA"
2023/11/22 19:55:43 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/11/22 19:55:43 DEBUG : local: detected overridden config - adding "{HK82T}" suffix to name
2023/11/22 19:55:43 DEBUG : fs cache: renaming cache item "/mnt/NADODATA" to be canonical "local{HK82T}:/mnt/NADODATA"
2023/11/22 19:55:43 DEBUG : Creating backend with remote "secret:"
2023/11/22 19:55:44 DEBUG : Creating backend with remote "remote:NADOBACK"
2023/11/22 19:55:44 DEBUG : remote: detected overridden config - adding "{jlU5h}" suffix to name
2023/11/22 19:55:44 DEBUG : fs cache: renaming cache item "remote:NADOBACK" to be canonical "remote{jlU5h}:NADOBACK"
2023/11/22 19:56:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 1m0.5s
2023/11/22 19:57:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 2m0.5s
2023/11/22 19:58:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 3m0.5s
2023/11/22 19:59:21 ERROR : Encrypted drive 'secret:': error reading destination root directory: File name in UTF8 must be no more than 1024 bytes (400 bad_request)
2023/11/22 19:59:21 DEBUG : Encrypted drive 'secret:': Waiting for checks to finish
2023/11/22 19:59:21 DEBUG : Encrypted drive 'secret:': Waiting for transfers to finish
2023/11/22 19:59:21 ERROR : Encrypted drive 'secret:': not deleting files as there were IO errors
2023/11/22 19:59:21 ERROR : Encrypted drive 'secret:': not deleting directories as there were IO errors
2023/11/22 19:59:21 ERROR : Attempt 1/3 failed with 1 errors and: File name in UTF8 must be no more than 1024 bytes (400 bad_request)
2023/11/22 19:59:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 4m0.5s
2023/11/22 20:00:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 5m0.5s
2023/11/22 20:01:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 6m0.5s
2023/11/22 20:02:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 7m0.5s
2023/11/22 20:03:01 ERROR : Encrypted drive 'secret:': error reading destination root directory: File name in UTF8 must be no more than 1024 bytes (400 bad_request)
2023/11/22 20:03:01 DEBUG : Encrypted drive 'secret:': Waiting for checks to finish
2023/11/22 20:03:01 DEBUG : Encrypted drive 'secret:': Waiting for transfers to finish
2023/11/22 20:03:01 ERROR : Encrypted drive 'secret:': not deleting files as there were IO errors
2023/11/22 20:03:01 ERROR : Encrypted drive 'secret:': not deleting directories as there were IO errors
2023/11/22 20:03:01 ERROR : Attempt 2/3 failed with 1 errors and: File name in UTF8 must be no more than 1024 bytes (400 bad_request)
2023/11/22 20:03:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 8m0.5s
2023/11/22 20:04:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 9m0.5s
2023/11/22 20:05:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 10m0.5s
2023/11/22 20:06:29 ERROR : Encrypted drive 'secret:': error reading destination root directory: File name in UTF8 must be no more than 1024 bytes (400 bad_request)
2023/11/22 20:06:29 DEBUG : Encrypted drive 'secret:': Waiting for checks to finish
2023/11/22 20:06:29 DEBUG : Encrypted drive 'secret:': Waiting for transfers to finish
2023/11/22 20:06:29 ERROR : Encrypted drive 'secret:': not deleting files as there were IO errors
2023/11/22 20:06:29 ERROR : Encrypted drive 'secret:': not deleting directories as there were IO errors
2023/11/22 20:06:29 ERROR : Attempt 3/3 failed with 1 errors and: File name in UTF8 must be no more than 1024 bytes (400 bad_request)
2023/11/22 20:06:29 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 10m45.8s
2023/11/22 20:06:29 DEBUG : 6 go routines active
2023/11/22 20:06:29 Failed to sync: File name in UTF8 must be no more than 1024 bytes (400 bad_request)