dapice Posted January 9, 2018 Share Posted January 9, 2018 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 Quote Link to comment
JorgeB Posted January 9, 2018 Share Posted January 9, 2018 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. Quote Link to comment
dapice Posted January 9, 2018 Author Share Posted January 9, 2018 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] Quote Link to comment
JorgeB Posted January 9, 2018 Share Posted January 9, 2018 You're missing : after the IP address Quote Link to comment
dapice Posted January 9, 2018 Author Share Posted January 9, 2018 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 Quote Link to comment
JorgeB Posted January 9, 2018 Share Posted January 9, 2018 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. Quote Link to comment
dapice Posted January 9, 2018 Author Share Posted January 9, 2018 i have it enabled "login as root with password" enabled port 22 "TCP port forwarding" enabled. still getting same error Quote Link to comment
JorgeB Posted January 9, 2018 Share Posted January 9, 2018 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. Quote Link to comment
JorgeB Posted January 9, 2018 Share Posted January 9, 2018 Or you can try the other way around, rsync on FreeNAS with unRAID server as source. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.