• December 01, 2021, 11:45:41 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Rsync without password prompt  (Read 2106 times)

gasman

  • Level 1 Member
  • *
  • Posts: 16
Rsync without password prompt
« on: October 06, 2020, 02:45:10 AM »

Hi all,
I have 2 DNS323 boxes. One has 2 * 500GB drives as Raid1 (A), and the other 2*2TB as raid1 (B)
I would like to backup A to B using rsync and cron.
I am happy with all the options and using it locally, and am getting confused on password settings/methods.

Can anyone point me to a 'simple' guide in how to rsync to B from A and have it run from cron overnight. Again I am happy with cron syntax, it is just how the passwords work for rsync.

TIA
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: Rsync without password prompt
« Reply #1 on: October 10, 2020, 12:11:02 PM »

A few of questions to help my understanding of what you are trying to do.
1) where are the rsync and cron programs running?
2) do you have a fixed IP for each NAS box?
3) how are the NAS boxes connected - a network switch or a router box?
Logged