Hi, i've been saving my data from idriveE2 to move to other provider, also backing up to 2x HDDs. On idrive all was unencrypted, for the other provider, and HDDs i use the same crypt remote. both copies made directly from idrivee2.
So idrivee2-> 1fichier using encryption, idrivee2-> hdd using same encryption, hdd > other hdd using same encryption (this is when i've noticed the errors, also tried to open the same files from the 1fichier, and there same problem).
Some very important files seem to be corrupted on both, same files.
When copying from idriveE2 there wasn't any error shown by rclone, but now when i try to open them from the other provider, or the HDDs, i can't.
The strange thing is, this corruption happens mostly with mkv (matroska) files, but next to these mkv files, the mp4 and other files are playable, independent from size.
But also there are mov files corrupted, some restic backup files, and a 36 gbyte raw disk clone file (hogymeglegyen20210508_2004.ksgp).
I see such errors:
2023/12/11 10:16:19 NOTICE: 9du82tg6at2qv0bjl5mjoc96ho/9v6hrqv9b57941m6k3u6dpjovq6n13m22t0e507ib1nbr51jpe39psptsdudb8gnnsmpd0llrfjn2j7cuirsqu1iiab77g8oq32tntg: Removing partially written file on error: failed to authenticate decrypted block - bad password?
2023/12/11 10:16:19 ERROR : ment/hogymeglegyen20210508_2004.ksgp: Failed to copy: failed to authenticate decrypted block - bad password?
2023/12/11 12:29:25 NOTICE: 95vau4pqssc8ghf5ibf3qk82co/9q1863ckhatj0hbl080ra0t9civn7d9h1rqkl3375hqpplp8p02tekbk3q1vnb8bvhb99g59r3jpu: Removing partially written file on error: failed to authenticate decrypted block - bad password?
2023/12/11 12:29:25 ERROR : moccvid/20180921_203725.MOV: Failed to copy: failed to authenticate decrypted block - bad password?
2023/12/11 13:07:04 ERROR : upszi/inasz/mipi/181703_juvkd.mkv: Failed to copy: failed to open source object: not an encrypted file - bad magic string
2023/12/11 13:56:19 ERROR : moccvid/20191026/20191026_133056 Pilisvörösvár-Dobogókő-Esztergom felé.MOV: Failed to copy: failed to authenticate decrypted block - bad password?
rclone versions (copying is done with a win pc, and 2 linux pcs, always taking care to avoid concurrent writes, only one machine was doing the copy)
win:
rclone v1.65.0
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.2715 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount
linux 1 (home server):
rclone v1.65.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-163-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: none
linux 2 (laptop):
rclone v1.65.0
- os/version: linuxmint 21.2 (64 bit)
- os/kernel: 5.15.0-91-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: none
remotes used:
downloading from:
[idrives3test]
type = s3
provider = IDrive
access_key_id = XXX
secret_access_key = XXX
acl = private
endpoint = i6m4.fra.idrivee2-26.com
chunk_size = 16Mi
upload_concurrency = 8
multi_thread_streams = 8
other provider remote (used only by the crypt remote):
[1fichier]
type = fichier
api_key = XXX
crypt remotes (all of these are duplicated from the first with "copy remote" in rclone config, only the remote path is changed) :
[backupkript1fichier]
type = crypt
remote = 1fichier:/bigtar/
password = XXX
password2 = XXX
[backupkript_I]
type = crypt
remote = phydisk:i:/bck/
password = XXX
password2 = XXX
[backupkript_O]
type = crypt
remote = phydisk:o:/bck/
password = XXX
password2 = XXX
physical disk remote
[phydisk]
type = local
commands
idrive-> 1fichier encrypt
rclone copy idrives3test://bigtar/ backupkript1fichier: -P --modify-window 5s --order-by size,desc
idrive -> hdd encrypt:
rclone copy idrives3test:bigtar/ backupkript_I: --exclude="film/**" --multi-thread-streams 8 --s3-upload-concurrency 8 --s3-chunk-size 16M --modify-window=10s -P -vv
hdd to hdd:
rclone copy backupkript_I:/ backupkript_O:/
EDIT:
I've now tried this on windows machine:
rclone mount "backupkript1fichier:" x: --vfs-fast-fingerprint --dir-cache-time 5m --vfs-cache-mode=minimal -v
and opened some of the problematic files, those are opening correctly!
on linux machine this runs:
nohup rclone serve webdav backupkript1fichier:/ --addr :8889 --dir-cache-time 3h --vfs-read-chunk-size=16Mi --vfs-fast-fingerprint --vfs-cache-mode=minimal --track-renames --user user --pass xxxxxxx &> ~/webdavallz.txt&
the mkv files don't open, however it can be because of limitations of webdav. No error in log.
But still the copy from HDD to HDD have the errors above, while as i mentioned same crypt used, also exactly the same HDD with same exFAT FS.
I've saw that the very long filenames which are ok on the first HDD, causing the usual too long filename errors (Failed to copy: The filename, directory name, or volume label syntax is incorrect.
because of exFAT 255 limit) on copying to the second HDD.
Its strange because everything is the same, also checked the encrypted file and folder names, those are the same too, so the encryption is surely the same, with same lenght filenames, and same lenght paths.