Hi guys,
I'm having some problems in seting up a basic backup over ssh with rsync. It looks like a filename encoding issue. My setup is as follow:
rsync version 3.1.2 protocol version 31
1 FreeBSD 10.3-RELEASE-p24 server which mounts a windows server 2012 share like so:
1 FreeBSD 11.1-RELEASE-p4 server with ZFS all around.
If I run rsync like so:
I end up with a stuck rsync process which hits 100% cpu. If I do a truss on this process it looks like it is on an infinite lstat loop on a file with accents:
If I add the "--iconv=." option to the rsync command, the process finishes but it skips the accented files with the error "cannot convert filename".
I tried many encodings with the --iconv option but I can't get it to work.
Any help please?
I'm having some problems in seting up a basic backup over ssh with rsync. It looks like a filename encoding issue. My setup is as follow:
rsync version 3.1.2 protocol version 31
1 FreeBSD 10.3-RELEASE-p24 server which mounts a windows server 2012 share like so:
//user@Server/Folder /mnt/folder smbfs rw,-N,-I[serverIp],-Wdomain,-Eutf8:cp1252 0 0
1 FreeBSD 11.1-RELEASE-p4 server with ZFS all around.
If I run rsync like so:
rsync -rtdvz --delete --rsh='ssh -p1234' ssh-ip:/zfs/src/ /windowsShare/dest/
I end up with a stuck rsync process which hits 100% cpu. If I do a truss on this process it looks like it is on an infinite lstat loop on a file with accents:
lstat("file-with-accents.pdf",{ mode=-rwxrwx--- ,inode=1994285598,size=2904786,blksize=16644 }) = 190 (0xbe)
If I add the "--iconv=." option to the rsync command, the process finishes but it skips the accented files with the error "cannot convert filename".
I tried many encodings with the --iconv option but I can't get it to work.
Any help please?