"KeyTooLongError: Your key is too long" with rsync
-
Does anyone else get "KeyTooLongError: Your key is too long" errors on using rsync & encryption for backups with EspoCRM?
It happens with the basic installation and nothing changed other than the logo and localisation settings:
(The backups above that are Tarballs but that's impractical for larger servers.)
-
I guess this is towards an S3 storage? The issue comes from the backup encryption which also encrypts the filenames with rsync and thus if the directory tree is too deep it will eventually fail faster than without, depending on the filename length supported by the used storage.
Often this happens with Nextcloud but it can hit with any app of course. I don't think there is any other solution for now besides disabling backup encryption.