<?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>Solutions Log &#187; netcat</title> <atom:link href="http://solutions.unixsherpa.com/tag/netcat/feed/" rel="self" type="application/rss+xml" /><link>http://solutions.unixsherpa.com</link> <description>by Dan Reiland</description> <lastBuildDate>Tue, 05 Apr 2011 16:42:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Remote Mirroring Using nc and dd</title><link>http://solutions.unixsherpa.com/2009/08/10/remote-mirroring-using-nc-and-dd/</link> <comments>http://solutions.unixsherpa.com/2009/08/10/remote-mirroring-using-nc-and-dd/#comments</comments> <pubDate>Mon, 10 Aug 2009 16:58:06 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[netcat]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=160</guid> <description><![CDATA[You can use the dd and nc commands for exact disk mirroring from one server to another. The following commands send data from Server1 to Server2: 12Server2# nc -l 12345 &#124; dd of=/dev/sdb Server1# dd if=/dev/sda &#124; nc server2 12345 Make sure that you issue Server2's command first so that it's listening on port 12345 [...]]]></description> <content:encoded><![CDATA[<p>You can use the dd and nc commands for exact disk mirroring from one server to another. The following commands send data from Server1 to Server2:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table
cellspacing="0" cellpadding="0"><tbody><tr><td
style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br
/>2<br
/></div></td><td><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Server2# nc -l 12345 | dd of=/dev/sdb<br
/> Server1# dd if=/dev/sda | nc server2 12345</div></td></tr></tbody></table></div><p>Make sure that you issue Server2's command first so that it's listening on port 12345 when Server1 starts sending its data.</p><p>Unless you're sure that the disk is not being modified, it's better to boot Server1 from a RescueCD or LiveCD to do the copy.</p><p>Reference: <a
href="http://www.linuxjournal.com/content/tech-tip-remote-mirroring-using-nc-and-dd">http://www.linuxjournal.com/content/tech-tip-remote-mirroring-using-nc-and-dd</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/08/10/remote-mirroring-using-nc-and-dd/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/8 queries in 0.001 seconds using memcached
Object Caching 388/388 objects using memcached
Content Delivery Network via Amazon Web Services: S3: unixsherpa-solutions.s3.amazonaws.com

Served from: solutions.unixsherpa.com @ 2012-02-06 14:56:47 -->
