<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; Rsync</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/rsync/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下Rsync+sersync实现数据实时同步</title>
		<link>https://www.osyunwei.com/archives/7447.html</link>
		<comments>https://www.osyunwei.com/archives/7447.html#comments</comments>
		<pubDate>Tue, 11 Mar 2014 02:27:02 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Inotify]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Rsync]]></category>
		<category><![CDATA[sersync]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=7447</guid>
		<description><![CDATA[前言： 一、为什么要用Rsync+sersync架构? 1、sersync是基于Inotify开发的，类似于Inotify-tools的工具 2、sersync可以记录下被监听目录中发生变化的（包括增加、删除、修改）具体某一个文件或某一个目录的名字，然后使用rsync同步的时候，只同步发生变化的这个文件或者这个目录。 二、Rsync+Inotify-tools与Rsync+sersync这两种架构有什么区别？ 1、Rsync+Inotify-tools （1）：Inotify-tools只能记录下被监听的目录发生了变化（包括增加、删除、修改），并没有把具体是哪个文件或者哪个目录发生了变化记录下来； （2）：rsync在同步的时候，并不知道具体是哪个文件或者哪个目录发生了变化，每次都是对整个目录进行同步，当数据量很大时，整个目录同步非常耗时（rsync要对整个目录遍历查找对比文件），因此，效率很低。 2、Rsync+sersync （1）：sersync可以记录下被监听目录中发生变化的（包括增加、删除、修改）具体某一个文件或某一个目录的名字； （2）：rsync在同步的时候，只同步发生变化的这个文件或者这个目录（每次发生变化的数据相对整个同步目录数据来说是很小的，rsync在遍历查找比对文件时，速度很快），因此，效率很高。 小结：当同步的目录数据量不大时，建议使用Rsync+Inotify-tools；当数据量很大（几百G甚至1T以上）、文件很多时，建议使用Rsync+sersync。 说明： 操作系统：CentOS 5.X 源服务器：192.168.21.129 目标服务器：192.168.21.127，192.168.21.128 目的：把源服务器上/home/www.osyunwei.com目录实时同步到目标服务器的/home/www.osyunwei.com下 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容 版权所有,转载请注明出处及原文链接 具体操作： 第一部分：分别在两台目标服务器192.168.21.127，192.168.21.128上操作 一、分别在两台在目标服务器安装Rsync服务端 1、关闭SELINUX vi /etc/selinux/config #编辑防火墙配置文件 #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存，退出 setenforce 0 #立即生效 2、开启防火墙tcp 873端口（Rsync默认端口） vi /etc/sysconfig/iptables #编辑防火墙配置文件 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/7447.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/7447.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux下Rsync+Inotify-tools实现数据实时同步</title>
		<link>https://www.osyunwei.com/archives/7435.html</link>
		<comments>https://www.osyunwei.com/archives/7435.html#comments</comments>
		<pubDate>Fri, 07 Mar 2014 06:51:51 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Inotify]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Rsync]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=7435</guid>
		<description><![CDATA[说明： 操作系统：CentOS 5.X 源服务器：192.168.21.129 目标服务器：192.168.21.127，192.168.21.128 目的：把源服务器上/home/www.osyunwei.com目录实时同步到目标服务器的/home/www.osyunwei.com下 具体操作： 第一部分：分别在两台目标服务器192.168.21.127，192.168.21.128上操作 一、分别在两台在目标服务器安装Rsync服务端 1、关闭SELINUX vi /etc/selinux/config #编辑防火墙配置文件 #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存，退出 setenforce 0  #立即生效 2、开启防火墙tcp 873端口（Rsync默认端口） vi /etc/sysconfig/iptables #编辑防火墙配置文件 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 873 -j ACCEPT :wq! #保存，退出 /etc/init.d/iptables restart #最后重启防火墙使配置生效 3、安装Rsync服务端软件 yum install rsync xinetd #安装 vi [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/7435.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/7435.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CentOS 6.3 Rsync服务端与Debian 6.0.5 Rsync客户端实现数据同步</title>
		<link>https://www.osyunwei.com/archives/4835.html</link>
		<comments>https://www.osyunwei.com/archives/4835.html#comments</comments>
		<pubDate>Mon, 16 Jul 2012 09:33:26 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Rsync]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[数据同步]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=4835</guid>
		<description><![CDATA[说明： 1、Rsync服务端 系统：CentOS 6.3 IP地址：192.168.21.132 数据存放目录：/data/osyunwei 2、Rsync客户端 系统：Debian 6.0.5 IP地址：192.168.21.144 同步的目录：/data/osyunwei 实现目的： Rsync客户端每天凌晨3:00自动同步Rsync服务端/data/osyunwei目录中的数据到自己的/data/osyunwei目录 一、Rsync服务端配置 1、关闭SELINUX vi /etc/selinux/config #编辑防火墙配置文件 #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存，关闭 shutdown -r now #重启系统 2、开启防火墙tcp 873端口（Rsync默认端口） vi /etc/sysconfig/iptables #编辑防火墙配置文件 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 873 -j ACCEPT :wq! #保存 /etc/init.d/iptables restart #最后重启防火墙使配置生效 3、安装Rsync服务端软件 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/4835.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/4835.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6.3 Rsync客户端与Windows Server 2003 cwRsyncServer服务端实现数据同步</title>
		<link>https://www.osyunwei.com/archives/4788.html</link>
		<comments>https://www.osyunwei.com/archives/4788.html#comments</comments>
		<pubDate>Thu, 12 Jul 2012 14:25:39 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Rsync]]></category>
		<category><![CDATA[CentOS Rsync]]></category>
		<category><![CDATA[Windows Server cwRsyncServer]]></category>
		<category><![CDATA[数据同步]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=4788</guid>
		<description><![CDATA[说明： 1、cwRsyncServer服务端 系统：Windows Server 2003 IP地址：192.168.21.134 数据存放目录：D:\osyunwei 2、Rsync客户端 系统：CentOS 6.3 IP地址：192.168.21.132 同步的目录：/osyunwei 实现目的： Rsync客户端每天凌晨3:00自动同步cwRsyncServer服务端D:\osyunwei目录中的数到/osyunwei目录 一、cwRsyncServer服务端配置 附件： cwRsyncServer下载地址： http://jaist.dl.sourceforge.net/project/sereds/cwRsync/4.0.3/cwRsyncServer_4.0.3_Installer.zip 解压cwRsyncServer_4.0.3_Installer.zip，双击cwRsyncServer_4.0.3_Installer.exe 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 Next I Agre（同意） 安装路径，默认即可 Next Service account：SvcCWRSYNC    （新建的一个系统账户） Type password：密码 Confirm password：密码 备注：系统会自动创建一个账户：SvcCWRSYNC来运行cwRsyncServer服务端程序 以上信息默认即可 Install （安装） Close（关闭），安装完成 开始-设置-控制面板-管理工具-服务 找到RsyncSever选项，双击打开 启动类型：自动 点“启动” 应用-确定 打开D盘，右键单击osyunwei文件夹，选择属性，切换到安全选项，点添加 输入：SvcCWRSYNC 确定 允许所有权限 应用，确定 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 打开C:\Program Files\ICW目录 用记事本打开rsyncd.conf，修改添加以下内容（修改之前先备份文件为rsyncd.confbak） [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/4788.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/4788.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS Rsync服务端与Windows cwRsync客户端实现数据同步</title>
		<link>https://www.osyunwei.com/archives/3769.html</link>
		<comments>https://www.osyunwei.com/archives/3769.html#comments</comments>
		<pubDate>Sun, 06 May 2012 05:24:34 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Rsync]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cwRsync]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3769</guid>
		<description><![CDATA[说明： 1、Rsync服务端 系统：CentOS 5.5 IP地址：192.168.21.160 数据存放目录：/data/osyunwei 2、cwRsync客户端 系统：Windows Server 2003 IP地址：192.168.21.130 同步的目录：D:\osyunwei 实现目的： cwRsync客户端每天凌晨3:00钟自动同步Rsync服务端/data/osyunwei目录中的数据到D:\osyunwei目录 一、Rsync服务端配置 1、关闭SELINUX vi /etc/selinux/config #编辑防火墙配置文件 #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq #保存，关闭 shutdown -r now #重启系统 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 2、开启防火墙tcp 873端口（Rsync默认端口） vi /etc/sysconfig/iptables #编辑防火墙配置文件 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 873 -j ACCEPT :wq! #保存 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3769.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3769.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
