Rsync is a tool used to replace rcp. Rsync uses the so-called "Rsync algorithm" to synchronize files between local and remote hosts. This algorithm only transfers different parts of two files, instead of sending the whole copy each time, the speed is quite fast. You can refer to How Rsync Works A Practical Overview to
Installation and configuration of rsync server in CentOS 6.3
I. Introduction to rsync
Remote synchronize (Rsync) is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts through the LAN/WAN, or use Rsync to synchronize different directories on the local hard disk.
I. Introduction to rsync
Remote synchronize (rsync) is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts through the LAN/WAN, or use rsync to synchronize different directories on the local hard disk.
Rsync is a tool used to replace RCP.
Installation and configuration of rsync server in CentOS 6.3, centosrsync
I. Introduction to rsync
Remote synchronize (Rsync) is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts through the LAN/WAN, or use Rsync to synchronize different directories on the local hard
Mysql semi-sync source code implementation, mysqlsemi-sync
Mysql replication briefly introduces the causes of mysql semi-sync, and explains how semi-sync ensures that no data is lost. This article focuses on the implementation of semi-sync, and presents the implementation pr
Rsync is synchronized by serviceThrough the service of the way first we have to open a service, its architecture is the CS architecture. Client and service side. The server opens a service, rsync service, and listens on a port, defaults to 873, and the port can be customized. After the service is turned on, the client can communicate through the 873 port and the server.It has a command format of two "::".Ex
private LANs
Hosts allow = $ allowip
Hosts deny = *
Max connections = 5
Motd file =/etc/rsyncd. motd
# This will give you a separate log file
# Log file =/var/log/rsync. log
# This will log every file transferred-up to 85,000 + per user, per sync
# Transfer logging = yes
Log format = % t % a % m % f % B
Syslog facility = local3
Timeout = 300
[Home]
Path = $ rsyncpath
List = yes
Ign
Tags: path encryption list plan start root new Pat ZH-CN
rsync Configuration Sync/data/www/DirectoryOne,rsync server configuration 1,yum-y install rsync xinetd installation rsync 2,vim/etc/rsyncd.conf new configuration file Make changes after adding the following to the
Linux rsync sync settings
Rsync is a data mirroring backup tool that keeps data synchronized between two servers, and the most frequently used scenario is backing up the data.The installation method is as follows:
Installation
Installing rsync under Ubuntu can be achieved by following these steps:
The c
Microsoft Sync Framework Metadata and synchronization process Metadata (Metadata)
Microsoft Sync Framework provides a complete synchronization platform for offline and collaborative applications, data storage, and devices without the following restrictions:
Synchronous data type
Data storage type
Transmission Protocol
Network topology, such as point-to-point or client-server Topology
On the contrary,
First, Introduction Rsync is a remote data synchronization tool that allows you to quickly sync files between multiple hosts. rsync uses the so-called "Rsync algorithm" to synchronize files between local and remote two hosts, which transmits only the different portions of two files, rather than the entire transfer eve
MySQL remote connection this has been practiced before, vaguely remember the damn space business sealed 3306 ....
I've been working on this all morning until now to get to the rsync.
Server 1: Sync source Server
Server 2: The synchronization server is the new server
First check that two servers have no rsync installed
The code is as follows
C
Windows also has a similar to the UNIX under the Rsync software, recently I tried the Cwrsync software, the configuration and use of the method introduced, it is really easier to use it.
Sync rsync Server software download Cwrsync_server_2.0.10_installer.zip
Sync rsync C
monitoring scripts#vi/srv/rsync.shRsync.sh contents are as follows:#!/bin/bashsrc=/srv/test/#监视改文件路径, folder content changes trigger server data synchronizationDes=backup #客服端配置的模块 (customer service side will introduce)Host= "192.168.10.6" #同步到的IP地址, if multiple spaces are separated. For example: host= "192.168.10.6 192.168.10.7"/usr/local/bin/inotifywait-mrq--timefmt '%d/%m/%y%h:%m '--format '%T%w%f '-e modify,delete,create,attrib $SRC | While read files #这边要主要下inotifywait, only the Linux 2.6.
In daily operations, we often use rsync as a synchronization artifact. Sometimes when synchronizing two directories, it is required to delete files in the target directory that are more than the source directory, in which case the--delete parameter of rsync can be used to implement this requirement.Like what:Synchronize the/tmp/work directory on Server A to the/tmp/work directory of Remote Server B (A and B
RYSNC is a data mirroring and backup tool that enables both local and remote host files, directories, fast synchronous mirroring, remote data backup and other functions. In the process of synchronization, Rsync is based on its own unique algorithm, only synchronized with the changes in the file, even in a file only synchronized with the changes in the part, so you can achieve rapid synchronization of data functions.
First: Dependent SSH service
/max_user_watchesecho "50000000" >/proc/sys/fs/inotify/max_queued_eventsMax_queued_events #队列容纳事件数量The number of Max_user_instances #每个用户可以运行wait watchMax_user_watches #最大监控文件数量rsync+intity pressure test effectBelow 200 files per second concurrency, basically no difference.Rsync+inotify Advantages and DisadvantagesAdvantages:Monitor file system event changes and synchronize tools for real-time data synchronizationDisadvantages:If concurrency is greate
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.