First, rsync1. What is rsyncRsync is a remote data synchronization tool that enables data synchronization within or across hosts. With the service runtime listening on the TCP 873 port, the rsync algorithm can reach only the part of the file change, not the entire transmission, so the speed is quite fast, good performance.So rsync can usually be used as a backup tool.1.1
If you are a maintenance engineer, you are likely to face dozens of, hundreds of or even thousands of servers, in addition to bulk operations, environmental synchronization, data synchronization is also essential skills.
When it comes to "sync," the weapon that has to be mentioned is rsync, and today is the art of sync I see in this tool.
[With no options]
We often use rsync in this way:
Copy Cod
Linux operation and Maintenance Phase III (14) rsyncFirst, related concepts:Rsync(remote Synchronize,rsync.samba.org): Long-distance data synchronization tool, fast synchronization of files between multiple hosts via the network, and rsync can also be used Synchronization of data in different directories on the local hard disk, using its own algorithm (rsync algorithm) to transfer only two different parts o
Real-time synchronization of data in Linux under Rsync+inotify-toolsHttp://www.osyunwei.com/archives/7435.htmlDescriptionOperating system: CentOS 5.XSource server: 192.168.21.129Target server: 192.168.21.127,192.168.21.128Objective: To synchronize the/home/www.osyunwei.com directory on the source server to the/home/www.osyunwei.com of the target server in real timeSpecific operation:The first part: operate on two target server 192.168.21.127,192.168.2
When files on one server are updated, other servers also need to be updated, and when they are updated
It should be updated only on new or modified files, otherwise it will cause network bandwidth and waste of time. Rsync is able to have
Excellent software that keeps files and directories consistent.
Rsync,remote Synchronize
As implies know it is a remote synchronization function of the software, it synchro
For each of the above six command formats, Rsync has six different working modes:
1 Copy Local files. This mode of operation is initiated when both SRC and des path information do not contain a single colon ":" delimiter. such as: Rsync-a/data/backup
2 Use a remote shell program (such as rsh, SSH) to copy the contents of the local machine to the remote machine. This mode is started when the DST path address
Rsync synchronization art if you are an O M engineer, you are likely to face dozens, hundreds, or even thousands of servers, in addition to batch operations, environment synchronization and data synchronization are also essential skills. When it comes to synchronization, rsync is a powerful tool that I have to mention. today I will talk about it from this job... if you are an O M engineer, you may face do
Transferred from: http://roclinux.cn/?p=2643If you are an OPS engineer, you are likely to face dozens of, hundreds of or even thousands of servers, in addition to batch operations, environment synchronization, data synchronization is also an essential skill.When it comes to "syncing," the one thing you have to mention is rsync, and today it's the art of syncing that I see from this tool.[without any options]We often use
Use rsync and crond servers for WEB Service backup, rsynccrondBack up WEB services using rsync and crond serversScenario:A company has a Web server. The data in the server is very important, but if the hard disk breaks down, the data will be lost.Now the leaders ask you to back up data on other machines. The requirements are as follows:At every night, package the backup system configuration files, website p
Rsync synchronization art if you are an O M engineer, you are likely to face dozens, hundreds, or even thousands of servers, in addition to batch operations, environment synchronization and data synchronization are also essential skills. When it comes to "synchronization", rsync is a powerful tool that I have to mention. Today I will talk about the synchronization art I have seen from this tool. [Without a
Rsync installation
The latest version of the current rsync is 3.0.9.
wget http://rsync.samba.org/ftp/rsync/rsync-3.0.9.tar.gz Tar-xvzf rsync-3.0.9.tar.gz; CD rsync-3.0.9;./configure; Make Make install
Servers often maintain a consistent set of files or directories, such as large software download sites, which typically use multiple servers to provide download services. When the file on a server is updated, other servers need to be updated, and should be updated only for new or modified files, or it will cause network bandwidth and time wasted. Rsync is an excellent software that can effectively keep files and directories consistent.Rsync,remote Syn
Rsync Introduction
Rsync is a file synchronization and transmission tool in UNIX systems.
It has the following features:
1. Update the entire directory and tree and File System
2. selectively preserve symbolic links, hard links, files belonging to, permissions, devices, and time
And so on
3. There are no special permission requirements for installation.
4. For multiple files, the internal pipeline reduces t
Install rsync in Redhat
1, first on the server and the client are installed rsync, my RHEL5 by default has been installed. When installing REDHAT5, you can see it in the "basic system" in software Customization-"basic" optional packages: rsync-2.6.8 is installed by default
2, can also be checked through the command line is installed:
Or: Rpm–q
Rsync Software Introduction:Rsync is a data mirroring Backup tool under Unix-like systems, and--remote sync can be seen from the name of the software. Its characteristics are as follows:Can be mirrored to save the entire directory tree and file system.It is easy to maintain the original file permissions, time, soft and hard links and so on.can be installed without special permissions.Optimized flow, high efficiency of file transfer.You can use RCP, ss
Bring you into the rsync worldGuideRemote 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. There are three methods to use rsync. There are also six
Rsync is a data Image Backup tool mdash; remotesync in unix-like systems. Rsync is a very powerful tool, and its commands have many special options. The following describes the options one by one. Its features are as follows: you can save the entire rsync image.
Rsync is a data Image Backup tool in unix-like systems-r
Using rsync + inotify-tools + ssh to implement triggered remote real-time file synchronization images are required in many places. Therefore, rsync is a free software that has been widely used, the cwRsyncServer that supports rsync is available on Windows. However, we generally use... using rsync + inotify-tools + ssh
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.