./categories/os
Synology NAS rsync 백업 (Ubuntu)
Ubuntu rsyncd — /etc/rsyncd.conf
max connections = 2
log file = /var/log/rsync.log
timeout = 300
[share]
comment = Public Share
path = <Full Path to Share>
read only = no
list = yes
uid = nobody
gid = nogroup
auth users = <user>
secrets file = /etc/rsyncd.secrets
권한: -rw-r--r-- root root
/etc/rsyncd.secrets
<user>:<password>
권한: -rw------- root root
디렉터리 / 데몬
mkdir -p <Full Path to Share>
chmod 777 <Full Path to Share>
# /etc/xinetd.d/rsync
# disable = yes → disable = no
테스트
rsync rsync://<user>@<hostname>/
# share Public Share
Synology
Backup Destination / Backup Task에서 rsync 대상 지정.
관련 링크: https://asylumsgate.wordpress.com/2014/09/06/backing-up-a-synology-nas-via-rsync-to-ubuntu/
./comments