"KeyTooLongError: Your key is too long" with rsync
marcusquinn last edited by marcusquinn
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.
marcusquinn last edited by
@nebulon Yeah S3. I just thought it strange to happen with the clean install but I guess that's how it's designed. Thanks, I'll have a rethink on the options.
That's a bit unfortunate that the default install hits the key limit issue The key limit limitations are documented here - https://docs.cloudron.io/backups/#encryption