Rsync to Pull

Status
Not open for further replies.

namaipa

Dabbler
Joined
Oct 3, 2016
Messages
11
Hello, I have now another NAS in the network, I saw that Rsync can pull from it. My question is how to add the user and password so I can do an incremental backup from that NAS to my FreeNAS? I only saw the option of Remote Host using user@ip but how I add the password? Thanks again for your time.
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Hello, I have now another NAS in the network, I saw that Rsync can pull from it. My question is how to add the user and password so I can do an incremental backup from that NAS to my FreeNAS? I only saw the option of Remote Host using user@ip but how I add the password? Thanks again for your time.
You don't use a password; set up SSH to use public key cryptography instead. Then rsync will use SSH to establish a connection and transfer data.
 

namaipa

Dabbler
Joined
Oct 3, 2016
Messages
11
You don't use a password; set up SSH to use public key cryptography instead. Then rsync will use SSH to establish a connection and transfer data.

Trying to do it but when I press Ok I get this error:

Code:
The Remote Path you specified does not exist or is not a directory.
Either create one yourself on the remote machine or uncheck the
'rsync_validate_rpath' field.
**Note**: This could also happen if the remote path entered
exceeded 255 characters and was truncated, please restrict it to
255. Or it could also be that your SSH credentials (remote host,etc) are wrong
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Trying to do it but when I press Ok I get this error:

Code:
The Remote Path you specified does not exist or is not a directory.
Either create one yourself on the remote machine or uncheck the
'rsync_validate_rpath' field.
**Note**: This could also happen if the remote path entered
exceeded 255 characters and was truncated, please restrict it to
255. Or it could also be that your SSH credentials (remote host,etc) are wrong
Did you to set up SSH so that you can connect without a password from the server which will be pulling data to the server from which you want to pull data?

What rsync command did you execute that returned this error message? Are you using the command line, or are you using FreeNAS rsync tasks?

EDIT: In any case, it looks like you have some bad path specifications in your rsync command...
 
Last edited:

namaipa

Dabbler
Joined
Oct 3, 2016
Messages
11
Did you to set up SSH so that you can connect without a password from the server which will be pulling data to the server from which you want to pull data?

What rsync command did you execute that returned this error message? Are you using the command line, or are you using FreeNAS rsync tasks?

EDIT: In any case, it looks like you have some bad path specifications in your rsync command...

I pulled up the key from the QNAP to the FreeNAS and I am using rsync tasks from the FreeNAS GUI, the path is in /share/folder/
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
I pulled up the key from the QNAP to the FreeNAS and I am using rsync tasks from the FreeNAS GUI, the path is in /share/folder/
Your problem could be the path, or it could be your SSH credentials.

From a shell on the FreeNAS system, can you enter ssh root@qnap and connect successfully to the QNAP system? I don't know your system's specifics; you will need to substitute the correct username for 'root' and hostname or explicit IP address for 'qnap'.
 

namaipa

Dabbler
Joined
Oct 3, 2016
Messages
11
Your problem could be the path, or it could be your SSH credentials.

From a shell on the FreeNAS system, can you enter ssh root@qnap and connect successfully to the QNAP system? I don't know your system's specifics; you will need to substitute the correct username for 'root' and hostname or explicit IP address for 'qnap'.

Yes, from a shell if I do ssh I can enter to the QNAP, but when I do ssh from shell is still asking me for password, even using -t or -T
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Yes, from a shell if I do ssh I can enter to the QNAP, but when I do ssh from shell is still asking me for password, even using -t or -T
Then you still don't have SSH set up correctly. Your rsync tasks won't work until this is fixed.
 
Status
Not open for further replies.
Top