<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>physical-to-vm &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/physical-to-vm/</link>
	<description>Feed of posts on WordPress.com tagged "physical-to-vm"</description>
	<pubDate>Thu, 23 May 2013 03:01:36 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Backup Whole System via Network.]]></title>
<link>http://hardc0l2e.wordpress.com/2010/07/13/backup-whole-system-via-network/</link>
<pubDate>Tue, 13 Jul 2010 08:23:48 +0000</pubDate>
<dc:creator>hardc0l2e</dc:creator>
<guid>http://hardc0l2e.wordpress.com/2010/07/13/backup-whole-system-via-network/</guid>
<description><![CDATA[You could easily perform a full backup or even store a system into a raw image which can be used in]]></description>
<content:encoded><![CDATA[<p>You could easily perform a full backup or even store a system into a raw image which can be used in as guest machine in KVM. This takes couples of hours (depends on the size of the source linux system).</p>
<p>Here&#8217;s how:</p>
<ol>
<li>From the target machine, you can either boot via a LiveCD or a rescue linux distro such as <a href="http://www.sysresccd.org">SystemRescueCD</a> and via the console, check if it can detect your currently attached storage device.
<pre><strong><span style="color:#800000;">#&#62; fdisk -l</span></strong></pre>
</li>
<li>If it sees your hard drive  you can now perform the  arbitrary TCP/UDP connections and listens to port 12345.
<pre><span style="color:#800000;"><strong>#&#62; nc -l 12345 &#124; dd of=/dev/sda</strong></span></pre>
</li>
<li>In the source machine, you can know execute the command:
<pre><span style="color:#800000;"><strong>#&#62; dd if=/dev/sda &#124; nc 192.168.1.20 12345</strong></span></pre>
</li>
<li>Take note of the &#60;port&#62; 12345  and the &#60;target IP&#62; 192.168.1.20 I used in the example.</li>
<li>You can also store the dump in a raw image using this command:
<pre><strong><span style="color:#800000;">#&#62; nc -l 12345 &#124; dd of=myimage.img</span></strong></pre>
</li>
<li>Done.</li>
</ol>
]]></content:encoded>
</item>

</channel>
</rss>
