I'm trying to use
rsync to make an archival copy of a file system. Most of the files are being copied OK. However, some files are failing to be copied with errors such as the following:
rsync: recv_generator: failed to stat "/offsite/secure/backup/equality/image/home/.ecryptfs/richw/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWZCrxWC57ny9UTn1cFNZL5w.27.bkB806NyASyVhlkjDSj8409CPYuh4U--/ECRYPTFS_FNEK_ENCRYPTED.FWZCrxWC57ny9UTn1cFNZL5w.27.bkB806NyN3crxC.r7IEshHGdDkRwJU--/ECRYPTFS_FNEK_ENCRYPTED.FZZCrxWC57ny9UTn1cFNZL5w.27.bkB806NyAT1fljq1oLjEFLY7WuGBIKEQb0Lw-70GL..7i70mP89OnSy2Lg88XZ-s5bs2ugEt16Xwqzd.SS1Gn-sditaJ6k--": File name too long (36)
Is there anything I can do to work around this problem?
The source computer is running Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-122-generic x86_64), with a ZFS source file system.
The destination computer is running Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86_64), with an ecryptfs file system on top of ext4.