NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jhaye1
Oct 16, 2013Aspirant
RSYNC over SSH backup using a different port - OS 6.1.2
Hi There My environment: ReadyNAS RN102 OS: 6.1.2 My goal: Have an RSYNC-over-SSH backup job configured and running on my ReadyNAS, towards an RSYNC server that uses another port tha...
aquarito
Jul 18, 2014Tutor
Hi,
it seems the system itself supports already using a different port, only Frontview isn't able to handle it.
So what you can do is just creating a backup job and ignoring the fact that you want to use a different SSH port.
As soon as you've created the job login to the NAS by SSH and open the file
/etc/frontview/backup_jobs.conf
in an editor of your choice.
There you will find the configurations of your backup jobs.
To change the SSH port you've got the option to change two settings:
<src_port>
<dst_port>
* If you want to transfer data from a server to your NAS, change the src_port to the desired port.
* If you want to send data from your NAS to a server, change the dst_port.
Here you can see the configuration of a backupJob. I've marked the two parameters which you can adjust.
<backupJob>
<job_id>004</job_id>
<name>backuptoRemote</name>
<enabled>0</enabled>
<sch_every>24</sch_every>
<sch_start>0</sch_start>
<sch_end>23</sch_end>
<sch_dow>127</sch_dow>
<src_type>share</src_type>
<src_share_proto>Files</src_share_proto>
<src_share_vol>data</src_share_vol>
<src_path>Dev</src_path>
<src_login></src_login>
<src_password></src_password>
<src_port>0</src_port>
<src_eject>0</src_eject>
<dst_type>remote</dst_type>
<dst_share_proto>rsync+ssh</dst_share_proto>
<dst_share_vol></dst_share_vol>
<dst_path>my.host.org://home/nasuser/backup</dst_path>
<dst_login>nas</dst_login>
<dst_password></dst_password>
<dst_port>30462</dst_port>
<dst_eject>0</dst_eject>
<opt_full_backup_freq>FIRST_TIME</opt_full_backup_freq>
<opt_remove_previous_backup>0</opt_remove_previous_backup>
<opt_chown_to_share_owner>0</opt_chown_to_share_owner>
<opt_rsync_options>0</opt_rsync_options>
<opt_email_this_to_alert_email>0</opt_email_this_to_alert_email>
<opt_rsync_exclude></opt_rsync_exclude>
<opt_misc_option>0</opt_misc_option>
<wol_addr></wol_addr>
</backupJob>
One important thing:
Whenever you change your backup configuration the configuration file of the backup jobs will be rewritten. Unfortunatly the ports will reset to 0 (default). So you'll have to adjust the ports again after each backup configuration change. :-/
it seems the system itself supports already using a different port, only Frontview isn't able to handle it.
So what you can do is just creating a backup job and ignoring the fact that you want to use a different SSH port.
As soon as you've created the job login to the NAS by SSH and open the file
/etc/frontview/backup_jobs.conf
in an editor of your choice.
There you will find the configurations of your backup jobs.
To change the SSH port you've got the option to change two settings:
<src_port>
<dst_port>
* If you want to transfer data from a server to your NAS, change the src_port to the desired port.
* If you want to send data from your NAS to a server, change the dst_port.
Here you can see the configuration of a backupJob. I've marked the two parameters which you can adjust.
<backupJob>
<job_id>004</job_id>
<name>backuptoRemote</name>
<enabled>0</enabled>
<sch_every>24</sch_every>
<sch_start>0</sch_start>
<sch_end>23</sch_end>
<sch_dow>127</sch_dow>
<src_type>share</src_type>
<src_share_proto>Files</src_share_proto>
<src_share_vol>data</src_share_vol>
<src_path>Dev</src_path>
<src_login></src_login>
<src_password></src_password>
<src_port>0</src_port>
<src_eject>0</src_eject>
<dst_type>remote</dst_type>
<dst_share_proto>rsync+ssh</dst_share_proto>
<dst_share_vol></dst_share_vol>
<dst_path>my.host.org://home/nasuser/backup</dst_path>
<dst_login>nas</dst_login>
<dst_password></dst_password>
<dst_port>30462</dst_port>
<dst_eject>0</dst_eject>
<opt_full_backup_freq>FIRST_TIME</opt_full_backup_freq>
<opt_remove_previous_backup>0</opt_remove_previous_backup>
<opt_chown_to_share_owner>0</opt_chown_to_share_owner>
<opt_rsync_options>0</opt_rsync_options>
<opt_email_this_to_alert_email>0</opt_email_this_to_alert_email>
<opt_rsync_exclude></opt_rsync_exclude>
<opt_misc_option>0</opt_misc_option>
<wol_addr></wol_addr>
</backupJob>
One important thing:
Whenever you change your backup configuration the configuration file of the backup jobs will be rewritten. Unfortunatly the ports will reset to 0 (default). So you'll have to adjust the ports again after each backup configuration change. :-/
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!