<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: rsync to remote server via ssh</title>
	<atom:link href="http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/</link>
	<description>PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.</description>
	<lastBuildDate>Fri, 10 Sep 2010 12:20:12 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Burton Haynes</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-84880</link>
		<dc:creator>Burton Haynes</dc:creator>
		<pubDate>Sat, 06 Mar 2010 06:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-84880</guid>
		<description>Thanks for this post, answers a bunch of questions I was having.</description>
		<content:encoded><![CDATA[<p>Thanks for this post, answers a bunch of questions I was having.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-9653</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 19 May 2005 07:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-9653</guid>
		<description>--exclude-cvs considered harmful.

Well, it&#039;s harmed me at least.  Consider the case where you&#039;re editing files on a &#039;remote&#039; machine prior to committing them via a central machine &#039;closer&#039; to the CVS repository(*).

Consider the following: you cvs update, rsync &#039;away&#039; to another machine and do some editing there, cvs update again (whoops), then then rsync &#039;back&#039; (disaster).  You&#039;ve now got &#039;CVS/entries&#039; that say you&#039;ve got the most recent files on the central system, but you&#039;ve actually just rsync&#039;d old versions of the files back.  CVS will think you&#039;re trying to &#039;un-modify&#039; all the files back to where they were when you first CVS updated.

If you always keep the CVS meta files with the files they relate to, that sequence of events will simply result in CVS complaing you have state files.

Trust me.  If you think you can simply just remember where you are and always update/sync in the right order, you&#039;re kidding yourself.  If you&#039;re rsyncing checked-out CVS trees, its far too easy to mess up: blow the cost: sync your CVS meta data!

(*) pserver seems like a solution here, but consider the case where you need to test code on more than one platform *before* committing the code.</description>
		<content:encoded><![CDATA[<p>&#8211;exclude-cvs considered harmful.</p>
<p>Well, it&#8217;s harmed me at least.  Consider the case where you&#8217;re editing files on a &#8216;remote&#8217; machine prior to committing them via a central machine &#8216;closer&#8217; to the CVS repository(*).</p>
<p>Consider the following: you cvs update, rsync &#8216;away&#8217; to another machine and do some editing there, cvs update again (whoops), then then rsync &#8216;back&#8217; (disaster).  You&#8217;ve now got &#8216;CVS/entries&#8217; that say you&#8217;ve got the most recent files on the central system, but you&#8217;ve actually just rsync&#8217;d old versions of the files back.  CVS will think you&#8217;re trying to &#8216;un-modify&#8217; all the files back to where they were when you first CVS updated.</p>
<p>If you always keep the CVS meta files with the files they relate to, that sequence of events will simply result in CVS complaing you have state files.</p>
<p>Trust me.  If you think you can simply just remember where you are and always update/sync in the right order, you&#8217;re kidding yourself.  If you&#8217;re rsyncing checked-out CVS trees, its far too easy to mess up: blow the cost: sync your CVS meta data!</p>
<p>(*) pserver seems like a solution here, but consider the case where you need to test code on more than one platform *before* committing the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JTK - Notes and Ramblings  &#187; Blog Archive   &#187; Jeff Moore%u2019s Blog ï¿½ Blog Archive ï¿½ rsync to remote server via ssh</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-7594</link>
		<dc:creator>JTK - Notes and Ramblings  &#187; Blog Archive   &#187; Jeff Moore%u2019s Blog ï¿½ Blog Archive ï¿½ rsync to remote server via ssh</dc:creator>
		<pubDate>Fri, 01 Apr 2005 15:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-7594</guid>
		<description>[...] 	 			Jeff Moore%u2019s Blog ï¿½ Blog Archive ï¿½ rsync to remote server via ssh 	 			 					Jeff Moore%u2019s Blog ï¿½ Blog Archive ï¿½ rsync to remote server vi [...]</description>
		<content:encoded><![CDATA[<p>[...] 	 			Jeff Moore%u2019s Blog ï¿½ Blog Archive ï¿½ rsync to remote server via ssh 	 			 					Jeff Moore%u2019s Blog ï¿½ Blog Archive ï¿½ rsync to remote server vi [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-7203</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 24 Mar 2005 23:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-7203</guid>
		<description>From the root of my project, I use:
rsync -avzu --exclude-from=rsync-exclude.txt * host:`pwd`

from my development server to the live server where the paths are the same.

I list a bunch of files in rsync-exclude.txt like images used only in production, files like CHANGELOG, etc. This file gets added to my CVS repository with each project.

I don&#039;t use the --cvs-exclude because i tag my project before a release/upload and `cvs export -r TAGNAME project` so you won&#039;t have CVS/ directories, etc.

The -n option is great and I encourage you use it before running it without. It will print you a list of all the files it wants to upload, allowing you to double check that you are about to upload anything by accident.</description>
		<content:encoded><![CDATA[<p>From the root of my project, I use:<br />
rsync -avzu &#8211;exclude-from=rsync-exclude.txt * host:`pwd`</p>
<p>from my development server to the live server where the paths are the same.</p>
<p>I list a bunch of files in rsync-exclude.txt like images used only in production, files like CHANGELOG, etc. This file gets added to my CVS repository with each project.</p>
<p>I don&#8217;t use the &#8211;cvs-exclude because i tag my project before a release/upload and `cvs export -r TAGNAME project` so you won&#8217;t have CVS/ directories, etc.</p>
<p>The -n option is great and I encourage you use it before running it without. It will print you a list of all the files it wants to upload, allowing you to double check that you are about to upload anything by accident.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Moore&#8217;s Blog  &#187; Blog Archive   &#187; Knocked off the internet, a story of Windows and Macintosh</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-6470</link>
		<dc:creator>Jeff Moore&#8217;s Blog  &#187; Blog Archive   &#187; Knocked off the internet, a story of Windows and Macintosh</dc:creator>
		<pubDate>Tue, 15 Mar 2005 16:41:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-6470</guid>
		<description>[...] ter now, but I still decided that I didn&#039;t want to try that route.  Besides, I just got my automated deployment scripts working on the Mac. 	So Monday morni [...]</description>
		<content:encoded><![CDATA[<p>[...] ter now, but I still decided that I didn&#8217;t want to try that route.  Besides, I just got my automated deployment scripts working on the Mac. 	So Monday morni [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Lovett</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5486</link>
		<dc:creator>Bill Lovett</dc:creator>
		<pubDate>Wed, 02 Mar 2005 03:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5486</guid>
		<description>Look into Unison. It&#039;s like rsync, but works in both directions.

http://www.cis.upenn.edu/~bcpierce/unison/

</description>
		<content:encoded><![CDATA[<p>Look into Unison. It&#8217;s like rsync, but works in both directions.</p>
<p><a href="http://www.cis.upenn.edu/~bcpierce/unison/" rel="nofollow">http://www.cis.upenn.edu/~bcpierce/unison/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sencer</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5482</link>
		<dc:creator>Sencer</dc:creator>
		<pubDate>Wed, 02 Mar 2005 02:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5482</guid>
		<description>Take a look at Unison:
http://www.cis.upenn.edu/~bcpierce/unison/

It&#039;s for synchronizing and also implements the rsync-algo for efficient bandwidth usage. </description>
		<content:encoded><![CDATA[<p>Take a look at Unison:<br />
<a href="http://www.cis.upenn.edu/~bcpierce/unison/" rel="nofollow">http://www.cis.upenn.edu/~bcpierce/unison/</a></p>
<p>It&#8217;s for synchronizing and also implements the rsync-algo for efficient bandwidth usage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John McAdams</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5479</link>
		<dc:creator>John McAdams</dc:creator>
		<pubDate>Wed, 02 Mar 2005 02:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5479</guid>
		<description>rsync goes up and down. To sync from remote to local just reverse the source and destination.

Try this link for a nice shell script and a modified version of rsync that can handle HFS+ resource forks. .</description>
		<content:encoded><![CDATA[<p>rsync goes up and down. To sync from remote to local just reverse the source and destination.</p>
<p>Try this link for a nice shell script and a modified version of rsync that can handle HFS+ resource forks. .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wez</title>
		<link>http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5454</link>
		<dc:creator>Wez</dc:creator>
		<pubDate>Tue, 01 Mar 2005 23:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.procata.com/blog/archives/2005/03/01/rsync-to-remote-server-via-ssh/#comment-5454</guid>
		<description>rsync works both ways; pushing and pulling data.</description>
		<content:encoded><![CDATA[<p>rsync works both ways; pushing and pulling data.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
