Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid

[code]
    path = /myFolderToShare
    comment = Data
    uid = root
    gid = root
    read only = yes
    list = yes
    auth users = john
    secrets file = /etc/rsyncd.secrets
    hosts allow = 192.168.1.0/255.255.255.0


Create Authentication File


vi /etc/rsyncd.secrets


Fill in the usernames and passwords:

Code Block
john:password

chmod 600 /etc/rsyncd.secrets

...

Enable rsync at Bootup

systemctl enable rsync

Connecting to it using QNAP

From the QNAP Hybrid Backup Sync, select Storage Spaces.

Image Removed

Click Create

Image Removed

Select Remote RSync Server.

Image Removed

Specify the details of the RSync Sever and click Create.

Image Removed

Create Sync Job

From the Sync page, select Create and select Active Sync Job.

Image Removed


Reference

ReferenceURL
Ubuntu - Set Up Rsync Serverhttps://blog.programster.org/ubuntu-set-up-rsync-server