====== rsync ======
[[https://www.servers.ru/knowledge/linux-administration/how-to-copy-files-between-linux-servers-using-rsync|Как при помощи rsync копировать файлы между Linux-серверами]] {{it:rsync:kak_pri_pomoschi_rsync_kopirovat_fajly_mezhdu_linux-serverami.mhtml|mht}}\\
[[https://rtfm.co.ua/linux-primery-ispolzovaniya-rsync|Linux: примеры использования rsync]] {{it:rsync:linux-_primery_ispolzovanija_rsync.mht|mht}}\\
[[https://serveradmin.ru/rsync-nastroyka-bekapa-na-centos-debian-ubuntu/#Ustanovka_rsync_na_DebianUbuntu|Rsync настройка бэкапа на CentOS / Debian / Ubuntu]] {{it:rsync:rsync_nastrojka_behkapa_na_centos-debian-ubuntu.mht|mht}}\\
#!/bin/bash
rsync -avzh --exclude 'logs' --exclude 'backups' --backup-dir=`date +%Y-%m-%d_%H-%M` --delete-after ../rsync /var/tmp/111
===== daemon =====
max connections = 10
exclude = lost+found/
dont compress = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2 *.rar *.7z *.mp3 *.jpg
log file = /var/log/rsyncd.log
[Projects]
uid = mz
gid = mz
path = /mnt/samba/Projects/
comment = Архив проектов
read only = no
list = yes
auth users = mz
secrets file = /etc/rsyncd.scrt
hosts allow = localhost 10.0.68.0/25
hosts deny = *
mz:mz2000