Rsync from TrueNAS SCALE (source) to Synology (destination)

Ashkaan

Dabbler
Joined
Dec 3, 2022
Messages
40
I can't for the life of me find anyone that's successfully doing this. I know I've got the authentication down right. I'm testing via SSH and here's what I get:
Input:
Code:
rsync -rP --rsync-path=/bin/rsync -e 'ssh -p 8222' /mnt/pool/media/Videos/Jessica/Movies/Wonder\ \(2017\) root@synology:/volume1/media/Videos/Jessica/Movies/ -vvvvvv

Output:
Code:
cmd=ssh -p 8222 machine=synology user=root path=/volume1/media/Videos/Jessica/Movies/
cmd[0]=ssh cmd[1]=-p cmd[2]=8222 cmd[3]=-l cmd[4]=root cmd[5]=synology cmd[6]=/bin/rsync cmd[7]=--server cmd[8]=-vvvvvvre.iLsfxCIvu cmd[9]=--partial cmd[10]=. cmd[11]=/volume1/media/Videos/Jessica/Movies/
opening connection using: ssh -p 8222 -l root synology /bin/rsync --server -vvvvvvre.iLsfxCIvu --partial . /volume1/media/Videos/Jessica/Movies/  (12 args)
msg checking charset: UTF-8
FILE_STRUCT_LEN=96, EXTRA_LEN=4
(Server) Protocol versions: remote=31, negotiated=31
(Client) Protocol versions: remote=31, negotiated=31
FILE_STRUCT_LEN=24, EXTRA_LEN=4
sending incremental file list
[sender] change_dir(/mnt/pool/media/Videos/Jessica/Movies)
[sender] make_file(Wonder (2017),*,0)
[sender] flist start=1, used=1, low=0, high=0
[sender] i=1 /mnt/pool/media/Videos/Jessica/Movies Wonder (2017)/ mode=040777 len=3 flags=1005
send_file_list done
[sender] pushing local filters for /mnt/pool/media/Videos/Jessica/Movies/Wonder (2017)/
[sender] make_file(Wonder (2017)/Wonder (2017) [Bluray 2160p HDR 10bit x265 TrueHD 7.1].mkv,*,2)
[sender] flist start=3, used=1, low=0, high=0
[sender] i=3 /mnt/pool/media/Videos/Jessica/Movies Wonder (2017)/Wonder (2017) [Bluray 2160p HDR 10bit x265 TrueHD 7.1].mkv mode=0100777 len=12,009,178,857 flags=1200
[sender] flist_eof=1
file list sent
send_files starting
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
[sender] _exit_cleanup(code=12, file=io.c, line=228): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.3]
[sender] _exit_cleanup(code=12, file=io.c, line=228): about to call exit(12)
root@TrueNAS[~]# rsync -rP --rsync-path=/bin/rsync -e 'ssh -p 8222' /mnt/pool/media/Videos/Jessica/Movies/Wonder\ \(2017\) root@:/volume1/media/Videos/Jessica/Movies/ -vvvvvv
cmd=ssh -p 8222 machine= user=root path=/volume1/media/Videos/Jessica/Movies/
cmd[0]=ssh cmd[1]=-p cmd[2]=8222 cmd[3]=-l cmd[4]=root cmd[5]= cmd[6]=/bin/rsync cmd[7]=--server cmd[8]=-vvvvvvre.iLsfxCIvu cmd[9]=--partial cmd[10]=. cmd[11]=/volume1/media/Videos/Jessica/Movies/
opening connection using: ssh -p 8222 -l root  /bin/rsync --server -vvvvvvre.iLsfxCIvu --partial . /volume1/media/Videos/Jessica/Movies/  (12 args)
msg checking charset: UTF-8
ssh: Could not resolve hostname : Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
[sender] _exit_cleanup(code=12, file=io.c, line=228): entered
rsync error: unexplained error (code 255) at io.c(228) [sender=3.2.3]
[sender] _exit_cleanup(code=12, file=io.c, line=228): about to call exit(255)
 
Top