<?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: Packing and copying Data.fs from production server for local development</title>
	<atom:link href="http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Mon, 19 Sep 2011 19:02:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mikko Ohtamaa</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1690</link>
		<dc:creator>Mikko Ohtamaa</dc:creator>
		<pubDate>Mon, 09 Nov 2009 09:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1690</guid>
		<description>/tmp/packer/bin/easy_install ZODB=3.8.3

should be

/tmp/packer/bin/easy_install ZODB3==3.8.3</description>
		<content:encoded><![CDATA[<p>/tmp/packer/bin/easy_install ZODB=3.8.3</p>
<p>should be</p>
<p>/tmp/packer/bin/easy_install ZODB3==3.8.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko Ohtamaa</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1689</link>
		<dc:creator>Mikko Ohtamaa</dc:creator>
		<pubDate>Mon, 09 Nov 2009 09:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1689</guid>
		<description>/tmp/packer/bin/easy_install ZODB=3.8.3

should be

/tmp/packer/bin/easy_install ZODB==3.8.3</description>
		<content:encoded><![CDATA[<p>/tmp/packer/bin/easy_install ZODB=3.8.3</p>
<p>should be</p>
<p>/tmp/packer/bin/easy_install ZODB==3.8.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan Jay</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1039</link>
		<dc:creator>Dylan Jay</dc:creator>
		<pubDate>Thu, 17 Sep 2009 06:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1039</guid>
		<description>Even better challenge. Get those ssh snippets into a fabfile, and put it into a collective.hostout.filestorage recipe the following would work.

[host1]
recipe=collective.hostout
host=myhost.com
path=/remotepath
extends=hostfs

[hostfs]
recipe=collective.hostout.filestorage

Once added to your local buildout you can then run

$ bin/hostout pullfs hostfs
$ bin/hostout pushfs hostfs

The hostout plugins are new but there should be enough there to do this

http://pypi.python.org/pypi/collective.hostout</description>
		<content:encoded><![CDATA[<p>Even better challenge. Get those ssh snippets into a fabfile, and put it into a collective.hostout.filestorage recipe the following would work.</p>
<p>[host1]<br />
recipe=collective.hostout<br />
host=myhost.com<br />
path=/remotepath<br />
extends=hostfs</p>
<p>[hostfs]<br />
recipe=collective.hostout.filestorage</p>
<p>Once added to your local buildout you can then run</p>
<p>$ bin/hostout pullfs hostfs<br />
$ bin/hostout pushfs hostfs</p>
<p>The hostout plugins are new but there should be enough there to do this</p>
<p><a href="http://pypi.python.org/pypi/collective.hostout" rel="nofollow">http://pypi.python.org/pypi/collective.hostout</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Clark</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1018</link>
		<dc:creator>Alex Clark</dc:creator>
		<pubDate>Thu, 03 Sep 2009 10:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1018</guid>
		<description>Once you pack your db, there is: http://pypi.python.org/pypi/collective.recipe.rsync_datafs/0.1 which lets you do (in UNIX, with rsync in your PATH only):

[buildout]
parts = database

[database]
source = remotehost:/path/to/packed/Data.fs
target = ${buildout:directory}/var/filestorage

I find using this recipe makes it easy to grab a remote Data.fs to develop with locally.</description>
		<content:encoded><![CDATA[<p>Once you pack your db, there is: <a href="http://pypi.python.org/pypi/collective.recipe.rsync_datafs/0.1" rel="nofollow">http://pypi.python.org/pypi/collective.recipe.rsync_datafs/0.1</a> which lets you do (in UNIX, with rsync in your PATH only):</p>
<p>[buildout]<br />
parts = database</p>
<p>[database]<br />
source = remotehost:/path/to/packed/Data.fs<br />
target = ${buildout:directory}/var/filestorage</p>
<p>I find using this recipe makes it easy to grab a remote Data.fs to develop with locally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Zeidler</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1012</link>
		<dc:creator>Andreas Zeidler</dc:creator>
		<pubDate>Thu, 03 Sep 2009 00:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1012</guid>
		<description>eek, that should have been:

  $ ssh plone@server bin/packer &gt; Data.fs

of course...  /me too sleepy again :)</description>
		<content:encoded><![CDATA[<p>eek, that should have been:</p>
<p>  $ ssh plone@server bin/packer &gt; Data.fs</p>
<p>of course&#8230;  /me too sleepy again <img src='http://blog.mfabrik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Zeidler</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1011</link>
		<dc:creator>Andreas Zeidler</dc:creator>
		<pubDate>Wed, 02 Sep 2009 23:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1011</guid>
		<description>mikko,

yep, that was actually my &quot;goal&quot; when i put together that buildout snippet.  unfortunately, though, `fsrecover` needs to be given a proper file name, i.e. writing things to stdout directly doesn&#039;t work.  at least not ootb.

otherwise you could of course simply use something like:

  $ rsync -az plone@server:~/bin/packer &gt; Data.fs</description>
		<content:encoded><![CDATA[<p>mikko,</p>
<p>yep, that was actually my &#8220;goal&#8221; when i put together that buildout snippet.  unfortunately, though, `fsrecover` needs to be given a proper file name, i.e. writing things to stdout directly doesn&#8217;t work.  at least not ootb.</p>
<p>otherwise you could of course simply use something like:</p>
<p>  $ rsync -az plone@server:~/bin/packer &gt; Data.fs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hamilton</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1008</link>
		<dc:creator>Matt Hamilton</dc:creator>
		<pubDate>Wed, 02 Sep 2009 09:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1008</guid>
		<description>Andi,
  Great! :) The power of buildout and some knowledge ;)

-Matt</description>
		<content:encoded><![CDATA[<p>Andi,<br />
  Great! <img src='http://blog.mfabrik.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The power of buildout and some knowledge <img src='http://blog.mfabrik.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko Ohtamaa</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1007</link>
		<dc:creator>Mikko Ohtamaa</dc:creator>
		<pubDate>Wed, 02 Sep 2009 09:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1007</guid>
		<description>How about this: doing the whole repoze packing and copying using one or two SSH commands without the need to login to the server shell?</description>
		<content:encoded><![CDATA[<p>How about this: doing the whole repoze packing and copying using one or two SSH commands without the need to login to the server shell?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Page</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1004</link>
		<dc:creator>Barry Page</dc:creator>
		<pubDate>Wed, 02 Sep 2009 02:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1004</guid>
		<description>I use repozo.py to back up so I have the full version and deltas shipped remotely each night. Then I can recover the Data.fs again using repozo and use that copy for testing (and verify my backups at the same time). In practise you need to either do a full repozo back every few days or do a pack which forces a full repozo backup the next time. I do the latter.</description>
		<content:encoded><![CDATA[<p>I use repozo.py to back up so I have the full version and deltas shipped remotely each night. Then I can recover the Data.fs again using repozo and use that copy for testing (and verify my backups at the same time). In practise you need to either do a full repozo back every few days or do a pack which forces a full repozo backup the next time. I do the latter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Zeidler</title>
		<link>http://blog.mfabrik.com/2009/09/01/packing-and-copying-data-fs-from-production-server-for-local-development/comment-page-1/#comment-1003</link>
		<dc:creator>Andreas Zeidler</dc:creator>
		<pubDate>Tue, 01 Sep 2009 22:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.twinapex.fi/?p=267#comment-1003</guid>
		<description>heh, it seems anything that looks like html is filtered here — the command invokation was meant to have an extra parameter, like so:

  $ bin/packer path/to/packed/Data.fs

this will save a packed version of you current `Data.fs` into the given file...</description>
		<content:encoded><![CDATA[<p>heh, it seems anything that looks like html is filtered here — the command invokation was meant to have an extra parameter, like so:</p>
<p>  $ bin/packer path/to/packed/Data.fs</p>
<p>this will save a packed version of you current `Data.fs` into the given file&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

