device to see if the file passed through.[Email protected] tmp]# Ls/tmp/rsyncAming-02.txthas been synchronized.In turn, we can also pull this file out of the machine.[Email protected] tmp]# RSYNC-AVP 192.168.1.106::test/aming-02.txt/tmp/123.txtReceiving incremental file listAming-02.txt1159 100% 1.11mb/s 0:00:00 (xfer#1, TO-CHECK=0/1)Sent bytes received 1266 bytes 2622.00 bytes/secTotal size was 1159 speedup is 0.88Also succeeded.Linux system logsThe
Real-time data synchronization using rsync + inotify
As the scale of application systems continues to expand, rsync also puts forward better requirements on data security and reliability. In the high-end business system, rsync gradually exposes many shortcomings. First, during rsync data synchronization, You need to sc
Rsync Service SummaryDirectoryRsync Service Summary 1The 1th Chapter Rsync Introduction 31.1 What is rsync 31.2 Rsync features 31.3 Rsync Common Options 31.4 Rsync Three modes of Operation 41.4.1 Local Mode 41.4.2 SSH Channel mode
Brief introductionFor small and medium-sized businesses or websites that choose Linux as an application platform, they often face problems with remote backup of data or mirror images of the site, although there are commercially available backup and mirror products to choose from, but the prices of these products are often too expensive. Therefore, how to use free software to efficiently realize remote backup and website mirror image becomes a topic worthy of discussion.The simplest way to make a
Contents
Introduction
How does it work?
Setting up a server
Using rsync itself
Rsync on the net
Introduction
Rsync is a wonderful little utility that's amazingly easy to set up on your machines. rather than have a scripted FTP session, or some other form of File Transfer script -- rsync copies only the diffs o
Tags: real-time CAL SQL Sage EFI level system word third-partyReal-time file synchronization via Rsync and INotify (asynchronous file system event monitoring mechanism) under LinuxOriginal: http://www.summerspacestation.com/linux%E4%B8%8B%E9%80%9A%E8%BF%87rsync%E4%B8%8Einotify%E5%BC%82%E6%AD%A5% E6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%e4%ba%8b%e4%bb%b6%e7%9b%91%e6%8e%a7%e6%9c%ba%e5%88%b6%e5%ae%9e%e7%8e%b0%e6 %96%87%e4%bb%b6/Catalog [Hide]Inotify-tools Too
System: Fedora12 install rsync: Yuminstallrsyncvietcxinetd. drsyncdisableno -------- changetoyes read: Use Rsync auto sync tool in Debian and Fedora http: www.linuxidc.comLinux2011-0840819.htm server related configuration 1. Create three files in etc
System: FEdOra12Install rsyNc: Yum install rSyncVi/etc/xinetd. d/rsyncDisable = no
Related reading:Http://www.lin
I just got in touch with the rsync synchronization Backup Server File software. I am looking for an rsync parameter description today. I will introduce these parameters to you. I hope they will help you.
Rsync Installation
The latest version of rsync is 3.0.9.
Wget http://rsync.samba.org/ftp/
1. Structure of the rsync client and server:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/47/53/wKioL1P4UDSBT-mBAAEbRkRVC10368.jpg "Title =" rsync ..jpg "alt =" wKioL1P4UDSBT-mBAAEbRkRVC10368.jpg "/>
During routine maintenance, data backup is a relatively basic one. Rsync solves tedious data synchronization from time to time and does not need to
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
, change the permissions of 600chmod 600/ETC/RSYNCD.SCRTD, start the service (if you have a firewall, allow port 873 to pass)Rsync--daemon--config=/etc/rsyncd.conf 2. Configure the ClientClient I compiled my own installation of the rsync-3.0.3.tar.gzA, Installation:TAR-ZXVF rsync-3.0.3.tar.gzCD rsync-3.0.3./configureMa
configurationDoneecho "${files} was rsynced" >>/tmp/rsync.log 2>1 #生成日志文件Done
4) Start Nohup#nohup/bin/bash/srv/rsync.sh //Background not hung up to run the command#echo "Nohup/bin/bash/root/bin/rsync.sh " >>/etc/rc.local//Set up Linux Server start automatic start nohuprsync + inofity Server is configured, next we will configure the customer service side
Two. Installation Steps (customer service side)
1) Install
Transferred from: http://chocolee.blog.51cto.com/8158455/1400596 With the expansion of application system scale, the security and reliability of data also put forward better requirements, rsync in the high-end business system also gradually exposed a lot of shortcomings, first, rsync synchronization data, need to scan all files after the comparison, for differential transmission. If the number of files reac
Amazon EC2 servers use Rsync + Inotify for Real-Time Synchronization
Background:
Data Synchronization is required between two Amazon servers. data can be automatically synchronized to other servers as long as one server is transferred.
Install Rsync:
CentOS 6.7 comes with Rsync automatically and does not require installation.
# Instance analysisAssume there are t
Step One: Rsync installation configuration
Installing and using rsync
Installation of 2.1 rsync
Each mirror server (the server that needs to be synchronized) requires the Rsync daemon to be installed.
The general release comes with rsync, so I use the Yum installation di
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
The command window, enter "Services.msc", enter the input method into Chinese character input, hit "rsync", press ENTER to search, left click to select Automatic, restart can2, to this step after the Windows Rsync Server even start to complete!4. The Linux client installs the Rsync tool and executes the following comm
file specifies where filtering is not synchronized, the "Web" module is ysync Name of the server-side definition/usr/local/inotify/bin/inotifywait-mrq--timefmt '%y-%m-%d%h:%m:%s '--format '%T%w%f%e ' \-E Close_write,delete,create,attrib $src | While read filesDoFor I in $hostsDo/USR/BIN/RSYNC-VZRTOPG--exclude-from= $exclude _files--delete--progress--password-file=/etc/client.rsync.pass $ src [email protected] $i:: $moduleExitcode=$?if [$EXITCODE! =
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.