<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://www.gentoo-zh.org/extern.php?action=feed&amp;tid=556&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Gentoo中文社区 / 数据同步rsync]]></title>
		<link>https://www.gentoo-zh.org/viewtopic.php?id=556</link>
		<description><![CDATA[数据同步rsync 最近发表的帖子。]]></description>
		<lastBuildDate>Sun, 13 Nov 2022 10:14:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[数据同步rsync]]></title>
			<link>https://www.gentoo-zh.org/viewtopic.php?pid=593#p593</link>
			<description><![CDATA[<p>vim /etc/rsyncd.conf</p><p>log file = /var/rsyncd.log<br />pid file = /var/rsyncd.pid<br />lock file = /var/rsyncd.lock<br />secrets file = /etc/rsyncd.passwd<br />motd file = /etc/rsyncd.motd<br />read only = yes<br />hosts allow = 192.3.42.0/24<br />list = yes<br />uid = root<br />gid = root<br />use chroot = no<br />max connections = 30<br />port = 8083<br />[bak]<br />path = /home/ftpdata/datafile<br />comment = datafile<br />auth users = rsync_backup</p><p>[test]<br />path = /home/ftpdata/datafile/test<br />comment = yidong<br />auth users = rsync_backup</p><br /><p>echo &quot;rsync_backup:123456&quot; &gt;&gt; /etc/rsyncd.passwd</p><p>chmod 600 /etc/rsyncd.pass<br />rsync --daemon</p><br /><p>rsync -avz --delete --port=8083 rsync_backup@192.3.42.6::test/ /home/ftpdata/datafile/test --password-file=/home/shell/readfile/rsync.passwd</p>]]></description>
			<author><![CDATA[dummy@example.com (batsom)]]></author>
			<pubDate>Sun, 13 Nov 2022 10:14:50 +0000</pubDate>
			<guid>https://www.gentoo-zh.org/viewtopic.php?pid=593#p593</guid>
		</item>
	</channel>
</rss>
