User Tools

Site Tools


rsync

This is an old revision of the document!


RSYNC

/etc/rsyncd.conf

use chroot = yes

[documents]
    path = /storage/public
    comment = Public
    uid = nobody
    gid = nobody
    read only = no
    list = yes
    auth users = rsyncclient
    secrets file = /etc/rsyncd.secrets
    hosts allow = 10.0.0.0/255.0.0.0

/etc/rsyncd.secrets

rsyncclient:passWord
backup:Password
user:password

sudo chmod 600 /etc/rsyncd.secrets

Synchronize with dir

rsync -avzhe ssh --delete /opt/arcgis/server/usr/directories/  root@10.160.149.26:/opt/arcgis/server/usr/directories
rsync.1653546328.txt.gz · Last modified: 2022/05/26 08:25 by Jan Forman