Try rsync service

Source: Internet
Author: User

Try rsync service source image IP: IP0 root configuration (as follows) and run:/usr/bin/rsync -- daemon -- config =/etc/rsyncd. conf 01gid = users02read only = true03use chroot = false04transfer logging = true05log format = % h % o % f % l % b06log file =/var/log/rsyncd. log07slp refresh = 30008 09 [SOSOLOG_DEPLOY] 10 path =/data/sosolog/deploy_path/11 comment = sosolog's deploy path12 auth users = soslog13 secrets file =/etc/rsyncd. soslog. secrets [chmod 600 it, content <soslog: logsos>] 14 host allow = real IP1, real IP2, allows access to the image side (such as real IP1, real IP2 ): rsync-avz soslog @ $ IP0: $ source_path/directory or file. /-- password-file =. /soslog_rsync.pwd -- exclude "*. log "-- exclude "*. tgz "-- exclude "*. tar "-- exclude "*. zip "-- exclude" tmplogs /*". /soslog_rsync.pwd content: logsos
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.