January 9, 20188 yr Hi i am using unraid 6 as my main server and recently setup a freenas 11 server for backups. i was told rsync is the best bet for backing up the unraid server to my freenas server. i cannot figure out how to set this up. i understand i will most likely have to use command line for the unraid server but cannot figure out how. TIA
January 9, 20188 yr Community Expert You can use something like this: rsync -av --no-perms -e ssh /path/to/source [email protected]:/path/to/dest I've found necessary to use --no-perms with FreeNAS your you'll get transfer errors.
January 9, 20188 yr Author i cant get it to work. am i missing something? root@Mai:~# rsync -av --no-perms -e ssh /mnt/user/Media [email protected]/mnt/Van/Media sending incremental file list rsync: mkdir "/root/[email protected]/mnt/Van/Media" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(657) [Receiver=3.1.2]
January 9, 20188 yr Author hi now i am getting this root@Mai:~# rsync -av --no-perms -e ssh /mnt/user/Media [email protected]:/mnt/Van/Media ssh: connect to host 192.168.1.10 port 22: Connection refused rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2] is this an issue with the freenas server? how can i get this to work. Thanks
January 9, 20188 yr Community Expert You need to enable the SSH service on FreeNAS, on the Services tab, and if not using a key enable "login as root with password", IIRC it's disable by default.
January 9, 20188 yr Author i have it enabled "login as root with password" enabled port 22 "TCP port forwarding" enabled. still getting same error
January 9, 20188 yr Community Expert Something is not correctly configured on your FreeNAS server as it's not accepting the connection, mine work with that command and didn't had to change anything other then the already mentioned, maybe ask for help on the FreeNAS forum.
January 9, 20188 yr Community Expert Or you can try the other way around, rsync on FreeNAS with unRAID server as source.
Archived
This topic is now archived and is closed to further replies.