NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ZkiiFreak
Sep 09, 2014Aspirant
RSync over SSH backup
Hi
I've just acquired a RN102 for a relative.
I'm setting it up so that my pictures are backed up to my relative's NAS (a RN102) over the Internet. I want to do this using RSync over SSH.
When configuring the backup job, which I do from my NAS (RN314) I set the up the source to a share on my own NAS. The destination is then my relative's NAS. When doing this with "standard" RSync (from my own NAS, the source NAS), the "Test Connection" seems to work fine. But when I switch to RSync over SSH, it fails. I recon this is because of a missing SSH key file. I then go to the "Advanced" tab of the backup job and select "Download SSH key file". I get a "public_ssh_key.txt" file. I assume this is the file I want to transfer to the destination NAS. But how on earth do I import this key file to the destination NAS? The guides available for RSync over SSH is for the older v4 or v5 systems...
Any takes?
Thanks in advance!
I've just acquired a RN102 for a relative.
I'm setting it up so that my pictures are backed up to my relative's NAS (a RN102) over the Internet. I want to do this using RSync over SSH.
When configuring the backup job, which I do from my NAS (RN314) I set the up the source to a share on my own NAS. The destination is then my relative's NAS. When doing this with "standard" RSync (from my own NAS, the source NAS), the "Test Connection" seems to work fine. But when I switch to RSync over SSH, it fails. I recon this is because of a missing SSH key file. I then go to the "Advanced" tab of the backup job and select "Download SSH key file". I get a "public_ssh_key.txt" file. I assume this is the file I want to transfer to the destination NAS. But how on earth do I import this key file to the destination NAS? The guides available for RSync over SSH is for the older v4 or v5 systems...
Any takes?
Thanks in advance!
14 Replies
Replies have been turned off for this discussion
- ZkiiFreakAspirant
StephenB wrote: Ok, I see. I was going by the name of the backup job rsync: mkdir "/root/data/Backup" failed: No such file or directory
is maybe a hint.
try /data/Backup/Pictures as the destination path. Also, make sure that path already exists.
I think the issue might be the fact that it tries to create the "/root/data/Backup" directory - this is not possible, it should be mapped to the "Backup"-share "/data/Backup" without the "/root". Is this correct to assume? - ZkiiFreakAspirant
ZkiiFreak wrote: StephenB wrote: Ok, I see. I was going by the name of the backup job rsync: mkdir "/root/data/Backup" failed: No such file or directory
is maybe a hint.
try /data/Backup/Pictures as the destination path. Also, make sure that path already exists.
I think the issue might be the fact that it tries to create the "/root/data/Backup" directory - this is not possible, it should be mapped to the "Backup"-share "/data/Backup" without the "/root". Is this correct to assume?
And that actually kinda answered my own question... I had put in "data/Backup" as destination - that gave the error. Putting in "/data/Backup" - prepending a forward slash - did the trick! Now I've learned a little there :) - mdgm-ntgrNETGEAR Employee RetiredAs Rsync over SSH uses the root user, the relevant home directory is /root. You definitely don't want to backup to /root as it would quickly fill the 4 GB OS partition.
- ZkiiFreakAspirant
mdgm wrote: As Rsync over SSH uses the root user, the relevant home directory is /root. You definitely don't want to backup to /root as it would quickly fill the 4 GB OS partition.
Quite right there! :)
Thanks everybody for the effort!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!