SOLVED Rsync between 2 FreeNAS

fleg

Dabbler
Joined
Mar 13, 2019
Messages
10
I have a setup 2 servers via web gui...you can see it in attachment. But rsync not working properly.
I can see this in log.
Mar 13 01:00:00 freenas3 /usr/sbin/cron[57249]: (root) CMD (PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" /usr/bin/lockf -s -t 0 -k "/mnt/Backups/images" /usr/local/bin/rsync -r -t --delay-updates "/mnt/Backups/images" "root"@192.168.2.9::"zaloha" 2>&1 |/usr/bin/logger -t rsync)
When I try it manually I can see..
[root@freenas3] /mnt/Backups# /usr/local/bin/rsync -r -t --delay-updates "/mnt/Backups/images" "root"@192.168.2.9::"zaloha"
rsync: failed to connect to 192.168.2.9 (192.168.2.9): Connection refused (61)
rsync error: error in socket IO (code 10) at clientserver.c(128) [sender=3.1.1]
but I try a classic rsync it is working properly...
[root@freenas3] /mnt/Backups# /usr/local/bin/rsync -r -t --delay-updates /mnt/Backups/images root@192.168.2.9:/mnt/Backup
root@192.168.2.9's password:
[root@freenas3] /mnt/Backups#


Where is the problem? I tried to setup rsync with youtube howto and I check all parameters several times. I`m little confused.
 

Attachments

  • fn1.jpg
    fn1.jpg
    71.6 KB · Views: 483
  • fn2.jpg
    fn2.jpg
    59.7 KB · Views: 487
Joined
Jan 4, 2014
Messages
1,644

fleg

Dabbler
Joined
Mar 13, 2019
Messages
10
It seems I had a problem with lower and upper case ine the name.Solved.
 
Top