User Tools

Site Tools


rsync

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
rsync [2016/10/14 14:33] – external edit 127.0.0.1rsync [2022/05/26 08:25] Jan Forman
Line 1: Line 1:
 +====== RSYNC ======
  
 +
 +====== /etc/rsyncd.conf ======
 +<code>
 +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
 +</code>
 +
 +====== /etc/rsyncd.secrets ======
 +<code>
 +rsyncclient:passWord
 +backup:Password
 +user:password
 +</code>
 +
 +sudo chmod 600 /etc/rsyncd.secrets
 +
 +====== Synchronize with dir ======
 +<code>rsync -avzhe ssh --delete /opt/arcgis/server/usr/directories/  root@10.160.149.26:/opt/arcgis/server/usr/directories</code>
rsync.txt · Last modified: 2023/02/23 11:25 by Jan Forman