<?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: backup subversion fsfs with rsync</title>
	<atom:link href="http://snarfed.org/backup_subversion_fsfs_with_rsync/feed" rel="self" type="application/rss+xml" />
	<link>http://snarfed.org</link>
	<description>Ryan Barrett&#039;s blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:20:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: mike</title>
		<link>http://snarfed.org/backup_subversion_fsfs_with_rsync#comment-291</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/backup_subversion_fsfs_with_rsync#comment-291</guid>
		<description>&lt;p&gt;You really dont want to do this. You can corrupt your svn database if rsync only gets part of a tranction. A better way is to script backing up the svn repository manually&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You really dont want to do this. You can corrupt your svn database if rsync only gets part of a tranction. A better way is to script backing up the svn repository manually</p>]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://snarfed.org/backup_subversion_fsfs_with_rsync#comment-292</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/backup_subversion_fsfs_with_rsync#comment-292</guid>
		<description>&lt;p&gt;Agreed about the corruption.&#160; I would instead recommend first making a hotcopy of the working repository and then doing an rsync on that.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Agreed about the corruption.&nbsp; I would instead recommend first making a hotcopy of the working repository and then doing an rsync on that.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlberT</title>
		<link>http://snarfed.org/backup_subversion_fsfs_with_rsync#comment-293</link>
		<dc:creator>AlberT</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/backup_subversion_fsfs_with_rsync#comment-293</guid>
		<description>&lt;p&gt;The svn &quot;Note: Backup&quot; section seems to agree with this article ...&lt;br /&gt;
&lt;br /&gt;
the repository will not be corrupted as you don&#039;t copty transictions and copy current before the rest ...&lt;br /&gt;
&lt;br /&gt;
&quot;So, if you are using standard backup tools to make backups of a FSFS
repository, configure the software to copy the &quot;current&quot; file before
the numbered revision files, if possible, and configure it not to copy
the &quot;transactions&quot; directory.&#160; If you can&#039;t do those things, use
&quot;svnadmin hotcopy&quot;, or be prepared to cope with the very occasional
need for repair of the repository upon restoring it from backup.&quot;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The svn &#8220;Note: Backup&#8221; section seems to agree with this article &#8230;<br />
<br />
the repository will not be corrupted as you don&#8217;t copty transictions and copy current before the rest &#8230;<br />
<br />
&#8220;So, if you are using standard backup tools to make backups of a FSFS
repository, configure the software to copy the &#8220;current&#8221; file before
the numbered revision files, if possible, and configure it not to copy
the &#8220;transactions&#8221; directory.&nbsp; If you can&#8217;t do those things, use
&#8220;svnadmin hotcopy&#8221;, or be prepared to cope with the very occasional
need for repair of the repository upon restoring it from backup.&#8221;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jonvel</title>
		<link>http://snarfed.org/backup_subversion_fsfs_with_rsync#comment-294</link>
		<dc:creator>jonvel</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/backup_subversion_fsfs_with_rsync#comment-294</guid>
		<description>&lt;p&gt;I&#039;d like to say that I&#039;ve been using a very similar strategy for backing up my FSFS Svn Repository (going on about 2 GB total data, 4800+ revisions).&#160; I&#039;ve restored this from backup, and it works fine.&#160; No corruption issues that anyone is complaining about, even with a &quot;live&quot; system that I&#039;ve TRIED to corrupt - ie making a large (~1500 files) checkin while the backup was in process.&#160; Yes, when I restored the backup (to a third server), the latest update (the ~1.5k files) wasn&#039;t there, but I expected that to happen.&#160; re-synching after the update, however, did give me the files I was expecting, and the update I expected.&lt;br /&gt;
