2009. július 14., kedd

rsync parancsról röviden

Telepítve van-e:
# dpkg --get-selections | grep rsync

----------------------------------------------------

rsync telepítése:
# apt-get update
# apt-get install rsync

----------------------------------------------------

rsync konfiguráció:

/etc/rsyncd.conf

uid=0
gid=0
read only = yes
use chroot = no
auth users = backup
hosts allow = 192.168.111.111
hosts deny = *
secrets file = /etc/rsync.secret

[mind]
path = /
exclude = /dev /initrd /lost+found /media /mnt /opt /proc /selinux /sys /tmp

Jogok beállítása:
/etc/rsync, /etc/rsyncd
640

Nincsenek megjegyzések:

Megjegyzés küldése