Linux rsync installation and use

Source: Internet
Author: User
Tags cpu usage rsync

Rsync

Usage:/etc/init.d/rsync {start|stop|reload|force-reload|restart|status}

Rsync Default configuration file

# defaults file for rsync daemon mode

# start rsync in daemon mode from INIT.D script?
# only allowed values is "true", "false", and "inetd"
# use "inetd" if you want to start the RSYNCD from inetd,
# All this does are prevent the Init.d script from printing a message
# about Don't starting RSYNCD (you still need to modify inetd ' config yourself).
Rsync_enable=false

# which file should is used as the configuration file for rsync.
# This file is used instead of the default/etc/rsyncd.conf
# warning:this option have no effect if the daemon is accessed
# using a remote shell. When using a different file for
# rsync might want to symlink/etc/rsyncd.conf to
# that file.
# rsync_config_file=

# What extra options to give Rsync--daemon?
# that excludes the--daemon; That's always do in the INIT.D script
# possibilities are:
#--address=123.45.67.89 (bind to a specific IP address)
#--port=8730 (bind to specified port; default 873)
Rsync_opts= "

# run RSYNCD at a nice level?
# The Rsync daemon can impact performance due to much I/O and CPU usage,
# So, want to run it at a nicer priority than the default priority.
# Allowed values are 0-19 inclusive; is a reasonable value.
Rsync_nice= "

# run RSYNCD with Ionice?
# "Ionice" does for IO load, "nice" does for CPU load.
# as Rsync is often used for backups which aren ' t all that time-critical,
# Reducing the Rsync IO priority would benefit the rest of the system.
# See the manpage for Ionice for allowed options.
#-C3 is recommended, this would run rsync IO at "idle" priority. Uncomment
# The next line to activate.
# rsync_ionice= '-c3 '

# Don ' t forget to the create an appropriate config file,
# Else the daemon would not start.

Linux rsync installation and use

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.