&lt;br /&gt;
Since my SVN repo is running on a windows machine, I can&#039;t use rsync.&#160; But I CAN use winscp&#039;s scripting capability.&#160; The commands are essentially the same:&lt;br /&gt;
&lt;br /&gt;
=== begin winscp scriptfile ===&lt;br /&gt;
option batch on&lt;br /&gt;
option confirm off&lt;br /&gt;
option transfer binary&lt;br /&gt;
option include current&lt;br /&gt;
synchronize remote c:&#092;mytemprepo /backup/location&lt;br /&gt;
option include clear&lt;br /&gt;
option exclude transactions&lt;br /&gt;
option exclude current&lt;br /&gt;
synchronize remote c:&#092;mytemprepo /backup/location&lt;br /&gt;
exit&lt;br /&gt;
=== end winscp script ===&lt;br /&gt;
called with:&lt;br /&gt;
winscp.com &lt;session_id&gt; /script=winscpscript &gt; logfile&lt;br /&gt;
&lt;br /&gt;
Now a backup takes a whopping &lt; 5 minutes to run (well, the first one was very long).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to say that I&#8217;ve been using a very similar strategy for backing up my FSFS Svn Repository (going on about 2 GB total data, 4800+ revisions).&nbsp; I&#8217;ve restored this from backup, and it works fine.&nbsp; No corruption issues that anyone is complaining about, even with a &#8220;live&#8221; system that I&#8217;ve TRIED to corrupt &#8211; ie making a large (~1500 files) checkin while the backup was in process.&nbsp; Yes, when I restored the backup (to a third server), the latest update (the ~1.5k files) wasn&#8217;t there, but I expected that to happen.&nbsp; re-synching after the update, however, did give me the files I was expecting, and the update I expected.<br />
<br />
Since my SVN repo is running on a windows machine, I can&#8217;t use rsync.&nbsp; But I CAN use winscp&#8217;s scripting capability.&nbsp; The commands are essentially the same:<br />
<br />
=== begin winscp scriptfile ===<br />
option batch on<br />
option confirm off<br />
option transfer binary<br />
option include current<br />
synchronize remote c:&#92;mytemprepo /backup/location<br />
option include clear<br />
option exclude transactions<br />
option exclude current<br />
synchronize remote c:&#92;mytemprepo /backup/location<br />
exit<br />
=== end winscp script ===<br />
called with:<br />
winscp.com &lt;session_id&gt; /script=winscpscript &gt; logfile<br />
<br />
Now a backup takes a whopping &lt; 5 minutes to run (well, the first one was very long).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jonvel</title>
		<link>http://snarfed.org/backup_subversion_fsfs_with_rsync#comment-295</link>
		<dc:creator>jonvel</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/backup_subversion_fsfs_with_rsync#comment-295</guid>
		<description>&lt;p&gt;I&#039;d like to say that I&#039;ve been using a very similar strategy for backing up my FSFS Svn Repository (going on about 2 GB total data, 4800+ revisions).&#160; I&#039;ve restored this from backup, and it works fine.&#160; No corruption issues that anyone is complaining about, even with a &quot;live&quot; system that I&#039;ve TRIED to corrupt - ie making a large (~1500 files) checkin while the backup was in process.&#160; Yes, when I restored the backup (to a third server), the latest update (the ~1.5k files) wasn&#039;t there, but I expected that to happen.&#160; re-synching after the update, however, did give me the files I was expecting, and the update I expected.&lt;br /&gt;
&lt;br /&gt;
Since my SVN repo is running on a windows machine, I can&#039;t use rsync.&#160; But I CAN use winscp&#039;s scripting capability.&#160; The commands are essentially the same:&lt;br /&gt;
&lt;br /&gt;
=== begin winscp scriptfile ===&lt;br /&gt;
option batch on&lt;br /&gt;
option confirm off&lt;br /&gt;
option transfer binary&lt;br /&gt;
option include current&lt;br /&gt;
synchronize remote c:&#092;mytemprepo /backup/location&lt;br /&gt;
option include clear&lt;br /&gt;
option exclude transactions&lt;br /&gt;
option exclude current&lt;br /&gt;
synchronize remote c:&#092;mytemprepo /backup/location&lt;br /&gt;
exit&lt;br /&gt;
=== end winscp script ===&lt;br /&gt;
called with:&lt;br /&gt;
winscp.com &lt;session_id&gt; /script=winscpscript &gt; logfile&lt;br /&gt;
&lt;br /&gt;
Now a backup takes a whopping &lt; 5 minutes to run (well, the first one was very long).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to say that I&#8217;ve been using a very similar strategy for backing up my FSFS Svn Repository (going on about 2 GB total data, 4800+ revisions).&nbsp; I&#8217;ve restored this from backup, and it works fine.&nbsp; No corruption issues that anyone is complaining about, even with a &#8220;live&#8221; system that I&#8217;ve TRIED to corrupt &#8211; ie making a large (~1500 files) checkin while the backup was in process.&nbsp; Yes, when I restored the backup (to a third server), the latest update (the ~1.5k files) wasn&#8217;t there, but I expected that to happen.&nbsp; re-synching after the update, however, did give me the files I was expecting, and the update I expected.<br />
<br />
Since my SVN repo is running on a windows machine, I can&#8217;t use rsync.&nbsp; But I CAN use winscp&#8217;s scripting capability.&nbsp; The commands are essentially the same:<br />
<br />
=== begin winscp scriptfile ===<br />
option batch on<br />
option confirm off<br />
option transfer binary<br />
option include current<br />
synchronize remote c:&#92;mytemprepo /backup/location<br />
option include clear<br />
option exclude transactions<br />
option exclude current<br />
synchronize remote c:&#92;mytemprepo /backup/location<br />
exit<br />
=== end winscp script ===<br />
called with:<br />
winscp.com &lt;session_id&gt; /script=winscpscript &gt; logfile<br />
<br />
Now a backup takes a whopping &lt; 5 minutes to run (well, the first one was very long).</p>]]></content:encoded>
	</item>
</channel>
</rss>

