/etc/rsyncd.conf


        uid = root
        gid = root
        port = 878
        use chroot = no
        max connections = 100
        timeout = 600
        pid file = /var/run/rsyncd.pid
        lock file = /var/run/rsyncd.lock
        log file = /var/log/rsyncd.log
        exclude = lost+found/
        transfer logging = yes
        ignore nonreadable = yes
        dont compress = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2
        [data]
        comment=data
        path = /data/rsyncdata/
        ignore errors
        read only = no
        list = no
        hosts allow = *
        auth users = lgsync
        secrets file = /etc/rsyncd.passwd
        [lgbak]
        path = /data/leguan_bak/
        ignore errors
        read only = no
        list = no
        hosts allow = 10.30.188.194 120.35.10.209
        hosts deny = *
        auth users = lgsync
        secrets file = /etc/rsyncd.passwdui

本站公眾號
   歡迎關注本站公眾號,獲取更多信息